Renesas RL78/L12 User manual

All information contained in these materials, including products and product specifications, represents
information on the product at the time of publication and is subject to change by Renesas Electronics
Corporation without notice. Please review the latest information published by Renesas Electronics
Corporation through various means, including the Renesas Electronics Corporation website
(http://www.renesas.com).
RL78/L12 Group
R
enesas Starter Kit User’s Manual
For CubeSuite+
Rev. 1.00 Jan 2013
32
RENESAS MCU
RL78
Family / L1X Series
16
User’s Manual

Notice
1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the
operation of semiconductor products and application examples. You are fully responsible for the incorporation of these
circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for
any losses incurred by you or third parties arising from the use of these circuits, software, or information.
2. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas
Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever
for any damages incurred by you resulting from errors in or omissions from the information included herein.
3. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property
rights of third parties by or arising from the use of Renesas Electronics products or technical information described in
this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other
intellectual property rights of Renesas Electronics or others.
4. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or
in part. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such
alteration, modification, copy or otherwise misappropriation of Renesas Electronics product.
5. Renesas Electronics products are classified according to the following two quality grades: “Standard” and “High
Quality”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade,
as indicated below.
“Standard”: Computers; office equipment; communications equipment; test and measurement equipment; audio
and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial
robots etc.
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster
systems; anticrime systems; and safety equipment etc.
Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a
direct threat to human life or bodily injury (artificial life support devices or systems, surgical implantations etc.), or may
cause serious property damages (nuclear reactor control systems, military equipment etc.). You must check the quality
grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas
Electronics product for any application for which it is not intended. Renesas Electronics shall not be in any way liable
for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for
which the product is not intended by Renesas Electronics.
6. You should use the Renesas Electronics products described in this document within the range specified by Renesas
Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage
range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no
liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified
ranges.
7. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products
have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use
conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to
implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire
in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including
but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or
any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please
evaluate the safety of the final products or systems manufactured by you.
8. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all
applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation,
the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your
noncompliance with applicable laws and regulations.
9. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose
manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. You should not
use Renesas Electronics products or technology described in this document for any purpose relating to military
applications or use by the military, including but not limited to the development of weapons of mass destruction. When
exporting the Renesas Electronics products or technology described in this document, you should comply with the
applicable export control laws and regulations and follow the procedures required by such laws and regulations.
10. It is the responsibility of the buyer or distributor of Renesas Electronics products, who distributes, disposes of, or
otherwise places the product with a third party, to notify such third party in advance of the contents and conditions set
forth in this document, Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as
a result of unauthorized use of Renesas Electronics products.
11. This document may not be reproduced or duplicated in any form, in whole or in part, without prior written consent of
Renesas Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this
document or Renesas Electronics products, or if you have any other inquiries.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its
majority owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
(2012.4)

Disclaimer
By using this Renesas Starter Kit (RSK), the user accepts the following terms:
The RSK is not guaranteed to be error free, and the entire risk as to the results and performance of the RSK is
assumed by the User. The RSK is provided by Renesas on an “as is” basis without warranty of any kind whether
express or implied, including but not limited to the implied warranties of satisfactory quality, fitness for a particular
purpose, title and non-infringement of intellectual property rights with regard to the RSK. Renesas expressly
disclaims all such warranties. Renesas or its affiliates shall in no event be liable for any loss of profit, loss of data,
loss of contract, loss of business, damage to reputation or goodwill, any economic loss, any reprogramming or recall
costs (whether the foregoing losses are direct or indirect) nor shall Renesas or its affiliates be liable for any other
direct or indirect special, incidental or consequential damages arising out of or in relation to the use of this RSK, even
if Renesas or its affiliates have been advised of the possibility of such damages.
Precautions
The following precautions should be observed when operating any RSK product:
This Renesas Starter Kit is only intended for use in a laboratory environment under ambient temperature and humidity
conditions. A safe separation distance should be used between this and any sensitive equipment. Its use outside the
laboratory, classroom, study area or similar such area invalidates conformity with the protection requirements of the
Electromagnetic Compatibility Directive and could lead to prosecution.
The product generates, uses, and can radiate radio frequency energy and may cause harmful interference to radio
communications. However, there is no guarantee that interference will not occur in a particular installation. If this
equipment causes harmful interference to radio or television reception, which can be determined by turning the
equipment off or on, you are encouraged to try to correct the interference by one or more of the following measures;
•ensure attached cables do not lie across the equipment
•reorient the receiving antenna
•increase the distance between the equipment and the receiver
•connect the equipment into an outlet on a circuit different from that which the receiver is connected
•power down the equipment when not in use
•consult the dealer or an experienced radio/TV technician for help NOTE: It is recommended that wherever
possible shielded interface cables are used.
The product is potentially susceptible to certain EMC phenomena. To mitigate against them it is recommended that the
following measures be undertaken;
•The user is advised that mobile phones should not be used within 10m of the product when in use.
•The user is advised to take ESD precautions when handling the equipment.
The Renesas Starter Kit does not represent an ideal reference design for an end product and does not fulfil the
regulatory standards for an end product.

How to Use This Manual
1. Purpose and Target Readers
This manual is designed to provide the user with an understanding of the RSK hardware functionality, and
electrical characteristics. It is intended for users designing sample code on the RSK platform, using the many
different incorporated peripheral devices.
The manual comprises of an overview of the capabilities of the RSK product, but does not intend to be a guide
to embedded programming or hardware design. Further details regarding setting up the RSK and
development environment can found in the tutorial manual.
Particular attention should be paid to the precautionary notes when using the manual. These notes occur within the body
of the text, at the end of each section, and in the Usage Notes section.
The revision history summarizes the locations of revisions and additions. It does not list all revisions. Refer to the text of
the manual for details.
The following documents apply to the RL78/L12 Group. Make sure to refer to the latest versions of these
documents. The newest versions of the documents listed may be obtained from the Renesas Electronics Web
site.
Document Type Description Document Title Document No.
User’s Manual Describes the technical details of the RSK hardware. RSKRL78L12
User’s Manual R20UT0922EG
Tutorial
Provides a guide to setting up RSK environment,
running sample code and debugging programs.
RSKRL78L12
Tutorial Manual
R20UT0923EG
Quick Start Guide Provides simple instructions to setup the RSK and
run the first sample, on a single A4 sheet. RSKRL78L12 Quick
Start Guide R20UT0924EG
Schematics Full detail circuit schematics of the RSK. RSKRL78L12
Schematics R20UT0921EG
Hardware Manual Provides technical details of the RL78/L12
microcontroller. RL78/L12 Group
Hardware Manual R01UH0330EJ

2. List of Abbreviations and Acronyms
Abbreviation
Full Form
ADC
Analog-to-Digital Converter
bps
bits per second
CPU
Central Processing Unit
CRC
Cyclic Redundancy Check
DTC
Data Transfer Controller
E1
On-chip Debugger
ELC
Event Link Controller
EMC
Electromagnetic Compatibility
ESD
Electrostatic Discharge
IIC
Philips™ Inter-Integrated Circuit Connection Bus
IRQ
Interrupt Request
LCD
Liquid Crystal Display
LED
Light Emitting Diode
MCU
Micro-controller Unit
PC
Personal Computer
PWM
Pulse Width Modulation
RSK
Renesas Starter Kit
SAU
Serial Array Unit
SFR
Special Function Register
UART
Universal Asynchronous Receiver/Transmitter
USB
Universal Serial Bus

Table of Contents
1. Overview............................................................................................................................7
1.1 Purpose......................................................................................................................................................7
1.2 Features.....................................................................................................................................................7
2. Power Supply ....................................................................................................................8
2.1 Requirements.............................................................................................................................................8
2.2 Power-Up Behaviour..................................................................................................................................8
3. Board Layout.....................................................................................................................9
3.1 Component Layout.....................................................................................................................................9
3.2 Board Dimensions....................................................................................................................................10
3.3 Component Placement ............................................................................................................................11
4. Connectivity.....................................................................................................................12
4.1 Internal RSK Connections........................................................................................................................12
4.2 Debugger Connections............................................................................................................................13
5. User Circuitry...................................................................................................................14
5.1 Reset Circuit ............................................................................................................................................14
5.2 Clock Circuit.............................................................................................................................................14
5.3Switches...................................................................................................................................................14
5.4 LEDs ........................................................................................................................................................15
5.5 Potentiometer...........................................................................................................................................15
5.6 LCD Panel................................................................................................................................................16
5.7 Debug LCD Module .................................................................................................................................17
5.8 RS232 Serial Port....................................................................................................................................18
6. Configuration...................................................................................................................19
6.1 Modifying the RSK ...................................................................................................................................19
6.2 ADC Configuration...................................................................................................................................19
6.3 E1 Debugger Interface.............................................................................................................................20
6.4 RS232 Serial Port Configuration..............................................................................................................21
6.5 IRQ & General I/O Pin Configuration.......................................................................................................22
6.6 User Switch Configuration .......................................................................................................................23
6.7 LED Configuration....................................................................................................................................23
6.8 Power Supply Configuration ....................................................................................................................24
6.9 Clock Configuration..................................................................................................................................25
6.10 LCD Panel Configuration.........................................................................................................................26
7. Headers...........................................................................................................................28
7.1 Application Headers.................................................................................................................................28
7.2 Microcontroller Pin Headers ....................................................................................................................31
8. Code Development..........................................................................................................35
8.1 Overview..................................................................................................................................................35
8.2 Compiler Restrictions...............................................................................................................................35
8.3 Mode Support ..........................................................................................................................................35
8.4 Debugging Support..................................................................................................................................35
8.5 Address Space.........................................................................................................................................36
9. Additional Information......................................................................................................37

RSKRL78L12 R20UT0922EG0100
Rev. 1.00
RENESAS STARTER KIT Jan 15, 2013
R20UT0922EG0100 Rev. 1.00 Page 7 of 41
Jan 15, 2013
1. Overview
1.1 Purpose
This RSK is an evaluation tool for Renesas microcontrollers. This manual describes the technical details of the
RSK hardware. The Quick Start Guide and Tutorial Manual provide details of the software installation and
debugging environment.
1.2 Features
This RSK provides an evaluation of the following features:
•Renesas microcontroller programming
•User code debugging
•User circuitry such as switches, LEDs and a potentiometer
•Sample application
•Sample peripheral device initialisation code
The RSK board contains all the circuitry required for microcontroller operation.

RSKRL78L12 2. Power Supply
R20UT0922EG0100 Rev. 1.00 Page 8 of 41
Jan 15, 2013
2. Power Supply
2.1 Requirements
This RSK is supplied with an E1 debugger. The debugger is able to power the RSK board with up to 200mA.
When the RSK is connected to another system then that system should supply power to the RSK. This board
has an optional centre positive supply connector using a 2.0mm barrel power jack.
Details of the external power supply requirements for the RSK, and configuration options are shown in Table
2-1 below.
J5 Setting J6 Setting Supply Source Supply Input Voltages Regulator IC Output
Pin1-2 shorted shorted / open E1 5V / 3.3V None
Pin1-2 shorted
shorted / open
PWR connector
5V
None
Pin2-3 shorted open 5V 3.3V
Pin2-3 shorted
Pin1-2 shorted
5V
1.8V
Pin2-3 shorted Pin2-3 shorted 5V 1.62V
Table 2-1: Main Power Supply Requirements
2.2 Power-Up Behaviour
When the RSK is purchased, the RSK board has the ‘Release’ or stand-alone code from the example tutorial
software pre-programmed into the Renesas microcontroller. On powering up the board the LCD panel
segments will start to flash. After 200 flashes or after pressing any switch, the text on the display will change
and the heart symbol will begin to flash at a rate controlled by the potentiometer.
The main power supply connected to PWR1 should supply a minimum of 5W to ensure full functionality.

RSKRL78L12 3. Board Layout
R20UT0922EG0100 Rev. 1.00 Page 9 of 41
Jan 15, 2013
3. Board Layout
3.1 Component Layout
Figure 3-1 below shows the top component layout of the board.
RL78L12
JA5
J4
J3
Application Headers Potentiometer User Switches
E1 Interface
User LEDs
Reset Switch
Power Jack
RS232 SerialApplication Headers
JA2
JA1
JA6
J2
J1
Power LED
Debug LCD
connector
JA4 (LCD Panel Connector)
Figure 3-1: Board Layout

RSKRL78L12 3. Board Layout
R20UT0922EG0100 Rev. 1.00 Page 10 of 41
Jan 15, 2013
3.2 Board Dimensions
Figure 3-2 below gives the board dimensions and connector positions. All the through-hole connectors are on
a common 0.1 inch grid for easy interfacing.
RL78L12
J4
J3
JA2JA6
J2
J1
JA1
JA5
27.00mm
48.26mm
50.80mm
55.88mm
86.36mm
99.06mm
106.68mm
115.00mm
120.00mm
92.71mm
14.00mm
24.13mm
31.75mm
80.01mm
3.81mm
5.00mm
82.55mm
85.00mm
100.00mm
17.78mm
13.88mm 45.00mm
7.0mm 3.2mm 3.00mm
JA4 (LCD Panel Connector)
43.18mm
74.93mm
Figure 3-2: Board Dimensions

RSKRL78L12 3. Board Layout
R20UT0922EG0100 Rev. 1.00 Page 11 of 41
Jan 15, 2013
3.3 Component Placement
Figure 3-3 below shows placement of individual components on the top-side PCB. Component types and
values can be looked up using the board schematics.
SERIAL
PWR
E1
SW1SW2SW3
RV1
RES
Product Label
JA1JA5
LCD
J3
J2
J4
J1
JA6 JA2
U1
Serial Number
X2
X1
J11
J10
J5 J7
J8
U2
U3
POWER LED0 LED1 LED2 LED3
C24
U5
J6
C26 C25
R44
R29
R54
R28
C18
R21
R38 R39 R40 R41 R42
R30
R31
R32
T14
T11 T5 T7
T10
T9 T15
R93
C23
R18
R63
R131
T8T6T4
T13T12
D1
C19
GND2
C12
GND3
GND1
GND4
U4
J9
JA4
T1T2
T3
R53
C27
R45
R48
R59
C28
R47
R16
R17
R65
R50
R49
R46
R57
R55
C22
R52
R51
R58
R56 R64
R136
R19
R20
C21
C20
R22 R23
R26
R27
R25R24
R43
R33
R128
R129
R34
R35
R36
R37
R130
C10
R10
C11
R92
R91
R90
R77
R76
R94
R95
R84
R85
R99
R98
R97
R96
R103
R102
R101
R100
R89
R88
R86
R87
R82
R83
R74
R75
R72
R73
R70
R71
R123
R125
R127
R126
R124
R122
R11 R12 R13 R14 R15
R132
R133
R134
R135
C13
C15
C14
C16
C17
R4
C5
R3
C4
C7C6
R2
R1
C3
C2
C1
R8
R6
R5
R7
C8
C9
R81
R80
R79
R78
R105
R104
R109
R108
R107
R106
R62
R67
R66
R69
R111
R113
R112
R115
R114
R117
R116
R119
R118
R121
R120 R9
R61R60
C29
J13
J12
Figure 3-3: Top-Side Component Placement

RSKRL78L12 4. Connectivity
R20UT0922EG0100 Rev. 1.00 Page 12 of 41
Jan 15, 2013
4. Connectivity
4.1 Internal RSK Connections
The diagram below shows the RSK board components and their connectivity to the MCU.
RL78L12
MCU
IRQ
Reset
ADC I/O
SW3
Switches
SW2 SW1 RESET
Potentiometer User LEDs Power
R
O
GR
Power Jack
VCC
G
Application Headers
Micon Pin Header
MCU Current
Draw Test Point
E1 Debug Interface
RS-232 Serial Port
LCD Panel
Debug LCD
Figure 4-1: Internal RSK Block Diagram

RSKRL78L12 4. Connectivity
R20UT0922EG0100 Rev. 1.00 Page 13 of 41
Jan 15, 2013
4.2 Debugger Connections
The diagram below shows the connections between the RSK, E1 debugger and the host PC.
Host PC
E1 Emulator
RSK
User Interface
Cable USB Cable
Figure 4-2: Debugger Connection Diagram

RSKRL78L12 5. User Circuitry
R20UT0922EG0100 Rev. 1.00 Page 14 of 41
Jan 15, 2013
5. User Circuitry
5.1 Reset Circuit
A reset control circuit is not fitted to the RSK, as the MCU is capable of voltage and power-on detection.
Resets are handled internally, and the reset switch is connected directly to the RESET pin on the MCU (pin 6).
5.2 Clock Circuit
A clock circuit is fitted to the RSK to generate the required clock signal to drive the MCU, and associated
peripherals. Refer to the RL78/L12 Group Hardware Manual for details regarding the clock signal
requirements, and the RSKRL78L12 board schematics for information regarding the clock circuitry in use on
the RSK. Details of the oscillators fitted to the RSK are listed in Table 5-1 below.
Crystal Function Default Placement Frequency Device Package
X1 Main MCU crystal. Fitted 20MHz Encapsulated, SMT
X2 Real time Clock Fitted 32.768kHz Encapsulated, SMT
Table 5-1: Oscillators
5.3 Switches
There are four switches located on the RSK board. The function of each switch and its connection is shown in
Table 5-2. For further information regarding switch connectivity, refer to the RSKRL78L12 board schematics.
Switch Function MCU Connection
RES When pressed, the microcontroller is reset. RESET, Pin 6
SW1 Connects to an IRQ input for user controls. INTP0, Pin 9
SW2
Connects to a port pin for user controls.
P14, Pin 58
Connects to a port pin for user controls. P126, Pin 20
SW3
Connects to a port pin for user controls.
P142, Pin 57
Connects to a port pin for user controls. P127, Pin 19
Table 5-2: Switch Connections

RSKRL78L12 5. User Circuitry
R20UT0922EG0100 Rev. 1.00 Page 15 of 41
Jan 15, 2013
5.4 LEDs
There are five LEDs on the RSK board. The function of each LED, its colour, and its connections are shown in
Table 5-3. Note that, with the exception of the power LED, the LEDs are disabled when the LCD panel is in
use. Refer to §6.10 for detail of LCD panel configuration.
LED Colour Function MCU Connection
POWER Green Indicates the power status No connection
LED0 Green User operated LED. P30, Pin 25
LED1 Orange User operated LED. P42, Pin 3
LED2
Red
User operated LED.
P51, Pin 36
LED3 Red User operated LED. P52, Pin 35
Table 5-3: LED Connections
5.5 Potentiometer
A single-turn potentiometer is connected as a potential divider to analog input ANI0, pin 50. The potentiometer
can be used to create a voltage between Board_VDD and ground.
The potentiometer is fitted to offer an easy method of supplying a variable analog input to the microcontroller. It does not
necessarily reflect the accuracy of the controller’s ADC. Refer to the RL78/L12 Group Hardware Manual for further
details.

RSKRL78L12 5. User Circuitry
R20UT0922EG0100 Rev. 1.00 Page 16 of 41
Jan 15, 2013
5.6 LCD Panel
A versatile LCD display panel is supplied with the RSK, and should be connected to the JA4 header.
The panel is directly driven by circuitry inside the MCU. Connection information for the LCD panel is provided
in table Table 5-4 below.
LCD Panel Header (JA4)
Pin Circuit Net Name MCU Pin Pin Circuit Net Name MCU Pin
1 VL4 VL4, Pin 23 2 VL3 VL3, Pin 24
3 VL2 VL2, Pin 22 4 VL1 VL1, Pin 21
5
Ground
-
6
Ground
-
7 COM0 COM0, Pin 48 8 COM1 COM1, Pin 47
9 COM2 COM2, Pin 46 10 COM3 COM3, Pin 45
11 SEG0 SEG0, Pin 44 12 SEG1 SEG1, Pin 43
13 SEG2 SEG2, Pin 42 14 SEG3 SEG3, Pin 41
15 SEG4 SEG4, Pin 40 16 SEG5 SEG5, Pin 39
17
SEG6
SEG6, Pin 38
18
SEG7_DLCDRS
SEG7, Pin 37
19 SEG8_LED2 SEG8, Pin 36 20 SEG9_LED3 SEG9, Pin 35
21 SEG10 SEG10, Pin 34 22 SEG11 SEG11, Pin 33
23 SEG12 SEG12, Pin 32 24 SEG13_DLCDD7 SEG13, Pin 31
25 SEG14_DLCD6 SEG14, Pin 30 26 SEG15_DLCDD5 SEG15, Pin 29
27 SEG16_DLCD4 SEG16, Pin 28 28 SEG19_LED0 SEG19, Pin 25
29 SEG20 SEG20, Pin 18 30 SEG21 SEG21, Pin17
31 SEG22 SEG22, Pin 4 32 SEG23_LED1 SEG23, Pin 3
33 SEG24 SEG24, Pin 2 34 SEG25 SEG25, Pin 1
35 SEG26 SEG26, Pin 64 36 SEG27 SEG27, Pin 63
37 SEG28 SEG28, Pin 62 38 SEG31 SEG31, Pin 59
39 SEG32 SEG32, Pin 58* 40 SEG33 SEG33, Pin 57*
41
SEG34
SEG34, Pin 56
42
SEG35
SEG35, Pin 55
43 SEG36 SEG36, Pin 54 44 SEG37 SEG37, Pin 53
45 SEG38 SEG38, Pin 52 46 SEG17 SEG17, Pin 27
47 SEG18 SEG18, Pin 26 48 SEG29 SEG29, Pin 61*
49 SEG30 SEG30, Pin 60* 50 NC
Table 5-4: LCD Header Connections
* These segments are connected to the MCU via jumpers - refer to §6.10 for the required jumper settings.

RSKRL78L12 5. User Circuitry
R20UT0922EG0100 Rev. 1.00 Page 17 of 41
Jan 15, 2013
5.7 Debug LCD Module
A debug LCD header is fitted to the RSK; however the two-line debug LCD is not supplied with this kit. It is not
possible to use the debug LCD and the LCD panel at the same time, and they should not both be fitted to the
RSK.
Care should be taken when installing the LCD module to ensure pins are not bent or damaged. The LCD module is
vulnerable to electrostatic discharge (ESD); therefore appropriate ESD protection should be used.
The debug LCD module uses a 4-bit interface to reduce pin allocation. Connection information for the debug
LCD module is provided in Table 5-5 below.
Debug LCD Header
Pin Circuit Net Name MCU Pin Pin Circuit Net Name MCU Pin
1 Ground - 2 5V -
3 No Connection - 4 DLCDRS P50, Pin 37
5
R/W (pulled to ground)
-
6
DLCDE (pulled to ground)
P130, Pin 51
7 No Connection - 8 No Connection -
9 No Connection - 10 No Connection -
11 DLCDD4 P70, Pin 28 12 DLCDD5 P71, Pin 29
13 DLCDD6 P72, Pin 30 14 DLCDD7 P73, Pin 31
Table 5-5: LCD Header Connections

RSKRL78L12 5. User Circuitry
R20UT0922EG0100 Rev. 1.00 Page 18 of 41
Jan 15, 2013
5.8 RS232 Serial Port
An RS232 serial port is fitted to the RSK and connected via a level shifter to the microcontroller Serial Array
Unit (SAU). Connections between the RS232 header and the microcontroller are listed in Table 5-6 below.
Signal Name Function MCU Connection RS232 Connection
TxD0 SAU0 Channel 0 Transmit Signal. TxD0, pin 60 Pin 2
RxD0 SAU0 Channel 0 Receive Signal RxD0, pin 61 Pin 3
RS232TX
External SCI Transmit Signal.
n/a
Pin 2*
RS232RX External SCI Receive Signal. n/a Pin 3*
Table 5-6: Serial Port Connections
* This connection is a not available in the default RSK configuration - refer to §6.4 for the required
modifications.

RSKRL78L12 6. Configuration
R20UT0922EG0100 Rev. 1.00 Page 19 of 41
Jan 15, 2013
6. Configuration
6.1 Modifying the RSK
This section lists the option links that are used to modify the way RSK operates in order to access different
configurations. Configurations are made by modifying link resistors or headers with movable jumpers.
A link resistor is a 0Ω surface mount resistor, which is used to short or isolate parts of a circuit. Option links
are listed in the following sections, detailing their function when fitted or removed. Bold, blue text indicates the
default configuration that the RSK is supplied with. Refer to the component placement diagram (§3.3) to locate
the option links and jumpers.
When removing soldered components, always ensure that the RSK is not exposed to a soldering iron for intervals
greater than 5 seconds. This is to avoid damage to nearby components mounted on the RSK.
When modifying a link resistor, always check the related option links to ensure there is no possible signal contention or
short circuits. Because some of the MCU’s pins are multiplexed, some of the peripherals must be used exclusively.
Refer to the RL78/L12 Group Hardware Manual and RSKRL78L12 board schematics for further information.
6.2 ADC Configuration
Table 6-1 below details the function of the option links associated with the Analog-to-Digital circuit.
Reference Link Fitted Configuration Link Removed Configuration Related Ref.
R9 Connects the MCU (AVREFP, pin 50) to
AVREFP (JA1, pin 7) Disconnects the
MCU (AVREFP,
pin 50) from AVREFP (JA1, pin 7) R10
R10
Connects the MCU (AVREFP, pin 50)
to the potentiometer. Disconnects the MCU (AVREFP, pin
50) from the potentiometer. R9, C8, C9
R67 Connects the MCU (ANI18, pin 59) to
ANI18 (JA1, pin 11). Disconnects the MCU (ANI18, pin
59) from ANI18 (JA1, pin 11). R66
R69 Connects the MCU (ANI19, pin 58) to
ANI19 (JA1, pin 12). Disconnects the MCU (ANI19, pin
58) from ANI19 (JA1, pin 12) J13
R79 Connects the MCU (ANI16, pin 2) to
ANI16 (JA1, pin 9). Disconnects the MCU (ANI16, pin
2) from ANI16 (JA1, pin 9). R78
R105 Connects the MCU (ANI17, pin 1) to
ANI17 (JA1, pin 10). Disconnects the MCU (ANI17, pin
1) from ANI17 (JA1, pin 10). R104
R111 Connects the MCU (ANI20, pin 57) to
ANI20 (JA5, pin 1). Disconnects the MCU (ANI20, pin
57) from ANI20 (JA5, pin 1). J12
R113 Connects the MCU (ANI21, pin 56) to
ANI21 (JA5, pin 2). Disconnects the MCU (ANI21, pin
56) from ANI21 (JA5, pin 2). R112
R115 Connects the MCU (ANI22, pin 55) to
ANI22 (JA5, pin 3). Disconnects the MCU (ANI22, pin
55) from ANI22 (JA5, pin 3). R114
R117 Connects the MCU (ANI23, pin 54) to
ANI23 (JA5, pin 4). Disconnects the MCU (ANI23, pin
54) from ANI23 (JA5, pin 4). R116
Table 6-1: ADC Option Links

RSKRL78L12 6. Configuration
R20UT0922EG0100 Rev. 1.00 Page 20 of 41
Jan 15, 2013
6.3 E1 Debugger Interface
Table 6-2 below details the function of the option links associated with serial port configuration.
Reference Link Fitted Configuration Link Removed Configuration Related Ref.
R53 Connects
U4 (Y, pin 4) to the MCU
(RESET, pin 6) Disconnects U4 (Y, pin 4) from the
MCU (RESET, pin 6) -
R54 Connects TRESET (E1, pin 6) to the
MCU (RESET, pin 6) via R29. Disconnects TRESET (E1, pin 6) from
the MCU (RESET, pin 6). -
Table 6-2: E1 Debugger Interface Option Links
Table of contents
Other Renesas Network Hardware manuals

Renesas
Renesas Synergy AE-CAP1 User manual

Renesas
Renesas QB-RL78G1A User manual

Renesas
Renesas R-IN32 Series User manual

Renesas
Renesas R-IN32M4-CL2 TESSERA User manual

Renesas
Renesas S1JA User manual

Renesas
Renesas RX600 Series User manual

Renesas
Renesas M38000T2-CPE User manual

Renesas
Renesas M16C/Tiny Series User manual

Renesas
Renesas YCONNECT-IT-RZN2L User manual

Renesas
Renesas H8S/2633 User manual