Home

Renesas Starter Kit for R32C/118 User`s Manual

image

Contents

1. Pin Circuit Net Name Device pin Pin Circuit Net Name Device pin 1 IIC SDA TxD2 37 via R114 2 PTTX 38 3 UC VCC1 4 PTRX 40 5 GROUND 6 PTCK 42 7 E8_BUSY 43 8 TxDO 44 9 RxDO 45 10 CLKO 46 11 CTSRTS 47 12 P13 7 48 13 P13 6 49 14 P13 5 50 15 P13 4 51 16 RDYn 52 17 ALE 53 18 E8 EPM 54 19 UD 55 20 P13 3 56 21 GROUND 22 P13 2 58 23 UC VCC1 24 P13 1 60 25 P13 0 61 26 TRSTn 62 27 RDn 63 28 WRHn 64 29 WRLn WRn 65 30 P12 7 66 31 P12 6 67 32 P12 5 68 33 A23 CS0n 69 34 A22 CS1n 70 35 A21 CS2n 71 36 A20 CS3n 72 Table 9 2 J2 microcontroller header 22 Pin Circuit Net Name Device pin Pin Circuit Net Name Device pin 1 A19 LED3 73 2 UC VCC1 3 A18 LED2 75 4 GROUND 5 A17 LED1 77 6 A16 LEDO 78 7 A15 107 79 8 A14 106 80 9 A13 105 81 10 A12 104 82 11 A11 103 83 12 A10 102 84 13 A9 101 85 14 P12 4 86 15 P12 3 87 16 P12 2 88 17 P12 1 89 18 P12 0 90 19 UC VCC2 UC VCC1 20 A8 100 92 21 GROUND 22 AT DLCDD7 94 23 A6 DLCDD6 95 30 A5 DLCDD5 96 25 A4 DLCDD4 97 31 A3 98 27 A2 99 32 A1 DLCDE 100 29 A0 DLCDRS 101 33 D15 CAN1 ERR 102 31 D14 CANO ERR 103 34 D13 INT3n 104 33 D12 105 35 D11 106 35 D10 107 36 D9 108 Table 9 3 J3 microcontroller header 23 Pin Circuit Net Name Device pin Pin Circuit Net Name Device pin 1 D8 109 2 D7 110 3 D6 111 4 D5 112 5 D4 113 6 P11 4 114 7
2. E8A connector E8A connector Table 6 6 E8A Configuration Links Table 6 7 below describes the function of the option links associated with Power Source configuration 12 Option Link Settings Reference Function Fitted Alternative Removed Related To R13 Power Source Board can be powered from the PWR Disconnects the supply from the PWR R22 R44 connector connector R22 Power source Connects Board VCC2 to PWR supply Disconnects Board VCC2 from PWR R13 R25 supply R26 R24 Microcontroller Supply power to the Microcontroller Disables 5V power supply to the MCU pin Power Supply pin VCC2 VCC2 Supply current to the sections powered from VCC2 pin of the MCU can be measured across J5 R25 Power source Connect Board VCC2 to CON 3V3 Disconnect Board VCC2 from CON 3V3 R22 R26 R26 Power source Connect Board VCC2 to CON 5V Disconnect Board VCC2 from CON 5V R22 R25 R42 Powersource Connect Board VCC1 to CON 3V3 Disconnect Board VCC1 from CON 3V3 R43 R44 R43 Power source Connect Board VCC1 to CON 5V Disconnect Board VCC1 from CON 5V R42 R44 R44 Power source Connect Board VCC1 to PWR supply Disconnect Board VCC1 from PWR supply R13 R22 R42 R43 R48 Microcontroller Supply power to the Microcontroller Disables 5V power supply to the MCU pin Power Supply pin VCC1 VCC1 Supply current to the sections powered from VCC1 pin of the MCU c
3. 0 pin Interface LEDO 78 from LEDO R68 Application Board Connects MCU port pin p4 2 pin 75 to Disconnects MCU port pin p4 2 pin Interface LED2 75 from LED2 R71 Application Board Connects MCU port pin p2 0 pin 101 Disconnects MCU port pin p2 0 pin Interface to DLCDRS on Debug LCD Header 101 from DLCDRS on Debug LCD Header R74 Application Board Connects MCU port pin p2 1 pin 100 Disconnects MCU port pin p2 1 pin Interface to DLCDE on Debug LCD Header 100 from DLCDE on Debug LCD Header 14 R75 Application Board Connects MCU port pin p2 5 pin 96 to Disconnects MCU port pin p2 5 pin Interface DLCDD5 on Debug LCD Header 96 from DLCDD5 on Debug LCD Header R76 Application Board Connects MCU port pin p2_7 pin 94 to Disconnects MCU port pin p2_7 pin Interface DLCDD7 on Debug LCD Header 94 from DLCDD7 on Debug LCD Header R77 Application Board Connects MCU port pin p5_0 pin 65 to Disconnects MCU port pin p5_0 pin R78 Interface WRn at JA3 26 65 from WRn R78 Application Board Connects MCU port pin p5 0 pin 65 Disconnects MCU port pin p5 0 pin R77 Interface to WRLn at JA3 48 65 from WRLn R79 Application Board Connects MCU port pin p1 7 pin 102 Disconnects MCU port pin p1_7 pin R80 Interface to CAN1 ERR 102 from CAN1 ERR R80 Application Board Connects MCU port pin p1 7 pin 102 to Disconnects MCU port p
4. 2 R41 R28 R29 UART1 Spare Serial Port TX Port6 7 R59 R47 R70 UART1 Spare Serial Port RX Port 6 6 R28 R29 R41 Table 6 3 Serial Options Links The board is designed to accept a straight through RS 232 male to female cable The second transceiver channels are connected to a 0 1 header J7 UART2 can be connected to this channel by fitting 0O link resistors to R63 and R64 6 5 Debug LCD Module The LCD module supplied with the RSK can be connected to the connector LCD for use with the tutorial code Any module that conforms to the pin connections and has a KS0066u compatible controller can be used The LCD module uses a 4 bit interface to reduce the pin allocation No contrast control is provided this must be set on the display module Table 6 4 shows the pin allocation and signal names used on this connector The module supplied with the RSK board only supports 5V operation LCD Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 Ground 2 5V Only 3 No Connection 4 DLCDRS p2 0 101 5 R W Wired to Write only 6 DLCDE p2 1 100 T No Connection 8 No Connection 9 No Connection 10 No Connection 11 DLCDD4 p2 4 97 12 DLCDD5 p2 5 96 13 DLCDD6 p2 6 95 14 DLCDD7 p2 7 94 Table 6 4 Debug LCD Module Connections 6 6 Option Links In this section the default configuration is indicated by BOLD text Table 6 5 below descr
5. 46 ALE ALE 53 49 CASn NC 50 RASn NC 26 Table 9 7 JA3 Standard Generic Header Pin Generic Header RSK board Signal Device Pin Generic Header RSK board Signal Device Pin Name Name Pin Name Name 1 AD4 AN4 136 2 AD5 AN5 135 3 AD6 AN6 134 4 AD7 AN7 133 5 CANTTX CANO OUT 31 6 CAN1RX CANO IN 30 7 CAN2TX CAN1 OUT 1 8 CAN2TX CAN1_IN 2 9 AD8 NC 10 AD9 NC 11 AD10 NC 12 AD11 NC 13 TIOCOA NC 14 TIOCOB NC 15 TIOCOC NC 16 M2 TRISTn NC 17 TCLKC NC 18 TCLKD NC 19 M2 Up NC 20 M2 Un NC 21 M2 Vp NC 22 M2Vn NC 23 M2 Wp NC 24 M2Wn NC Table 9 8 JA5 Standard Generic Header Pin Generic Header RSK board Signal Device Pin Pin Generic Header RSK board Signal Device Pin Name Name Name Name 1 DREQ NC 2 DACK NC 3 TEND NC 4 STBYn NC 5 RS232TX RS232TX 6 RS232RX RS232RX 7 SCIbRX RxD2 36 8 SCIbTX TxD2 37 9 SCIcTX NC 10 SCIbCK CLK2 35 11 SCICCK NC 12 SCIcRX NC 13 Reserved NC 14 Reserved NC 15 Reserved NC 16 Reserved NC 17 Reserved NC 18 Reserved NC 19 Reserved NC 20 Reserved NC 21 Reserved NC 22 Reserved NC 23 Reserved NC 24 Reserved NC Table 9 9 JA6 Standard Generic Header 27 Chapter 10 Code Development 10 1 Overview Note For all code debugging using Renesas software tools the RSK board must either be connected
6. NMIn NMIn 24 4 Vss1 GROUND 5 WDT OVF NC 6 SClaTX TxDO 44 7 IRQO INTOn 2 8 SClaRX RXDO 45 9 IRQ1 INT1n 26 10 SClaCK CLKO 46 11 UD UD 55 12 CTSRTS CTSRTS 47 13 Up Up 29 14 Un Un 28 15 Vp Vp 35 16 Vn Vn 34 17 Wp Wp 33 18 Wn Wn 32 19 TMRO TA20UT 33 20 TMR1 TA4OUT 29 21 TRIGa TA2IN 32 22 TRIGb TA4IN 28 23 IRQ2 INT2n 25 24 TRISTn TRSTn 62 25 Reserved NC 26 Reserved NC Table 9 6 JA2 Standard Generic Header 25 Pin Generic Header RSK board Signal Device Pin Pin Generic Header RSK board Signal Name Device Pin Name Name Name 1 AO A0 DLCDRS 101 2 A A1 DLCDE 100 3 A2 A2 99 4 A3 A3 98 5 A4 A4_DLCDD4 97 6 A5 A5_DLCDD5 96 7 AG A6 DLCDD6 95 8 AZ A7_DLCDD7 94 9 A8 A8_100 92 10 A9 A9 101 85 11 A10 A10 102 84 12 A11 A11_103 83 13 A12 A12 104 82 14 A13 A13 105 81 15 A14 A14 106 80 16 A15 A15 107 79 17 DO DO 122 18 D1 D1 121 19 D2 D2 120 20 D3 D3 119 21 D4 D4 113 22 D5 D5 112 23 D6 D6 111 24 D7 D7 110 25 RDn RDn 63 26 WRn WRn 65 27 CSan A23 CS0n 69 28 CSbn CS1n 70 29 D8 D8 109 30 D9 D9 108 31 D10 D10 107 32 D11 D11 106 33 D12 D12 105 34 D13 D13 104 35 D14 D14 103 36 D15 D15 102 37 A16 A16 LEDO 78 38 A17 A17 LED1 77 39 A18 A18 LED2 75 40 A19 A19 LED3 73 41 A20 A20 CS3n 72 42 M21 A21 71 43 A22 A22 70 44 SDCLK NC 45 CScn CS2n 71 48 LWRn WRLn 65 47 HWRn WRHn 64
7. P11_3 115 8 P11_2 116 9 P11 1 117 10 P11 0 118 11 D3 119 12 D2 120 13 D1 121 14 DO 122 15 P15 7 123 16 P15 6 124 17 P15 5 125 18 P15 4 126 19 P15 3 127 20 P15 2 128 21 P15 1 129 22 GROUND 23 P15 0 131 24 UC VCC1 25 AN7 CAN1 STBn 133 26 AN6 CAN1 EN 134 27 AN5 CANO STBn 135 28 AN4 CANO EN 136 29 AN3 137 30 AN2 138 31 AN1 139 32 AVSS 140 33 ADPOT ANO 141 34 CON VREF 142 via R122 35 CON AVCC 143 via R90 36 ADTRGn 144 Table 9 4 J4 microcontroller header 24 9 2 Application Headers Standard application header connections are detailed in Table 9 5 to Table 9 9 Pin Generic Header RSK board Signal Device Pin Pin Generic RSK board Signal Device pin Name Name Header Name Name 1 5V CON 5V 2 0V 5V GROUND 3 3V3 CON_3V3 4 OV 3V3 GROUND 5 AVcc CON AVCC 6 AVss AVSS 94 7 AVref CON_VREF 8 ADTRG ADTRGn 98 9 ADO ANO 141 10 AD1 AN1 139 11 AD2 AN2 138 12 AD3 AN3 137 13 DACO DAO 4 14 DAC1 DA1 3 is IO 0 100 92 16 10_1 101 85 17 IO 2 102 84 18 10_3 103 83 19 IO 4 104 82 20 IO 5 105 81 21 IO 6 106 80 22 10_7 107 79 23 IRQ3 INT3n 104 24 IIC EX NC 25 IIC SDA IIC SDA 37 via R114 26 IIC SCL IIC SCL 36 via R115 Table 9 5 JA1 Standard Generic Header Pin Generic Header RSK board Signal Device Pin Pin Generic Header RSK board Device Pin Name Name Name Signal Name 1 RESn RESn 19 2 EXTAL CON XIN 13 via R120 3
8. R123 Application Board Connects MCU port pin p10 6 pin 134 Disconnects MCU port pin p10 6 pin R119 Interface to CAN1 EN 134 from CAN1 EN R131 Application Board Connects MCU port pin p10 7 pin 133 to Disconnects MCU port pin p10 7 R135 Interface ANT at JA5 4 pin 133 from AN7 16 R135 Application Board Connects MCU port pin p10 7 pin 133 Disconnects MCU port pin p10 7 pin R131 Interface to CAN1 STBn 133 from CAN1 STBn Table 6 9 Application Board Interface configuration links Table 6 10 below describes the function of the option links associated with Clock configuration Option Link Settings Reference Function Fitted Alternative Removed Related To R120 Main clock Connects the external clock to the MCU On board clock X1 can be connected R124 R124 Main clock Connects the on board clock X1 to the External Clock Source can be connected R120 MCU R125 Main clock Connects the on board clock X1 from the External Clock Source can be connected R126 MCU R126 Main clock Connects the external clock from the MCU On board clock X1 can be connected R125 R127 Sub clock Connects the external clock from the MCU On board sub clock X2 can be connected R128 R128 Sub clock Connects the on board clock from the MCU External Clock Source can be connected R127 R129 Sub clock Connects the on board clock to the MCU Extern
9. R51 Application Board Connects MCU port pin p3 0 pin 92 to Disconnects MCU port pin p3 0 pin Interface 100 at JA1 15 92 from 100 R52 Application Board Connects MCU port pin p3_1 pin 85 to Disconnects MCU port pin p3 1 pin Interface 101 at JA1 16 85 from 101 R53 Application Board Connects MCU port pin p3 2 pin 84 to Disconnects MCU port pin p3 2 pin Interface 102 at JA1 17 84 from 102 R54 Application Board Connects MCU port pin p3 3 pin 83 to Disconnects MCU port pin p3 3 pin Interface 103 at JA1 18 83 from IO3 R55 Application Board Connects MCU port pin p3 4 pin 82 to Disconnects MCU port pin p3 4 pin Interface 104 at JA1 19 82 from IO4 R56 Application Board Connects MCU port pin p3 5 pin 81 to Disconnects MCU port pin p3 5 pin Interface IO5 at JA1 20 81 from 105 R57 Application Board Connects MCU port pin p3 6 pin 80 to Disconnects MCU port pin p3 6 pin Interface 106 at JA1 21 80 from IO6 R58 Application Board Connects MCU port pin p3 7 pin 79 to Disconnects MCU port pin p3 7 pin Interface 107 at JA1 22 79 from IO7 R65 Application Board Connects MCU port pin p1 5 pin 104 Disconnects MCU port pin p1 5 pin R66 Interface to D13 at JA3 34 104 from D13 R66 Application Board Connects MCU port pin p1 5 pin 104 to Disconnects MCU port pin p1 5 pin R65 Interface INT3n at JA1 23 104 from INT3n R67 Application Board Connects MCU port pin p4 0 pin 78 to Disconnects MCU port pin p4
10. gt 79 I R47 0000000000 0000000000 Ez ag R78 jac ac oe los f ca Rei o R 79 f IRBO go R65 R87 p IR67 RES zx qo I 5 i gt El B Es a j zd ko 68 500 29 210 26 670 3 810 6 Ko oled doc R 16 800 e 25 400 27 940 33 020 pe 35 560 48 260 rm 50 800 PTT 55 880 _3 86 360 ee 108 680 PP 120 000 ois Figure 4 2 Board Dimensions 4 3 Dual Footprint QQ S obol ND ii Q DIO M NM MOS a Aer o Xd O0 o3 OD IO w CQ Q NM M P MOS a DANSER AN SED A QQQQQ0Q Q OIOIOIOIOIO O Vv gt 13 14 15 16 O O 17 18 O 19 20 O O 2122 O O 23 24 O Of 25 26 O O 2728 C O 29 30 C Of 3132 C O 3334 C O 3536 GO yoo DSPILSVAAARKRSSAA enon o LELANA DSS Note Pins marked in blue color not available for use on 100 pin package Figure 4 3 Dual Footprint Connection y Lu E o M 14 omni R32C118 LQFP144 oe Kele Ke lee l e le Ne Ke elle jlle Helle jle ke 000000000000000000 R32C118 LQFP100 Figure 4 5 R32C118 LQFP100 fitted on board Chapter 5 Block Diagram Figure 5 1 shows the RSK board com
11. 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 C 7 D me T lt D D 24 NC SAS Renesas Starter Kit for R32C 118 User s Manual RENESAS SINGLE CHIP MICROCOMPUTER R32C 100 Series Renesas Electronics Rev 1 00 2009 02 www renesas com 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 dama
12. on pressing the reset button This control is subsequently used to modify a port pin state to select which code is executed The reset is held in the active state for a fixed period by a resistor capacitor network Please check the reset requirements carefully to ensure the reset circuit on the user s board meets all the reset timing requirements 18 Chapter 7 Modes The MCU can be configured in User mode and Boot mode User mode may be used to run and debug user code while Boot mode may only be used to program the MCU with program code via the serial interface Further details of programming the flash are available in the R32C 118 device hardware manual The RSK board provides the capability of changing between User and Boot User Boot modes using a simple latch circuit This is only to provide a simple mode control on this board when the E8A debugger is not in use To manually enter boot mode press and hold the SW1 BOOT The mode pins are held in their boot states while reset is pressed and released Release the boot button The BOOT LED will be illuminated to indicate that the microcontroller is in boot mode More information on the operating modes can be found in the device hardware manual 7 1 Boot mode The boot mode settings for this RSK board are shown in Table 7 1 below CNVSS CEn EPMn LSI State after Reset End 1 1 0 Boot Mode Table 7 1 Boot Mode pin settings 7 2 User Mode T
13. port pin p7 1 pin 36 to Disconnects MCU port pin p7 1 pin R109 Interface RxD2 at JA6 7 via a 22R resistor 36 from RxD2 R108 Application Board Connects MCU port pin p8 0 pin 29 to Disconnects MCU port pin p8 0 pin R106 Interface TA4OUT at JA2 20 29 from TA4OUT R109 Application Board Connects MCU port pin p7 1 pin 36 to Disconnects MCU port pin p7_1 pin R107 Interface IIC SCL at JA1 26 via a 22R resistor 36 from IIC SCL R110 Application Board Connects MCU port pin p8 1 pin 28 to Disconnects MCU port pin p8 1 pin R112 Interface Un at JA2 14 28 from Un R111 Application Board Connects MCU port pin p10 4 pin 136 Disconnects MCU port pin p10 4 pin R113 Interface to CANO EN 136 from CANO EN R112 Application Board Connects MCU port pin p8 1 pin 28 to Disconnects MCU port pin p8 1 pin R110 Interface TA4IN at JA2 22 28 from TA4IN R113 Application Board Connects MCU port pin p10_4 pin 136 to Disconnects MCU port pin p10 4 R111 Interface AN4 at JA5 1 pin 136 from ANO R116 Application Board Connects MCU port pin p10_5 pin 135 to Disconnects MCU port pin p10 5 R117 Interface AN5 at JA5 2 pin 135 from AN5 R117 Application Board Connects MCU port pin p10 5 pin 135 Disconnects MCU port pin p10 5 pin R116 Interface to CANO STBn 135 from CANO STBn R119 Application Board Connects MCU port pin p10 6 pin 134 to Disconnects MCU port pin p10 6 R123 Interface ANG at JA5 3 pin 134 from ANG
14. to a PC serial port via a serial cable or a PC USB port via an E8A Due to the continuous process of improvements undertaken by Renesas the user is recommended to review the information provided on the Renesas website at www renesas com to check for the latest updates to the Compiler and Debugger manuals 10 2 Compiler Restrictions The compiler supplied with this RSK is fully functional for a period of 60 days from first use After the first 60 days of use have expired the linker will limit the object size to a maximum of 64kB To use the compiler with programs greater than this size you will need to purchase the full tools from your distributor Warning The protection software for the compiler will detect changes to the system clock Changes to the system clock back in time may cause the trial period to expire prematurely 10 3 Breakpoint Support This RSK is supplied with an E8A emulator which supports breakpoints in ROM For more details on breakpoints amp E8A functions please refer to the E8A USB Emulator User s Manual 28 10 4 Memory Map The memory map shown below gives the locations of each memory area 00000000h SFR1 00000400h Internal RAM Internal RAM XXXXXXXXh XXXXXXXXh 48 Kbytes 0000C400h Reserved 63 Kbytes 00010000h 00040000h SFR2 anda taal Internal ROM Data space 00062000h Reserved FFFFFFDCh Internal ROM 00080000h Capacity YYYYYYYYh External space BRK instruction 64
15. 0 Kbytes FFF60000h 768 Kbytes FFF40000h FFEO0000h Hi 1 Mbyte FFFO0000h E Watchdog timer YYYYYYYYh Internal ROM E NM 3 Feet rere FFFFFFFFnE Rest 3 Additional two 4 Kbyte spaces blocks A and B for storing data are provided in the flash memory version This space can be used in memory expansion mode or microprocessor mode Addresses from 02000000h to FDFFFFFFh are inaccessible This space is reserved in memory expansion mode It can be external space in microprocessor mode This space can be used in single chip mode or memory expansion mode It can be external space in microprocessor mode The watchdog timer interrupt shares the vector table with the oscillation stop detection interrupt and low voltage detection interrupt Undefined instruction Figure 10 1 Memory Map For more details please refer to the R32C 118 Hardware manual 29 FFF7FFFFh FFF80000h FFF9FFFFh FFFA0000h FFFAFFFFh FFFBOO00h FFFCFFFFh FFFDO000h FFFDFFFFh FFFEO000h FFFE7FFFh 640 KB version Figure 10 2 Flash memory map 30 768 KB version 1 MB version FRONT Chapter 11 Component Placement TEER IA As os mm e ee A o R71 U Jg dE SI Beer g POLO JU ocjacjos El E i keal LE o DB Ei BEER Ga Gal Cui eN ke aeee E o lono e vlo ko LE R 6 RUE am o R34 E
16. ERK su eiit ne Petr en rde Pete nada 6 9 Reset CIE CUI ioi T e br DU T IR ERES Chapter 7 Modes is cc o an rd eta te a ttis 731 Boot mode ep eee TTT TES ede dep ee debct E ede 4 2 User Mode eite iot d ot s gt Chapter 8 Programming Methods essen Ghapter 9 Eleadetrs re ater ret i e n te TES Rer arbon fagio cee 9 1 Microcontroller Ring Headers sese 9 2 Application Headers ior ient tete rr Ber een teer en Chapter 10 Code Development nanne eneen enneenenenenneerenennenennanenenneenenn 10 1 OVetVIOW e td cute 10 2 Compiler Restrictions annae ereen enneenenneer arrancan rca rra 10 3 Breakpoint Supporti tenet cg tete teer nenne et 10 4 Memory Map sss AITA Chapter 11 Component Placement sssssssssseeeeeeeene enne Chapter 12 Additional Information esssssssssseeeeeeeee ene Chapter 1 Preface Cautions This document may be wholly or partially subject to change without notice All rights reserved No one is permitted to reproduce or duplicate in any form a part or this entire document without the written permission of Renesas Technology Europe Limited Trademarks All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or organisations Copyright 2009 Renesas Technology Europe Ltd All rights reserved 2009 Renesas Technology Corporation All right
17. NO R97 Application Board Connects MCU port pin p7 2 pin 26 to Disconnects MCU port pin p7 2 pin R98 Interface CLK2 at JA6 10 26 from CLK2 R98 Application Board Connects MCU port pin p7 2 pin 35 to Disconnects MCU port pin p7 2 pin R97 Interface Vp at JA2 15 35 from Vp 15 R99 Application Board Connects MCU port pin p7 4 pin 33 to Disconnects MCU port pin p7_4 pin R101 Interface Wp at JA2 17 33 from Wp R101 Application Board Connects MCU port pin p7 4 pin 33 to Disconnects MCU port pin p7 4 pin R99 Interface TA20UT at JA2 19 33 from TA2OUT R102 Application Board Connects MCU port pin p7 5 pin 32 to Disconnects MCU port pin p7 5 pin R104 Interface Wn at JA2 18 32 from Wn R103 Application Board Connects MCU port pin p7_0 pin 37 to Disconnects MCU port pin p7 0 pin R105 Interface TxD2 at JA6 8 via a 22R resistor 37 from TxD2 R104 Application Board Connects MCU port pin p7 5 pin 32 to Disconnects MCU port pin p7 5 pin R102 Interface TAZIN at JA2 21 32 from TA2IN R105 Application Board Connects MCU port pin p7 0 pin 37 to Disconnects MCU port pin p7 0 pin R103 Interface IIC SDA at JA1 25 via a 22R resistor 37 from IIC SDA R106 Application Board Connects MCU port pin p8 0 pin 29 to Disconnects MCU port pin p8 0 pin R108 Interface Up at JA2 13 29 from Up R107 Application Board Connects MCU
18. S TEN B R37 R56 o R38 R57 Rid R58 oJ R40 o IR 7 7 O DI OI MOMO OC amp BSSEEE e Aita Ren lala R62 Res R79 5 R80 A E R64 B DE ij ac o R66 Noe R67 ESB CBE rez R69 B 7 ENS nio 2 ZD D O0 JOO 00 00 OO oop gt a EY SERIAL ET 0 0 o Figure 11 1 Component Placement Top Layer 31 Chapter 12 Additional Information For details on how to use High performance Embedded Workshop HEW refer to the HEW manual available on the CD or installed in the Manual Navigator For information about the R32C 118 microcontrollers refer to the R32C 118 Group Hardware Manual For information about the R32C 118 assembly language refer to the R32C 100 Software Manual For information about the E8A Emulator please refer to the E8A Emulator User s Manual Online technical support and information is available at http www renesas com renesas starter kits Technical Contact Details America techsupport rta Drenesas com Europe tools support eu renesas com Japan csc renesas com General information on Renesas Microcontrollers can be found on the Renesas website at http Avww renesas com 32 Renesas Starter Kit for R32C 118 User s Manual Publication Date Rev 1 00 28 FEB 2009 Published by Renesas Technology Europe Ltd Duke s Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH United Kingdom 92009 Renesas Te
19. To our customers Old Company Name in Catalogs and Other Documents On April 1 2010 NEC Electronics Corporation merged with Renesas Technology Corporation and Renesas Electronics Corporation took over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electronics website http www renesas com April 1 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry 2 NE S AS 8 10 11 12 Notice All information included in this document is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website 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 gr
20. al Clock Source can be connected R130 R130 Sub clock Connects the external clock to the MCU On board sub clock X2 can be connected R129 R132 Sub clock Parallel resistor for X2 Not fitted R133 Main clock Parallel resistor for X1 Not fitted Table 6 10 Clock configuration links 6 7 Oscillator Sources A crystal oscillator is fitted on the RSK board and used to supply the main clock input to the Renesas microcontroller The oscillators that are fitted and alternative footprints provided on this RSK board are detailed in Table 6 11 Component Crystal X1 Fitted 16 0MHz HC49 4H package Crystal X2 Fitted 32 768 KHz 90SMX package Table 6 11 Oscillators Resonators Warning When replacing the default oscillator with that of another frequency the debugging monitor may not function until the debugger settings are modified to suit the debugger 6 8 Reset Circuit The RSK board includes a simple latch circuit that links the mode selection and reset circuit This provides an easy method for swapping the device between Boot Mode and User mode This circuit is not required on customers boards as it is intended for providing easy evaluation of the operating modes of the device on the RSK Please refer to the hardware manual for more information on the requirements of the reset circuit 17 The reset circuit operates by latching the state of the boot switch SW1
21. an be measured across J6 Table 6 7 Power configuration links Table 6 8 below describes the function of the option links associated with Analog Voltage Source configuration Option Link Settings Reference Function Fitted Alternative Removed Related To R89 Analog Voltage Links the analog ground to the Isolates the analog ground from the Source digital ground digital ground R90 Analog Voltage Connects AVCC to CON AVCC on Disconnects AVCC from CON AVCC R134 Source JA1 R121 Voltage Reference Connects VREF to Board VCC1 Disconnects VREF from Board VCC1 R122 Source R122 Voltage Reference Connects VREF to CON VREF on JA1 Disconnects VREF from CON VREF R121 Source R134 Analog Voltage Connects AVCC to Board VCCI Disconnects AVCC from Board VCC1 R90 Source Table 6 8 Analog configuration links Table 6 9 below describes the function of the option links associated with application board interface 13 Option Link Settings Reference Function Fitted Alternative Removed Related To R49 Application Board Connects MCU port pin p2_4 pin 97 to Disconnects MCU port pin p2_4 pin R75 R50 Interface DLCDD4 on Debug LCD Header 97 from DLCDD4 on Debug LCD R76 Header R50 Application Board Connects MCU port pin p2_6 pin 95 to Disconnects MCU port pin p2_6 pin R75 R49 Interface DLCDD6 on Debug LCD Header 95 from DLCDD6 on Debug LCD R76 Header
22. anted 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 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 When exporting the 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 You should not use Renesas Electronics products or the 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 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 Renesas Electronics has used reasonable care in preparing the information included in this document b
23. are six LEDs on the RSK board The green POWER LED lights when the board is powered The orange BOOT LED indicates the device is in BOOT mode when lit The four user LEDs are connected to an I O port and will light when their corresponding port pin is set low Table 6 2 below shows the LED pin references and their corresponding microcontroller port pin connections LED Reference As Colour Microcontroller Port Microcontroller shown on silkscreen Pin function Pin Number LEDO Green Port 4 bit 0 78 LED1 Orange Port 4 bit 1 TT LED2 Red Port 4 bit 2 75 LED3 Red Port 4 bit 3 73 Table 6 2 LED Port 6 3 Potentiometer A single turn potentiometer is connected to pin ANO p10 0 pin 141 of the microcontroller This may be used to vary the voltage at this pin between AVCC and Ground Note The potentiometer is fitted to offer an easy way of supplying a variable analogue input to the controller It does not necessarily reflect the accuracy of the controllers ADC Please see the device manual for details 6 4 Serial port Serial port UARTO is connected to the standard RS232 header Serial port UART1 can optionally be connected to the RS232 The connections to be fitted are listed in the Table 6 3 Description Function Microcontroller Fit for RS232 Remove for RS232 Port Pin UARTO Default serial port TX Port6 3 R47 R70 R59 UARTO Default serial port RX Port 6
24. chnology Europe and Renesas Solutions Corp All Rights Reserved Renesas Starter Kit for R32C 118 User s Manual 241 NE SAS Renesas Electronics Corporation 1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan REG10J0153 0100
25. ges 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 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 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 is use e consult the dealer or an experienced radio TV technician for help NOTE It is recommended that wherever possible shielded
26. he R32C 118 supports single chip and microprocessor modes The default user mode for the RSKR32C118 is Single chip CNVSS CEn EPMn LSI State after Reset End 0 0 1 Single chip Mode 1 0 1 Microprocessor Mode Table 7 2 User Mode pin settings 19 Chapter 8 Programming Methods The board is intended for use with HEW and the supplied E8A debugger only Please refer to R32C 118 Group Hardware Manual for details of the programming methods using the on chip serial port and without using E8A debugger 20 Chapter 9 Headers 9 1 Microcontroller Ring Headers The microcontroller pin headers and their corresponding microcontroller connections are detailed in Table 9 1 to Table 9 4 Pin Circuit Net Name Device pin Pin Circuit Net Name Device pin 1 CAN1 OUT 1 2 CAN1_IN 2 3 DA1 3 4 DAO 4 5 P9 2 5 6 P9 1 6 7 P9 0 7 8 P14 6 8 9 P14 5 9 10 P14 4 10 11 P14 3 11 12 NC 13 P14 1 13 14 NC 15 NC 16 E8 CNVSS 16 17 CON XCIN 17 via R130 18 CON XCOUT 18 via R127 19 RESn 19 20 CON XOUT 20 via R126 21 GROUND 21 22 CON XIN 22 via R120 23 UC VCC1 23 24 NMIn 24 25 INT2n 25 26 INT1n 26 27 INTOn 27 28 TA4IN Un 28 29 TA4OUT Up 29 30 CANO IN 30 31 CANO OUT 31 32 TA2IN Wn 32 33 TA2OUT Wp 33 34 Vn 34 35 CLK2 Vp 35 36 IICSCL RxD2 36 via R115 Table 9 1 J1 microcontroller header 21
27. ibes the function of the option links associated with serial port configuration 10 Option Link Settings Reference Function Fitted Alternative Removed Related To R23 Serial Port Disables the RS 232 Transceiver Enables the RS 232 Transceiver R27 Configuration Must be removed if R27 is fitted R27 Serial Port Enables the RS 232 Transceiver Disables the RS 232 Transceiver R23 Configuration Must be removed if R23 is fitted R28 Serial Port Connects the programming port Rx to Disconnects the programming port Rx R29 R30 Configuration external serial connectors to external serial connectors R41 R29 Serial Port Routes the RS 232 serial port Rx to Disconnects the RS 232 serial port Rx R28 R41 Configuration application board interface JA6 6 from application board interface JA6 6 R41 Serial Port Connects serial port RXDO to CH1 of Disconnects serial port RXDO to CH1 of R28 R29 Configuration RS 232 transceiver RS 232 transceiver R47 Serial Port Connects serial port TXDO to CH1 of Disconnects serial port TXDO to CHI of R59 R70 Configuration RS 232 transceiver RS 232 transceiver R59 Serial Port Connects the serial programming port Disconnects the serial programming port R36 R47 Configuration Tx to external connectors not E8A Tx to external serial connectors R70 R63 Serial Port Connects UART2 Tx to the RS 232 Disconnects UART2 Tx from the RS 232 R69 Configura
28. in p1 7 pin R79 Interface D15 at JA3 36 102 from D15 R81 Application Board Connects MCU port pin p1 6 pin 103 Disconnects MCU port pin p1 6 pin R82 Interface to CANO ERR 103 from CANO ERR R82 Application Board Connects MCU port pin p1 6 pin 103 to Disconnects MCU port pin p1 6 pin R81 Interface D14 at JA3 35 103 from D14 R83 Application Board Connects MCU port pin p4 1 pin 77 to Disconnects MCU port pin p4 1 pin Interface LED1 TT from LED1 R84 Application Board Connects MCU port pin p4 3 pin 73 to Disconnects MCU port pin p4 3 pin Interface LED3 T3 from LED3 R85 Application Board Connects MCU port pin p4 5 pin 71 to Disconnects MCU port pin p4 5 pin R86 Interface A21 at JA3 42 71 from A21 R86 Application Board Connects MCU port pin p4 5 pin 71 to Disconnects MCU port pin p4 5 pin R85 Interface CS2n at JA3 45 71 from CS2n R87 Application Board Connects MCU port pin p4 6 pin 70 to Disconnects MCU port pin p4 6 pin R88 Interface A22 at JA3 43 70 from A22 R88 Application Board Connects MCU port pin p4 6 pin 70 to Disconnects MCU port pin p4 6 pin R87 Interface CS1n at JA3 28 70 from CS1n R94 Application Board Connects MCU port pin p10 0 pin 141 Disconnects MCU port pin p10 0 pin R96 Interface to Analog pot 141 from Analog pot R96 Application Board Connects MCU port pin p10 0 pin 141 to Disconnects MCU port pin p10 0 R94 Interface ANO at JA1 9 pin 141 from A
29. 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 Table of Contents Chapter Preface ao elated drenten reddi ep ka earn Chapter 2 Purpose iren ete b a e ltem and vetten Chapter 3 Power Supply sssssssssssssesesseee eene nennen enne nnne nnne 341 Requirements tide o EN dt E Md ts 3 2 Power up Behaviour ssssssssessseesss esent Ghapter 4 Board Layout da dd einen 43 Component LayOUt rn rime er d eid p kd ee Kaa ian nde 4 2 Board DIMENSIONS iia 4 3 Dual Footprint aceti et ce tu a dd ets Chapter 5 Block DIagrar iiec tento rer e creed e eee Rad Chapter 6 User Circuitry annen enen eneenennereeneeenanenennnenenenreneeeneneenenenenn GAVE SWITCMOS mrt teen edn 6 2 LEDS re varens ona A NAO EN ILO 6 3 Potentiometer cicatrices etie taseto 6 4 Serial port i t DA VAN EA IAGO 6 5 Debug LCD Module esses einn nte ennt entente 6 6 Option Links sus NNN ILOS 6 7 Oscillator SQUICES icit e alen rtf
30. ns equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life 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 F
31. ponents and their connectivity Application Board Headers Microcontroller Pin Headers Debug Header Option Serial Connector Option Figure 5 2 shows the E8A connections to the RSK Host PC Power Jack Option Microcontroller ADC Input Boot mode pins RESET IRQ IRQ IRQ Boot Circuitry pin RESn D type latch pin pin pin Potentiometer SW1 sw2 sw3 BOOT RES SWITCHES LEDs User 4 LEDS Power Green 1Green 1Orange 2Red Boot Orange Figure 5 1 Block Diagram USB Cable E8A Module l BN User Interface Cable Figure 5 2 E8A RSK Connections Chapter 6 User Circuitry 6 1 Switches There are four switches located on the RSK board The function of each switch and its connection are shown in Table 6 1 Switch Functions Switch Function Microcontroller RES When pressed the microcontroller is reset RESn Pin 19 SW1 BOOT Connects to an IRQ input for user controls INTOn Pin 27 Port 8 bit 2 SW2 Connects to an IRQ line for user controls INT1n Pin 26 Port 8 bit 3 SW3 Connects to an IRQ line for user controls The same switch may also INT2n Pin 25 Port 8 bit 4 function as an ADC trigger input Table 6 1 Switch Functions Refer to the schematic for detailed connectivity information 6 2 LEDS There
32. s reserved 2009 Renesas Solutions Corporation All rights reserved Website http www renesas com Glossary ADC Analog to Digital Converter DAC E8A E8A emulator HEW 1 0 Input Output LCD LED Light Emitting Diode MCU RSK Renesas Starter Kit UART USB Universal Serial Bus Digital to Analog Converter High Performance Embedded Workshop Liquid Crystal Display Microcontroller Unit Universal Asynchronous Receiver Transmitter Chapter 2 Purpose This RSK is an evaluation tool for Renesas microcontrollers Features include e Renesas Microcontroller Programming e User Code Debugging e User Circuitry such as switches LEDs and potentiometer s e Sample Application e Sample peripheral device initialisation code The RSK board contains all the circuitry required for microcontroller operation 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 Chapter 3 Power Supply 3 1 Requirements This RSK board operates from a 5V DC power supply A diode provides reverse polarity protection only if a current limiting power supply is used All RSK boards are supplied with an E8A debugger This product is able to power the RSK board with up to 300mA When the RSK is connected to another system then that system should supply power to the RSK All RSK boards have an optional centre positive supply connec
33. tion transceiver transceiver R64 Serial Port Connects UART2 Rx to the RS 232 Disconnects UART2 Rx from the RS 232 R73 Configuration transceiver transceiver R69 Serial Port Connects UART2 Rx to the D type Disconnects UART2 Rx from the D type R64 Configuration connector connector R70 Serial Port Routes RS232 serial port Tx to Disconnects RS232 serial port Tx from R47 R59 Configuration application connector JA6 5 application board interface JA6 5 R73 Serial Port Connects UART2 Tx to the D type Disconnects UART2 Tx from the D type R63 Configuration connector connector Table 6 5 Serial port configuration links Table 6 6 below describes the function of the option links associated with E8A configuration 11 Option Link Settings Reference Function Fitted Alternative Removed Related To R30 E8A Connects the serial programming Disconnects the serial programming port Rx from R28 Configuration port Rx to the E8A connector the E8A connector R36 E8A Connects the serial programming Disconnects the serial programming port Tx from R59 Configuration port Tx to the E8A connector the E8A connector R40 E8A Connects the serial programming Disconnects the serial programming port CK from Configuration port CK to the E8A connector the E8A connector R33 E8A Connects the CPU port pin p5_0 to the Disconnects the CPU port pin p5_0 from the Configuration
34. tor using a 2 0mm barrel power jack Warning The RSK board is neither under nor over voltage protected Use a centre positive supply for this board 3 2 Power up Behaviour When the RSK is purchased the RSK board has the Release or stand alone code from the example tutorial code pre programmed into the Renesas microcontroller On powering up the board the user LEDs will start to flash After 200 flashes or after pressing any switch the LEDs will flash at a rate controlled by the potentiometer Chapter 4 Board Layout 4 1 Component Layout The following diagram shows the top layer component layout of the board Reset Switch Application Board Interface Application Board Interface RS232 Serial LCD Display ose Power LED E8A Header Microcontroller Pin Headers NY User LEDs E30A Header Boot LED y Analog POT Q Application Board Interface User Switches Figure 4 1 Board Layout 4 2 Board Dimensions The following diagram gives the board dimensions and connector positions All through hole connectors are on a common 0 1 grid for easy interfacing 114 320 86 360 50 800 HROS W2 S W S R V CICI men O BE dol ARD pm ter o 9 e R75 raal ee E B ES Ca o E ES Ka ko a R7 RB R14 aa Aaa Es AMIA a av SERGE lw AS E o
35. urther 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 system 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 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
36. ut 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 Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below 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 categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics 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 an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Computers office equipment communicatio

Download Pdf Manuals

image

Related Search

Related Contents

Cisco Emulex LPe 12002 Dual Port 8Gb Fibre Channel HBA  open eye x series hardware manual - Life Safety & Security Systems  ワイヤー式機械的インターロック装置 取扱説明書 Wire  CENTRIA WNDR4700/WNDR4720 User Manual    

Copyright © All rights reserved.
Failed to retrieve file