Home

Renesas Starter Kit for RL78L12 User`s Manual

image

Contents

1. User Interface Cable USB Cable l f 0 l i l E1 Emulator O Lu RSK OO ILI ON Host PC Figure 4 2 Debugger Connection Diagram R20UT0926EG0100 Rev 1 00 EN ESAS Page 13 of 41 Jan 15 2013 RSKRL78L12 5 User Circuitry 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 XI 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
2. RSKRL78L12 7 Headers Table 7 8 below lists the connections of the microcontroller pin header J4 Microcontroller Pin Header J4 Pin Circuit Net Name MCU Pin Pin Circuit Net Name MCU Pin 1 AVREFM 49 2 ADPOT_AVREFP 50 3 DLCDE 51 4 SEG38_107 52 5 SEG37_106 53 6 SEG36_ANI23 54 7 SEG35_ANI22 55 8 SEG34_ANI21 56 9 SEG33_ANI20_SW3 57 10 SEG32 ANI19 SW2 58 ti SEG31 ANI18 59 12 SEG30 TxDO 60 13 SEG29 RxDO 61 14 SEG28 SCKOON 62 15 SEG27_TO00 63 16 SEG26 TIOO 64 17 NC NC 18 NC NC 19 NC NC 20 NC NC 21 NC NC 22 NC NC 23 NC NC 24 NC NC 25 NC NC 26 NC NC 27 NC NC 28 NC NC 29 NC NC 30 NC NC 31 NC NC 32 NC NC 33 NC NC 34 NC NC 35 NC NC 36 NC NC Table 7 8 Microcontroller Pin Header J4 Connections R20UT0926EG0100 Rev 1 00 TEN ESAS Page 34 of 41 Jan 15 2013 RSKRL78L12 8 Code Development 8 Code Development 8 1 Overview For all code debugging using Renesas software tools the RSK board must be connected to a PC via an E1 E20 debugger An E1 debugger is supplied with this RSK product For further information regarding the debugging capabilities of the E1 E20 debuggers refer to E1 E20 Emulator Additional Document for User s Manual R20UT1994EJ 8 2 Compiler Restrictions The compiler supplied with this RSK will build a maximum of 64k code and data To use the compiler with programs greater than this size you need to purchase a compiler license from your Ren
3. 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 R20UT0926EG0100 Rev 1 00 TEN ESAS Page 16 of 41 Jan 15 2013 RSKRL78L12 5 User Circuitry 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
4. 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 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 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 aut
5. pin 2 to Disconnects the MCU ANI16 pin R78 ANI16 JA1 pin 9 2 from ANI16 JA1 pin 9 R105 Connects the MCU ANI17 pin 1 to Disconnects the MCU ANI17 pin R104 ANI17 JA1 pin 10 1 from ANI17 JA1 pin 10 R111 Connects the MCU ANI20 pin 57 to Disconnects the MCU ANI20 pin J12 ANI20 JAS pin 1 57 from ANI20 JAS pin 1 R113 Connects the MCU ANI21 pin 56 to Disconnects the MCU ANI21 pin R112 ANI21 JAS pin 2 56 from ANI21 JAS pin 2 R115 Connects the MCU ANI22 pin 55 to Disconnects the MCU ANI22 pin R114 ANI22 JAS pin 3 55 from ANI22 JAS pin 3 R117 Connects the MCU ANI23 pin 54 to Disconnects the MCU ANI23 pin R116 ANI23 JAS pin 4 54 from ANI23 JA5 pin 4 Table 6 1 ADC Option Links R20UT0926EG0100 Rev 1 00 EN ESAS Page 19 of 41 Jan 15 2013 RSKRL78L12 6 Configuration 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 Disconnects U4 Y pin 4 from the RESET pin 6 MCU RESET pin 6 R54 Connects TRESET E1 pin 6 to the Disconnects TRESET El pin 6 from MCU RESET pin 6 via R29 the MCU RESET pin 6 Table 6 2 E1 Debugger Interface Option Links R20UT0926EG0100 Rev 1 00 EN ESAS Page 20 of 41 Jan 15 2013 R
6. 104 JA1 pin 19 from 104 JA1 pin 19 R107 Connects the MCU TOOO pin 63 to Disconnects the MCU TOO0 pin 63 R106 TOOO JA2 pin 19 from TOOO JA2 pin 19 R109 Connects the MCU TIOO pin 64 to Disconnects the MCU TIOO pin 64 R108 TI00 JA2 pin 21 from TIOO JA2 pin 21 R119 Connects the MCU P146 pin 53 to Disconnects the MCU P146 pin 53 R118 106 JA1 pin 21 from 106 JA1 pin 21 R121 Connects the MCU P147 pin 52 to Disconnects the MCU P147 pin 52 R120 107 JA1 pin 22 from 107 JA1 pin 22 R126 Connects IIC pull up resistors to Disconnects IIC pull up resistors from R127 Board_EVDD Board_EVDD R127 Connects IIC pull up resistors to Disconnects IIC pull up resistors from R126 Board_5V Board_5V Table 6 4 IRQ amp General I O Option Links R20UT0926EG0100 Rev 1 00 EN ESAS Page 22 of 41 Jan 15 2013 RSKRL78L12 6 6 User Switch Configuration Table 6 5 below details the function of the option links associated with the user switches Configuration Reference Link Fitted Configuration Link Removed Configuration Related Ref R33 Connects the switch SW1 to the MCU Disconnects the switch SW1 from the INTPO pin 9 MCU INTPO pin 9 R34 Connects the switch SW2 to the MCU Disconnects the switch SW2 from R35 P126 pin 20 the MCU P126 pin 20 R35 Connects the switch SW2 to the MCU Disconnects the switch SW2 from the R34
7. LNA NL LA aL 10 33 Component Placement i sr NE E LLI AM IA ti A CONE CUINA aa 12 41 Internal RSK Connecti0NS oconnicinicnnnnnnnnccnnncccncccn crac 12 4 2 Debugger Connections miii da 13 5 USCIS tact tel kda A A AS 14 boli RESCLCIRCUIT es Hout Aine tna dan aaa olen trie eas Aertel Aerie ee tate ale ated 14 bias sGlOck CirCuitisenss ci aise as ata kako a ana an a e kneel nbd 14 IS 4 tie ue Aine etnias e edt at el ta ine p tl enbato 14 5 4 LEDS NN 15 5 5 IPOtentlOMmeter comino erat et tle adm edie eet etalon 15 5 6 UCD Palit Garena eta ine 16 517 Debug ECD Module s 43 cece tc ah aie nats edo ete dde tied 17 58 RS232 Seriali Podio rta bao akada abun oai herra 18 7a Config ratio N anoto 19 6 1 Modifying the ASKo p penus im trino rd o foren Dako pac ida ode deed paani 19 6 2 ADC Contiguration ss 5 sam asistar alle veda enti anaj 19 6 3 El Debugger Interface uni nano aes Sh aii a ei aia ein 20 6 4 RS232 Serial Port Configuration sse eeeeee scenes seas eeeeaeseeeeeseaeeeeaaeseeaeeseeeeesaeeeeaeeseneeseaeees 21 6 5 IRQ 8 General I O Pin Configuration ccccecsceeeecceeeeeeeeeeeeeeeeeceaeeeceaeeeeaeeseeeeeeaeeesaaesseaeeseaeeesaeeseaeeennees 22 6 6 User Switch Configuration cccccccceccceceeeeeceeeeeeeeeeceaeeeeaeeceeeeeceaeeseaaeeeeeeeseaeeeeaaeseeaaeseeeescaeeesaeeseeeseeeeess 23 67 LEDGontfi ufatlon 3 espa ankta lla li 23 6 8 Power Supply Confi
8. Layout 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 POWE m Da YC EN AA i pis em MT EUN RES SERIAL 0 gt Y O O fa 3 S 3 ap EE y muj e Lo C9 I de lt x I lt 5 5 LCD Lg E Os Figure 3 3 Top Side Component Placement R20UT0926EG0100 Rev 1 00 EN ESAS Page 11 of 41 Jan 15 2013 RSKRL78L12 4 Connectivity 4 Connectivity 4 1 Internal RSK Connections The diagram below shows the RSK board components and their connectivity to the MCU MCU Current Draw Test Point Power Jack Application Headers Micon Pin Header LCD Panel RL78L1 2 MCU Reset E1 Debug Interface RS 232 Serial P erial Port ADC VO Debug LCD SW3 SW2 SW1 RESET Switches Potentiometer User LEDs ES CJ EE Figure 4 1 Internal RSK Block Diagram R20UT0926EG0100 Rev 1 00 2tEN ESAS Page 12 of 41 Jan 15 2013 RSKRL78L12 4 Connectivity 4 2 Debugger Connections The diagram below shows the connections between the RSK E1 debugger and the host PC
9. MCU SEG17 pin 27 to Disconnects the MCU SEG17 pin R85 the LCD panel JA4 pin 46 27 from the LCD panel JA4 pin 46 R86 Connects the MCU SEG10 pin 34 to Disconnects the MCU SEG10 pin R87 the LCD panel JA4 pin 21 34 from the LCD panel JA4 pin 21 R88 Connects the MCU SEG11 pin 33 to Disconnects the MCU SEG11 pin R89 the LCD panel JA4 pin 22 33 from the LCD panel JA4 pin 22 R90 Connects the MCU SEG21 pin 17 to Disconnects the MCU SEG21 pin R91 the LCD panel JA4 pin 30 17 from the LCD panel JA4 pin 30 R92 Connects the MCU SEG20 pin 18 to Disconnects the MCU SEG20 pin R93 the LCD panel JA4 pin 29 18 from the LCD panel JA4 pin 29 R94 Connects the MCU SEG16 pin 28 to Disconnects the MCU SEG16 pin R95 the LCD panel JA4 pin 27 and the 28 from the LCD panel JA4 pin 27 debug LCD header pin 11 and the debug LCD header pin 11 R96 Connecis the MCU SEG15 pin 29 to Disconnects the MCU SEG15 pin R97 the LCD panel JA4 pin 26 and the 29 from the LCD panel JA4 pin 26 debug LCD header pin 12 and the debug LCD header pin 12 Table 6 11 LCD Panel Option Links continued overleaf R20UT0926EG0100 Rev 1 00 EN ESAS Page 26 of 41 Jan 15 2013 RSKRL78L12 6 Configuration Reference Link Fitted Configuration Link Removed Configuration Related Ref R98 Connecis the MCU SEG14 p
10. P71 Pin 29 13 DLCDD6 P72 Pin 30 14 DLCDD7 P73 Pin 31 Table 5 5 LCD Header Connections R20UT0926EG0100 Rev 1 00 2tEN ESAS Page 17 of 41 Jan 15 2013 RSKRL78L12 5 8 RS232 Serial Port 5 User Circuitry 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 TxDO SAUO Channel 0 Transmit Signal TxDO pin 60 Pin 2 RxDO SAUO Channel 0 Receive Signal RxDO 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 R20UT0926EG0100 Rev 1 00 Jan 15 2013 2TENESAS Page 18 of 41 RSKRL78L12 6 Configuration 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 OQ 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 t
11. 1 00 2tEN ESAS Page 37 of 41 Jan 15 2013 REVISION HISTORY RSKRL78L12 User s Manual Date Description Page Summary 1 00 Jan 15 2013 First Edition issued Renesas Starter Kit Manual User s Manual Publication Date Rev 1 00 Jan 15 2013 Published by Renesas Electronics Corporation LENESAS SALES OFFICES Renesas Electronics Corporation http www renesas com Refer to http www renesas com for the latest and detailed information Renesas Electronics America Inc 2880 Scott Boulevard Santa Clara CA 95050 2554 U S A Tel 1 408 588 6000 Fax 1 408 588 6130 Renesas Electronics Canada Limited 1101 Nicholson Road Newmarket Ontario L3Y 9C3 Canada Tel 1 905 898 5441 Fax 1 905 898 3220 Renesas Electronics Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH U K Tel 44 1628 651 700 Fax 44 1628 651 804 Renesas Electronics Europe GmbH Arcadiastrasse 10 40472 D sseldorf Germany Tel 49 211 65030 Fax 49 211 6503 1327 Renesas Electronics China Co Ltd 7th Floor Quantum Plaza No 27 ZhiChunLu Haidian District Beijing 100083 P R China Tel 86 10 8235 1155 Fax 86 10 8235 7679 Renesas Electronics Shanghai Co Ltd Unit 204 205 AZIA Center No 1233 Lujiazui Ring Rd Pudong District Shanghai 200120 China Tel 86 21 5877 1818 Fax 86 21 6887 7858 7898 Renesas Electronics Hong Kong Limited Unit 1601 1613 16 F Tower 2 Grand Century P
12. 19 the LCD panel JA4 pin 44 53 from the LCD panel JA4 pin 44 R120 Connects the MCU SEG38 pin 52 to Disconnects the MCU SEG38 pin R121 the LCD pane JA4 pin 45 52 from the LCD pane JA4 pin 45 Table 6 11 LCD Panel Option Links continuation Table 6 12 below details the function of the jumpers associated with LCD panel configuration Reference Position One Position Two Position Three Related Ref J10 All pins are open Pins 1 and 2 connected Pins 2 and 3 R51 Disconnects the MCU Connects the MCU RxDO pin connected Connects R58 R64 SEG29 RxDO pin 61 61 to U3 R1OUT pin 15 via the MCU SEG29 pin from the RS232 IC and R51 and R58 61 to the LCD panel the LCD panel JA4 pin 48 J11 All pins are open Pins 1 and 2 connected Pins 2 and 3 R49 Disconnects the MCU Connects the MCU TxDO pin connected Connects R57 R65 SEG30 TxDO pin 60 60 to U3 T1IN pin 13 via the MCU SEG30 pin from the RS232 IC and R49 and R57 60 to the LCD panel the LCD panel JA4 pin 49 J12 All pins are open Pins 1 and 2 connected Pins 2 and 3 connected R37 Disconnects the MCU Connects the MCU SEG33 Connects the MCU R111 SEG33 P142 pin 57 pin 57 to the LCD panel P142 pin 57 to switch from the LCD panel and JA4 pin 40 SW3 via R37 switch SW3 J13 All pins are open Pins 1 and 2 connected Pins 2 and 3 connected R35 R69 Disconnects the MCU Connects the MCU SEG32 Connects the MCU SEG32 P14 pin 58 pi
13. 9 via R73 13 NC NC 14 NC NC 15 NC NC 16 NC NC 17 NC NC 18 NC NC 19 NC NC 20 NC NC 21 NC NC 22 NC NC 23 Unregulated_VCC 24 GROUND Table 7 4 Application Header JA6 Connections Multiple option links connect this pin to the MCU see 6 4 for details R20UTO926EGO100 Rev 1 00 RENESAS Page 30 of 41 Jan 15 2013 RSKRL78L12 7 Headers 12 Microcontroller Pin Headers This RSK is fitted with MCU pin headers which are used to access all the MCU s pins Table 7 5 below lists the connections of the microcontroller pin header J1 Microcontroller Pin Header J1 Pin Circuit Net Name MCU Pin Pin Circuit Net Name MCU Pin 1 SEG25_ANI17 1 2 SEG24_ANI16 2 3 SEG23_LED1 3 4 SEG22_INTP7 5 TOOLO 5 6 RESETn 7 CON_XT2 7 8 CON_XT1 8 9 SW1 9 10 CON X2 107 11 CON_X1 11 12 NC NC 13 GROUND 14 GROUND 15 UC_VDD 16 UC_EVDD 17 NC NC 18 NC NC 19 NC NC 20 NC NC 21 NC NC 22 NC NC 23 NC NC 24 NC NC 25 NC NC 26 NC NC 27 NC NC 28 NC NC 29 NC NC 30 NC NC 31 NC NC 32 NC NC 33 NC NC 34 NC NC 35 NC NC 36 NC NC Table 7 5 Microcontroller Pin Header J1 Connections Connection made through option link R20UT0926EG0100 Rev 1 00 2tEN ESAS Page 31 of 41 Jan 15 2013 RSKRL78L12 7 Headers Table 7 6 below lists the connections of the microcontroller pin header J2 Microcontroller Pin Hea
14. A4 pin 3 R135 Connecis the MCU VL1 pin 21 to Disconnects the MCU VL1 pin 21 the LCD panel JA4 pin 4 from the LCD panel JA4 pin 4 R62 Connects the MCU SEG28 pin 62 to Disconnects the MCU SEG28 pin R63 the LCD panel JA4 pin 37 62 from the LCD panel JA4 pin 37 R66 Connects the MCU SEG31 pin 59 to Disconnects the MCU SEG31 pin R67 the LCD panel JA4 pin 38 59 from the LCD panel JA4 pin 38 R70 Connecis the MCU SEG4 pin 40 to Disconnects the MCU SEG4 pin 40 R71 the LCD panel JA4 pin 15 from the LCD panel JA4 pin 15 R72 Connecis the MCU SEG5 pin 39 to Disconnects the MCU SEG5 pin 39 R73 the LCD panel JA4 pin 16 from the LCD panel JA4 pin 16 R74 Connects the MCU SEG6 pin 38 to Disconnects the MCU SEG6 pin 38 R75 the LCD panel JA4 pin 17 from the LCD panel JA4 pin 17 R76 Connects the MCU SEG18 pin 26 to Disconnects the MCU SEG18 pin R77 the LCD panel JA4 pin 47 26 from the LCD panel JA4 pin 47 R78 Connects the MCU SEG24 pin 2 to Disconnects the MCU SEG24 pin 2 R79 the LCD panel JA4 pin 33 from the LCD panel JA4 pin 33 R80 Connecis the MCU SEG22 pin 4 to Disconnects the MCU SEG22 pin 4 R81 the LCD panel JA4 pin 31 from the LCD panel JA4 pin 31 R82 Connects the MCU SEG8 pin 36 to Disconnects the MCU SEG8 pin 36 R83 the LCD panel JA4 pin 19 and from the LCD panel JA4 pin 19 and LED2 LED2 R84 Connects the
15. C 7 D a 0 D D LENESAS RL78 L12 Group Renesas Starter Kit User s Manual For e studio RENESAS MCU RL78 Family L1X Series 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 Renesas Electronics www renesas com Rev 1 00 Jan 2013 10 11 12 Notice 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 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
16. J13 P14 pin 58 via J13 MCU P14 pin 58 R36 Connects the switch SW3 to the MCU Disconnects the switch SW3 from R37 P127 pin 19 the MCU P127 pin 19 R37 Connects the switch SW3 to the MCU Disconnects the switch SW3 from the R36 J12 P142 pin 57 via J12 MCU P142 pin 57 Table 6 5 User Switch Option Links 6 7 LED Configuration Table 6 6 below details the function of the option link associated with the LEDs Reference Link Fitted Configuration Link Removed Configuration Related Ref R43 Connects LEDO LED1 LED2 and LED3 Disconnects LEDO LED1 LED2 J9 to Board_EVDD and LED3 from Board EVDD unless bypassed by J9 Table 6 6 LED Option Link Table 6 7 below details the function of the jumper associated with the LEDs Reference Shorted Open Related Ref J9 Connects LEDO LED1 LED2 and LED3 Disconnects LEDO LED1 LED2 R43 to Board_EVDD and LED3 from Board EVDD unless bypassed by R43 Table 6 7 LED Configuration Jumper Do not fit J9 or R43 if the LCD panel is connected R20UT0926EG0100 Rev 1 00 2tEN ESAS Page 23 of 41 Jan 15 2013 RSKRL78L12 6 Configuration 6 8 Power Supply Configuration Table 6 8 below details the function of the option links associated with power supply configuration Reference Link Fitted Configuration Link Removed Configuration Related Ref R16 Connects the power socket PWR pin Disconnects the Power socket PWR
17. K 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 Electromagn
18. MCU Connection RES When pressed the microcontroller is reset RESET Pin 6 SW1 Connects to an IRQ input for user controls INTPO 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 R20UT0926EG0100 Rev 1 00 TEN ESAS Page 14 of41 Jan 15 2013 RSKRL78L12 5 User Circuitry 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 LEDO 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 ANIO 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 th
19. SKRL78L12 6 4 RS232 Serial Port Configuration 6 Configuration Table 6 3 below details the function of the option links associated with serial port configuration Reference Link Fitted Configuration Link Removed Configuration Related Ref R44 Connects the serial port connector Disconnects the serial port shield to Ground connector shield from Ground R48 Connects U3 SHDn pin 20 to Ground Disconnects U3 SHDn pin 20 from Ground R49 Connects U3 T1IN pin 13 to the Disconnects U3 T1IN pin 13 from R50 R55 R57 MCU and App Header via R57 and the MCU and App Header R55 respectively R50 Connects U3 T1IN pin 13 to TOOLO Disconnects U3 T1IN pin 13 from R49 E1 pin 5 TOOLO E1 pin 5 R51 Connects U3 R1OUT pin 15 to the Disconnects U3 R1OUT pin 15 from R52 R56 R58 MCU and App Header via R56 and the MCU and App Header R58 respectively R52 Connects U3 R1OUT pin 15 to U5 Disconnects U3 R1OUT pin 15 R51 OE pin 1 from U5 OE pin 1 R55 Connects U3 T1IN pin 13 to RS232TX Disconnects U3 T1IN pin 13 from R49 R57 JA6 pin 5 via R49 RS232TX JA6 pin 5 R56 Connects U3 R1OUT pin 15 to Disconnects U3 R1OUT pin 15 R51 R58 RS232RX JA6 pin 6 via R51 from RS232RX JA6 pin 6 R57 Connects U3 TIN pin 13 to the Disconnects U3 T1IN pin 13 from R49 R55 MCU TxDO pin 60 via R49 and J11 the MCU TXDO pin 60 R65 J11 R58 Conne
20. are voltage regulator U2 2 and power socket supplied directly from the pin 2 PWR pin power socket PWR pin J6 All pins open The Pins 1 and 2 connected The Pins 2 and 3 connected J5 voltage regulator U2 is voltage regulator U2 is setto The voltage regulator set to supply 3 3V supply 1 8V U2 is set to supply 1 6V J7 All pins open Pins 1 and 2 connected N A R26 Disconnects UC_VDD Connects UC_VDD to from Board_VDD Board_VDD Replace jumper unless bypassed by with an ammeter to measure R26 MCU current J8 All pins open Pins 1 and 2 connected N A R27 Disconnects UC_EVDD Connects UC_EVDD to from Board_VDD Board_EVDD Replace jumper unless bypassed by with an ammeter to measure R27 MCU current Table 6 9 Power Supply Jumpers R20UT0926EG0100 Rev 1 00 TEN ESAS Page 24 of41 Jan 15 2013 RSKRL78L12 6 Configuration 6 9 Clock Configuration Table 6 10 below details the function of the option links associated with clock configuration Reference Link Fitted Configuration Link Removed Configuration Related Ref R1 Connects the crystal X1 to the MCU Disconnects the crystal X1 from the R3 X2 pin 10 MCU X2 pin 10 R2 Connecis the crystal X1 to the MCU Disconnects the crystal X1 from the R4 X1 pin 11 MCU X1 pin 11 R3 Connects CON_X2 J1 pin 10 to the Disconnects CON_X2 J1 pin 10 R1 MCU X2 pin 10 from the MCU X2 pin 10 R4 Connects CON_X1 J1 pin 11 to t
21. cts U3 R1OUT pin 15 to the Disconnects U3 R1OUT pin 15 from R51 R56 MCU RxDO pin 61 via R51 and J10 the MCU RxDO pin 61 R64 J10 R64 Connects U3 R1OUT pin 15 to the Disconnects U3 R1OUT pin 15 R51 R58 J10 MCU RxDO pin 61 via R51 and R58 from the MCU RxDO pin 61 unless bypassed by J10 R65 Connects U3 T1IN pin 13 to the MCU Disconnects U3 T1IN pin 13 from R49 R57 J11 TxDO pin 60 via R49 and R57 the MCU TxDO pin 60 unless bypassed by J11 R20UT0926EG0100 Rev 1 00 Jan 15 2013 Table 6 3 RS232 Serial Port Option Links TENESAS Page 21 of41 RSKRL78L12 6 Configuration 6 5 IRQ amp General I O Pin Configuration Table 6 4 below details the function of the option links associated with IRQ and general I O pin configuration R63 Connects the MCU SCKO0n pin 62 Disconnects the MCU SCKO0n pin 62 R62 to SCKOOn JA2 pin 10 from SCKO0n JA2 pin 10 R71 Connects the MCU SCKO1 pin 40 to Disconnects the MCU SCKO1 pin 40 R70 SCKO1n JA6 pin 11 from SCKO1n JA6 pin 11 R73 Connects the MCU SIO1 pin 39 to Disconnects the MCU SIO1 pin 39 R72 SIO1 JA6 pin 12 from SIO1 JA6 pin 12 R75 Connects the MCU SO01 pin 38 to Disconnects the MCU SO01 pin 38 R74 S001 JA6 pin 9 from SO01 JA6 pin 9 R77 Connects the MCU INTP3 pin 26 to Disconnects the MCU INTP3 pin 26 R76 INTP3 JA2 p
22. der J2 Pin Circuit Net Name MCU Pin Pin Circuit Net Name MCU Pin 1 SEG21_SCLAO 17 2 SEG20_SDAAO 18 3 CAPH 19 4 CAPL 20 5 VL1 21 6 VL2 22 7 VL4 23 8 VL3 24 9 SEG19_LEDO 25 10 SEG18_INTP3 26 11 SEG17_INTP4 27 12 SEG16 DLCDD4 IO0 28 13 SEG15 DLCDD5 IO1 29 14 SEG14 DLCDD6 IO2 30 15 SEG13 DLCDD7 IO3 31 16 SEG12_104 32 17 NC NC 18 NC NC 19 NC NC 20 NC NC 21 NC NC 22 NC NC 23 NC NC 24 NC NC 25 NC NC 26 NC NC 27 NC NC 28 NC NC 29 NC NC 30 NC NC 31 NC NC 32 NC NC 33 NC NC 34 NC NC 35 NC NC 36 NC NC Table 7 6 Microcontroller Pin Header J2 Connections R20UT0926EG0100 Rev 1 00 2tEN ESAS Page 32 of 41 Jan 15 2013 RSKRL78L12 7 Headers Table 7 7 below lists the connections of the microcontroller pin header J3 Microcontroller Pin Header J3 Pin Circuit Net Name MCU Pin Pin Circuit Net Name MCU Pin 1 SEG11 1O5 33 2 SEGI10 TIO7 34 3 SEG9 LED3 35 4 SEG8 LED2 TOO6 36 5 SEG7 DLCDRS 37 6 SEG6_SO01 38 7 SEG5_SIO1 39 8 SEG4 SCKO1n 40 9 SEG3 41 10 SEG2 42 ti SEG1 43 12 SEGO 44 13 COM3 45 14 COM2 46 15 COM1 47 16 COMO 48 17 NC NC 18 NC NC 19 NC NC 20 NC NC 21 NC NC 22 NC NC 23 NC NC 24 NC NC l5 No ne T NG NC 27 NC NC 28 NC NC 29 NC NC 30 NC NC 31 NC NC 32 NC NC 33 NC NC 34 NC NC 35 NC NC 36 NC NC Table 7 7 Microcontroller Pin Header J3 Connections R20UT0926EG0100 Rev 1 00 Jan 15 2013 2TENESAS Page 33 of 41
23. e 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 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 This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics 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 RS
24. e controller s ADC Refer to the RL78 L12 Group Hardware Manual for further details R20UT0926EG0100 Rev 1 00 2tEN ESAS Page 15 of 41 Jan 15 2013 RSKRL78L12 5 User Circuitry 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 COMO COMO Pin 48 8 COM1 COM1 Pin 47 9 COM2 COM2 Pin 46 10 COM3 COM Pin 45 11 SEGO SEGO Pin 44 12 SEG1 SEGI 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 SEGIO 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_LEDO 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 Pine2 38 SEG31 SEG31 Pin59 39 SEG32 SEG32 Pin 58
25. ect 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 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 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 us
26. er 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 R20UT0926EG0100 Rev 1 00 Page 8 of 41 Jan 15 2013 RENESAS RSKRL78L12 3 Board Layout 3 Board Layout 3 1 Component Layout Figure 3 1 below shows the top component layout of the board Application Headers Reset Switch RS232 Serial Debug LCD connector Power Jack Power LED E1 Interface User LEDs JA4 LCD Panel Connector User Switches Application Headers Potentiometer Figure 3 1 Board Layout R20UT0926EG0100 Rev 1 00 RENESAS Page 9 of 41 Jan 15 2013 RSKRL78L12 3 Board Layout 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 13 88mm wwod s e WU 8 y aas 3 3 3 a 5 ol 2 S 5 al EE 2 33 E a 3 5 o gt a 3 3 8 S 3 a Q Oo 4 lt x ar y y Y Y Y y 27 00mm 43 18mm E 48 26mm gt D 50 80mm gt 55 88mm gt pe 86 36mm di 99 06mm gt 106 68mm gt 115 00mm gt 120 00mm Li Figure 3 2 Board Dimensions R20UT0926EG0100 Rev 1 00 ztENESAS Page 10 of 41 Jan 15 2013 RSKRL78L12 3 3 Component Placement 3 Board
27. esas supplier 8 3 Mode Support The RL78 L12 microcontroller only supports single chip operating mode 8 4 Debugging Support The E1 emulator as supplied with this RSK supports hardware break points software break points and basic trace functionality For further details refer to the E1 E20 Emulator User s Manual R20UTO398EJ R20UT0926EG0100 Rev 1 00 RENESAS Page 35 of 41 Jan 15 2013 RSKRL78L12 8 Code Development 8 5 Address Space Figure 8 1 below details the address space of the MCU The MCU fitted to the RSK has 32KB of ROM For further details refer to the RL78 L12 Group Hardware Manual Notes 1 Use of the area FF900H to FFC89H is prohibited when using the self programming function and data flash FFFFFH FFFOOH FFEFFH FFEEOH FFEDFH FF900H FFSFFH F1800H FI7FFH F1000H FOFFFH FO800H FOTFFH Special function register 2nd SFA 2 KB F0000H EFFFFH 000CEH 000CDH 000C4H 000C3H 000COH 0008FH 00080H 0007FH 08000H O7FFFH Code flash memory 32 KB 00000H 00000H function because this area is used for self programming library 2 Instructions can be executed from the RAM area excluding the general purpose register area 3 Set the option bytes to OOOCOH to 000C3H and the on chip debug security IDs to 000C4H to OOOCDH Caution When executing instructions from the RAM area while RAM parity error resets are enabled RPERDIS 1 be sure to initia
28. etic 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 e ensure attached cables do not lie across the equipment e reorient the receiving antenna e increase the distance between the equipment and the receiver e connect the equipment into an outlet on a circuit different from that which the receiver is connected e power down the equipment when not in use e 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 e The user is advised that mobile phones should not be used within 10m of the product when in use e 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 T
29. guration cccccccccceeeeeeeeeeeeeeeeeeeaeeeeaeeseeeeeceaeeeeaaeseeeeeseaeeeeaaeseeaeeseeeeescaeeesaeseeeeeseaeees 24 6 9 Glock ConflQurationys x cic seseez caedesv elp a iaa 25 6 10 LCD Panel Configuration ese is inaasa oaa iaae ensed aduceesaledu sade Ee NEN To anA ea EAE bin 26 Alu stelos n ennnennennen nn e a a TT aaa aaa E aeae 28 TA Application Heade Seenaa E E E A OESS 28 7 2 Microcontroller Pin Headers raees maana a AEREE RAER EENET EEE R 31 8 Code Development oho TT TTT TT TTT TITT TTT TOJ 35 O a 35 8 27 Gompiler Reslfilion8 s seso Be Genii Ge E eba OIU TN dE GIF EA 35 8 239 Mode Support sss EN veron aii aao 35 84 IDebugging iSUppoO t i se SA EE EE va O ot cet eel ei IDIO 35 8 5 Address Spaca nanii ku a E e E NIO Eko da Gee rien oa ee 36 9 Additional Information sleessesssnnennnnknennnnknnknnnnnnknnnnnnknnknnnannknnkantas 37 ENESAS RSKRL78L12 R20UT0926EG0100 Rev 1 00 RENESAS STARTER KIT 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 e Renesas microcontroller programming e User code debugging e User circuitry such as switches LEDs and a potentiome
30. he 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 Disconnects the MCU AVREFP R10 AVREFP JA1 pin 7 pin 50 from AVREFP JA1 pin 7 R10 Connects the MCU AVREFP pin 50 Disconnects the MCU AVREFP pin R9 C8 C9 to the potentiometer 50 from the potentiometer R67 Connects the MCU ANI18 pin 59 to Disconnects the MCU ANI18 pin R66 ANI18 JA1 pin 11 59 from ANI18 JA1 pin 11 R69 Connects the MCU ANI19 pin 58 to Disconnects the MCU ANI19 pin J13 ANI19 JA1 pin 12 58 from ANI19 JA1 pin 12 R79 Connects the MCU ANI16
31. he Disconnects CON_X1 J1 pin 11 R2 MCU X1 pin 11 from the MCU X1 pin 11 R5 Connects the crystal X2 to the MCU Disconnects the crystal X2 from the R7 XT2 pin 7 MCU XT2 pin 7 R6 Connects the crystal X2 to the MCU Disconnects the crystal X2 from the R8 XT1 pin 8 MCU XT1 pin 8 R7 Connects CON_XT2 J1 pin 7 to the Disconnects CON_XT1 J1 pin 7 R5 MCU XT2 pin 7 from the MCU XT2 pin 7 R8 Connects CON_XT1 J1 pin 8 to the Disconnects CON_XT1 J1 pin 8 R6 MCU XT1 pin 8 from the MCU XT1 pin 8 Table 6 10 Clock Option Links R20UT0926EG0100 Rev 1 00 EN ESAS Page 25 of 41 Jan 15 2013 RSKRL78L12 6 Configuration 6 10 LCD Panel Configuration Table 6 11 below details the function of the option links associated with LCD panel configuration Reference Link Fitted Configuration Link Removed Configuration Related Ref R11 Connects the LCD panel JA4 pin 1 to Disconnects the LCD panel JA4 R132 Board_VDD pin 1 from Board_VDD R132 Connecis the MCU VL4 pin 23 to Disconnects the MCU VL4 pin 23 R11 the LCD panel JA4 pin 1 from the LCD panel JA4 pin 1 R133 Connecis the MCU VL3 pin 24 to Disconnects the MCU VL3 pin 24 the LCD panel JA4 pin 2 from the LCD panel JA4 pin 2 R134 Connecis the MCU VL2 pin 22 to Disconnects the MCU VL2 pin 22 the LCD panel JA4 pin 3 from the LCD panel J
32. his 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 R20UT0926EG User s Manual Tutorial Provides a guide to setting up RSK environment RSKRL78L12 R20UT0927EG running sample code and debugging programs Tutorial Manual Quick S
33. horized 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 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 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 subj
34. in 30 to Disconnects the MCU SEG14 pin R99 the LCD panel JA4 pin 25 and the 30 from the LCD panel JA4 pin 25 debug LCD header pin 13 and the debug LCD header pin 13 R100 Connects the MCU SEG13 pin 31 to Disconnects the MCU SEG13 pin R101 the LCD panel JA4 pin 24 and the 31 from the LCD panel JA4 pin 24 debug LCD pin 14 and the debug LCD pin 14 R102 Connects the MCU SEG12 pin 32 to Disconnects the MCU SEG12 pin R103 the LCD panel JA4 pin 23 32 from the LCD panel JA4 pin 23 R104 Connects the MCU SEG25 pin 1 to Disconnects the MCU SEG25 pin 1 R105 the LCD panel JA4 pin 34 from the LCD panel JA4 pin 34 R106 Connects the MCU SEG27 pin 63 to Disconnects the MCU SEG27 pin R107 the LCD panel JA4 pin 36 63 from the LCD panel JA4 pin 36 R108 Connects the MCU SEG26 pin 64 to Disconnects the MCU SEG26 pin R109 the LCD panel JA4 pin 35 64 from the LCD panel JA4 pin 35 R112 Connects the MCU SEG34 pin 56 to Disconnects the MCU SEG34 pin R113 the LCD panel JA4 pin 41 56 from the LCD panel JA4 pin 41 R114 Connects the MCU SEG35 pin 55 to Disconnects the MCU SEG35 pin R115 the LCD panel JA4 pin 42 55 from the LCD panel JA4 pin 42 R116 Connects the MCU SEG36 pin 54 to Disconnects the MCU SEG36 pin R117 the LCD panel JA4 pin 43 54 from the LCD panel JA4 pin 43 R118 Connects the MCU SEG37 pin 53 to Disconnects the MCU SEG37 pin R1
35. in 9 from INTP3 JA2 pin 9 R81 Connects the MCU INTP7 pin 4 to Disconnects the MCU INTP7 pin 4 R80 INTP7 JA1 pin 23 from INTP7 JA1 pin 23 R83 Connects the MCU TOO6 pin 36 to Disconnects the MCU TOO6 pin 36 R82 TO06 JA2 pin 20 from TO06 JA2 pin 20 R85 Connects the MCU INTP4 pin 27 to Disconnects the MCU INTP4 pin 27 R84 INTP4 JA2 pin 23 from INTP4 JA2 pin 23 R87 Connects the MCU TIO07 pin 34 to Disconnects the MCU TIO7 pin 34 R86 TI07 JA2 pin 22 from TI07 JA2 pin 22 R89 Connects the MCU P54 pin 33 to Disconnects the MCU P54 pin 33 R88 105 JA1 pin 20 from 105 JA1 pin 20 R91 Connects the MCU SCLAO pin 17 to Disconnects the MCU SCLAO pin 17 R90 SCLAO JA1 pin 26 via R123 from SCLAO JA1 pin 26 R93 Connects the MCU SDAAO pin 18 to Disconnects the MCU SDAAO pin 18 R92 SDAAO JA1 pin 25 via R122 from SDAAO JA1 pin 25 R95 Connects the MCU P70 pin 28 to Disconnects the MCU P70 pin 28 R94 100 JA1 pin 15 from 100 JA1 pin 15 R97 Connects the MCU P71 pin 29 to Disconnects the MCU P71 pin 29 R96 101 JA1 pin 16 from 101 JA1 pin 16 R99 Connects the MCU P72 pin 30 to Disconnects the MCU P72 pin 30 R98 102 JA1 pin 17 from 102 JA1 pin 17 R101 Connects the MCU P73 pin 31 to Disconnects the MCU P73 pin 31 R100 103 JA1 pin 18 from 103 JA1 pin 18 R103 Connects the MCU P74 pin 32 to Disconnects the MCU P74 pin 32 R102
36. lace 193 Prince Edward Road West Mongkok Kowloon Hong Kong Tel 852 2886 9318 Fax 852 2886 9022 9044 Renesas Electronics Taiwan Co Ltd 13F No 363 Fu Shing North Road Taipei Taiwan Tel 886 2 8175 9600 Fax 886 2 8175 9670 Renesas Electronics Singapore Pte Ltd 80 Bendemeer Road Unit 06 02 Hyflux Innovation Centre Singapore 339949 Tel 65 6213 0200 Fax 65 6213 0300 Renesas Electronics Malaysia Sdn Bhd Unit 906 Block B Menara Amcorp Amcorp Trade Centre No 18 Jin Persiaran Barat 46050 Petaling Jaya Selangor Darul Ehsan Malaysia Tel 60 3 7955 9390 Fax 60 3 7955 9510 Renesas Electronics Korea Co Ltd 11F Samik Lavied or Bldg 720 2 Yeoksam Dong Kangnam Ku Seoul 135 080 Korea Tel 82 2 558 3737 Fax 82 2 558 5141 2013 Renesas Electronics Corporation All rights reserved Colophon 1 3 RL78 L12 Group tENESAS Renesas Electronics Corporation R20UT0926EG0100
37. lize the used RAM area 10 bytes R20UT0926EG0100 Rev 1 00 TENESAS Page 36 of 41 Jan 15 2013 Figure 8 1 MCU Address Space Diagram RSKRL78L12 9 Additional Information 9 Additional Information Technical Support For details on how to use e studio refer to the help file by opening estudio then selecting Help gt Help Contents from the Window menu bar E a e Welcome Help Contents GP Search Dynamic Help For information about the RL78 L12 series microcontrollers refer to the RL78 L12 Group Hardware Manual For information about the RL78 assembly language refer to the RL78 Series Software Manual Technical Contact Details Please refer to the contact details listed in section 8 of the Quick Start Guide General information on Renesas microcontrollers can be found on the Renesas website at http www renesas com Trademarks All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or organisations Copyright This document may be wholly or partially subject to change without notice All rights reserved Duplication of this document either in whole or part is prohibited without the written permission of Renesas Electronics Europe Limited 2013 Renesas Electronics Europe Limited All rights reserved 2013 Renesas Electronics Corporation All rights reserved 2013 Renesas Solutions Corp All rights reserved R20UT0926EG0100 Rev
38. n 58 to the LCD panel P14 pin 58 to switch from the LCD panel and JA4 pin 39 SW2 via R35 switch SW2 Table 6 12 LCD Panel Jumpers R20UT0926EG0100 Rev 1 00 EN ESAS Page 27 of 41 Jan 15 2013 RSKRL78L12 7 Headers 7 1 Application Headers This RSK is fitted with application headers which can be used to connect compatible Renesas application devices or as easy access to MCU pins Note that JA4 has been omitted from this list as it is the LCD panel connector and connections are described in 5 6 Table 7 1 below lists the connections of the application header JA1 7 Headers Application Header JA1 Pin Circuit Net Name MCU Pin Pin Circuit Net Name MCU Pin 1 5V 2 OV 3 3V3 4 OV 5 NC NC 6 AVSS 7 AVREFP 50 via R9 8 NC NC 9 ANI16 2 via R79 10 ANI17 1 via R105 ti ANI18 59 via R67 12 ANI19 58 via R69 13 NC NC 14 NC NC 15 100 28 via R95 16 101 29 via R97 17 102 30 via R99 18 103 31 via R101 19 104 32 via R103 20 105 33 via R89 21 106 53 via R119 22 107 52 via R121 23 INTP7 4 via R81 24 NC NC 25 JA1_SDAAO 18 via R93 26 JA1_SCLAO 17 via R91 Table 7 1 Application Header JA1 Connections R20UT0926EG0100 Rev 1 00 2tEN ESAS Page 28 of 41 Jan 15 2013 RSKRL78L12 7 Headers Table 7 2 below lists the connections of the application header JA2 Applica
39. tart Guide Provides simple instructions to setup the RSK and RSKRL78L12 Quick R20UTO928EG run the first sample on a single A4 sheet Start Guide Schematics Full detail circuit schematics of the RSK RSKRL78L12 R20UT0921EG Schematics Hardware Manual Provides technical details of the RL78 L12 RL78 L12 RO1UHO330EJ microcontroller RL78L12Group Hardware Manual 2 List of Abbreviations and Acronyms Abbreviation Full Form ADC Analog to Digital Converter bits per second Central Processing Unit Cyclic Redundancy Check Data Transfer Controller On chip Debugger Event Link Controller Electromagnetic Compatibility Electrostatic Discharge Philips Inter Integrated Circuit Connection Bus Interrupt Request 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 WM CRN LUN is dN DS ASS DAA PURE a IIS 7 1 1 A a E R Ke e o A 7 ka FEOS er pe rnme pen O ETA 7 2 Power DUI occ A cli ieee oe eS tid A a 8 2 1 REQUIFEMOENTS 22 rr re tre pe a rem NOMO POT 8 22 PowerUp alo VE re e rero NTP TPP POO ron Murr ron prr pp rr Hr PP 8 3 Board a ede 9 3 l Component Layouten emio en a ai A e A iia 9 3 2 Board Dimenslon8 s e suolo sL
40. ter e Sample application e Sample peripheral device initialisation code The RSK board contains all the circuitry required for microcontroller operation R20UT0926EG0100 Rev 1 00 Page 7 of 41 Jan 15 2013 RENESAS RSKRL78L12 2 Power Supply 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 Pint 2 shorted 5V 1 8V Pin2 3 shorted Pin2 3 shorted 5V 1 62V Table 2 1 Main Power Supply Requirements The main power supply connected to PWR1 should supply a minimum of 5W to ensure full functionality 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 aft
41. tion Header JA2 Pin Circuit Net Name MCU Pin Pin Circuit Net Name MCU Pin 1 RESETn 6 2 CON_X2 10 via R3 3 NC NC 4 GROUND 5 NC NC 6 TxDO 60 via J11 R65 7 SW1 9 8 RxDO 61 via J10 R64 9 INTP3 26 via R77 10 SCKOOn 62 via R63 ti NC NC 12 NC NC 13 NC NC 14 NC NC 15 NC NC 16 NC NC 17 NC NC 18 NC NC 19 TOOO 63 via R107 20 TOO6 36 via R83 21 TIOO 64 via R109 22 TIO7 34 via R87 23 INTP4 27 via R85 24 NC NC 25 NC NC 26 NC NC Table 7 2 Application Header JA2 Connections R20UT0926EG0100 Rev 1 00 TEN ESAS Page 29 of 41 Jan 15 2013 RSKRL78L12 7 Headers Table 7 3 below lists the connections of the application header JA5 Application Header JA5 Pin Circuit Net Name MCU Pin Pin Circuit Net Name MCU Pin 1 ANI20 57 via R111 2 ANI21 56 via R113 3 ANI22 55 via R115 4 ANI23 54 via R117 5 NC NC 6 NC NC 7 NC NC 8 NC NC 9 NC NC 10 NC NC 11 NC NC 12 NC NC 13 NC NC 14 NC NC 15 NC NC 16 NC NC 17 NC NC 18 NC NC 19 NC NC 20 NC NC 21 NC NC 22 NC NC 23 NC NC 24 NC NC Table 7 3 Application Header JA5 Connections Table 7 4 below lists the connections of the application header JA6 Application Header JA6 Pin Circuit Net Name MCU Pin Pin Circuit Net Name MCU Pin 1 NC NC 2 NC NC 3 NC NC 4 NC NC 5 RS232TX 60 6 RS232RX 61 7 NC NC 8 NC NC 9 S001 38 via R75 10 NC NC 11 SCKO1n 40 via R71 12 S101 3
42. to the voltage regulator U2 pin 3 pin from the voltage regulator U2 and Board_5V pin 3 and Board_5V R17 Connects CON_5V JA1 pin 1 to the Disconnects CON_5V JA1 pin 1 R16 R18 power socket PWR pin from the power socket PWR pin R18 Connects Unregulated_VCC JA6 pin Disconnects Unregulated_VCC R16 23 to the power socket PWR pin JA6 pin 23 from the power socket PWR pin R22 Connects external power supply to Disconnects external power supply J5 R26 R23 Board_VDD from Board_VDD R23 Connects Board_VDD to CON_3V3 Disconnects Board VDD from R25 R22 JA1 pin 3 CON 3V3 JA1 pin 3 R24 Connects external power supply to Disconnects external power supply J5 R27 R25 Board_EVDD from Board_EVDD R25 Connects Board EVDD to CON 3V3 Disconnects Board EVDD from R23 R24 JA1 pin 3 CON 3V3 JA1 pin 3 R26 Connecis UC VDD to Board VDD Disconnects UC VDD from J7 R22 bypassing J7 Board VCC R27 Connects UC EVDD to Board EVDD Disconnects UC EVDD from J8 R24 bypassing J8 Board_EVDD Table 6 8 Power Supply Option Links Table 6 9 below details the function of the jumpers associated with power supply configuration Reference Position One Position Two Position Three Related Ref J5 All pins open Pins 1 and 2 connected The Pins 2 and 3 connected Disconnects Board_VDD voltage regulator U2 is Connects Board_VDD and Board_EVDD from bypassed and Board_VDD and Board_EVDD to the voltage regulator U2 pin and Board_EVDD

Download Pdf Manuals

image

Related Search

Related Contents

Regulador de velocidad 2301A  Acesonic BDK-2000 Karaoke Machine User Manual  Energies renouvelables De 1000 à 5000 VA  Activated Kart Transponder Manual  Belkin WristFit  Samsung CE287AST/XAG User Manual  Avaya 4625SW User Guide  ResMed Nasal Mask Mirage Kidsta User's Manual  

Copyright © All rights reserved.
Failed to retrieve file