User’s Manual 32 RX62N Group Renesas Starter Kit+ User’s Manual RENESAS MCU RX Family / RX600 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.
Notice 1. 2. 3. 4. 5. 6. 7. 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.
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.
How to Use This Manual 1. Purpose and Target Readers This manual is designed to provide the user with an understanding of the RSK hardware functionality, and electrical characteristics. It is intended for users designing sample code on the RSK platform, using the many different incorporated peripheral devices. The manual comprises of an overview of the capabilities of the RSK product, but does not intend to be a guide to embedded programming or hardware design.
2.
Table of Contents 1. Overview............................................................................................................................................ 8 1.1 1.2 Purpose...................................................................................................................................................................... 8 Features...................................................................................................................................................
8. Code Development........................................................................................................................... 48 8.1 8.2 8.3 8.4 8.5 Overview................................................................................................................................................................. 48 Compiler Restrictions .............................................................................................................................................
RSK+RX62N RENESAS STARTER KIT+ REJ10J2198-0201 Rev.2.01 Nov 30, 2011 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.
RSK+RX62N 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+. All RSK and RSK+ boards have an optional centre positive supply connector using a 2.0mm barrel power jack. This RSK+ supports a wide range of voltage inputs, and requires specific configuration for different inputs.
RSK+RX62N 3. Board Layout 3. Board Layout 3.1 Component Layout Figure 3-1 below shows the top component layout of the board. Ethernet Status LEDs Application Headers USB Host USB OTG Ethernet Interface RX62N JA5 JA6 RS232 Serial Application Board Interface Debug LCD Header JA1 JA2 CAN Header Power Jack SW4 5V Rail LED 3.
RSK+RX62N 3.2 3. Board Layout Board Dimensions 3.2mm USB 150.00mm 143.00mm JA1 J20 JA2 CAN LCD 128.00mm JA5 JA6 Serial RX62N 111.82mm 68.64mm Ethernet 119.44mm USB 110.00mm 7.0mm 104.20mm 3.2mm 76.26mm 12.0mm 40.00mm 3.00mm 7.00mm 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. PWR TFT JA3 RV1 RES E20 E1 SW1 SW2 SW3 7.00mm 8.81mm 10.00mm 19.00mm 54.53mm 85.
RSK+RX62N 3.3 3. Board Layout Component Placement Figure 3-3 below shows placement of individual components on the top-side PCB – bottom-side component placement can be seen in Figure 3-4, overleaf. Component types and values can be looked up using the board schematics.
RSK+RX62N 3. Board Layout Figure 3-4 below shows the component placement on the bottom-side of the RSK+ board.
RSK+RX62N 4. Connectivity 4. Connectivity 4.1 Internal RSK Connections The diagram below shows the RSK+ board components and their connectivity to the MCU.
RSK+RX62N 4.2 4. Connectivity Debugger Connections The diagram below shows the connections between the RSK+, E1 debugger and the host PC. User Interface Cable USB Cable E1 Emulator RSK+ Host PC Figure 4-2: Debugger Connection Diagram REJ10J2198-0201 Rev. 2.
RSK+RX62N 5. User Circuitry 5. User Circuitry 5.1 Reset Circuit A reset control circuit is fitted to the RSK to generate the required reset signal, and is triggered from the RES switch. Refer to the RX62N hardware manual for details regarding the reset signal timing requirements, and the RSK+RX62N board schematics for information regarding the reset circuitry in use on the RSK. 5.
RSK+RX62N 5.4 5. User Circuitry LEDs There are ten LEDs on the RSK board. The function of each LED, its colour, and its connections are shown in Table 5-3. LED Colour Function MCU Connection 3V3_PWR Green Indicates the status of the 3.3V power rail. No connection 5V_PWR Green Indicates the status of the 5V power rail. No connection LED0 Green User operated LED. P02, Pin B1 LED1 Orange User operated LED. P03, Pin C2 LED2 Red User operated LED.
RSK+RX62N 5.7 5. User Circuitry RS232 Serial Port Serial port SCI2-A is connected to the standard RS232 header fitted to the RSK. Alternatively, serial port SCI1-B or SCI6-A can be connected to the RS232 transceiver by making changes to the configurations to the jumpers and option links (refer to §6). Connections between the RS232 header and the microcontroller are listed in the Table 5-5. SCI Signal Function MCU Connection RS232 Connection TxD2-A SCI2-A Transmit Signal.
RSK+RX62N 5.9 5. User Circuitry Ethernet When running any Ethernet software, a unique MAC address should be used. A unique Renesas allocated MAC address is attached to the RSK+RX62N PCB as a sticker, and should be always be used with this device ensured to ensure full compatibility when using other Renesas hardware on a common Ethernet connection. An Ethernet controller IC is fitted to the RSK, and is connected to the Ethernet MCU peripheral.
RSK+RX62N 5.10 5. User Circuitry Universal Serial Bus (USB) This RSK+ device is fitted with a USB host socket (type B) and an OTG (On The Go™) socket (type AB). USB module USB0 is connected to the OTG socket, and can operate as either a host or function device. Module USB1 is connected to a dedicated host port. The connections for the USB0 module are shown in Table 5-8 below. USB Signal Function MCU Connection USB0_DP Positive differential data signal.
RSK+RX62N 5.11 5. User Circuitry Generic LCD Header This RSK+ device is fitted with a generic TFT LCD header, that allows connection to compatible Renesas LCD application boards. The pin connections of this header are listed in Table 5-10 below.
RSK+RX62N 5.12 5. User Circuitry External Bus The RX62N features an external data bus, which is connected to various devices on the RSK+ board. Details of the devices connected to the external data bus are listed in Table 5-11 below. Further details of the devices connected to the external bus can be found in the board schematics.
RSK+RX62N 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 or by configuration DIP switches A link resistor is a 0Ω surface mount resistor, which is used to short or isolate parts of a circuit.
RSK+RX62N 6. Configuration Table 6-3 below details the different configurations and functions of the MCU operating mode jumpers. Reference J1* Position One Position Two Position Three Pins 1 and 2 shorted. Connects EMLE to Board_VCC (bypassed to GROUND via R324). Pins 2 and 3 shorted. Connects EMLE to GROUND (bypassed by R324). All pins open. EMLE is left to float – DO NOT SET. Related Ref. R324 Table 6-3: MCU Operating Mode Jumpers *By default, this jumper is not fitted to the RSK+.
RSK+RX62N Reference 6. Configuration Link Fitted Configuration Link Removed Configuration Related Ref. R80 Connects AN4_XINPUT1 (MCU, pin B4) to header TFT, pin 43. Disconnects AN4_XINPUT1 (MCU, pin B4) from header TFT, pin 43. R81 R81 Connects AN4_XINPUT1 (MCU, pin B4) to header JA5, pin 1. Disconnects AN4_XINPUT1 (MCU, pin B4) from header JA5, pin 1. R80 R82 Connects AN5_YINPUT1 (MCU, pin A4) to header TFT, pin 44). Disconnects AN5_YINPUT1 (MCU, pin A4) from header TFT, pin 44.
RSK+RX62N Reference 6. Configuration Link Fitted Configuration Link Removed Configuration Related Ref. R217 Connects TxD6-A (MCU, pin C1) to the RS232 transceiver (U11, pin 12) via R36. Disconnects TxD6-A (MCU, pin C1) from the RS232 transceiver (U11, pin 12) via R36. R36, R209 R218 Connects RxD6-A (MCU, pin D2) to the RS232 transceiver (U11, pin 12) via R39. Disconnects RxD6-A (MCU, pin D2) from the RS232 transceiver (U11, pin 12) via R39.
RSK+RX62N 6.5 6. Configuration CAN Configuration Table 6-7 below details the function of the option links associated with CAN configuration. Reference Link Fitted Configuration Link Removed Configuration Related Ref. R74 Connects AN1_CANSTBn (MCU, pin D4) to CAN transceiver (U12, pin 14). Disconnects AN1_CANSTBn (MCU, pin D4) from CAN transceiver (U12, pin 14). R75 R75 Connects AN1_CANSTBn (MCU, pin D4) to header JA1, pin 10. Disconnects AN1_CANSTBn (MCU, pin D4) from header JA1, pin 10.
RSK+RX62N 6.6 6. Configuration External Bus Configuration Table 6-9 below details the function of option links related to configuring the MCU’s external bus. Reference Link Fitted Configuration Link Removed Configuration Related Ref. R32 Connects OEn pin (U2, pin 19) to GROUND, bypassing J2. Disconnects OEn pin (U2, pin 19) from GROUND (still connectable via J2). J2 R33 Connects OEn pin (U3, pin 19) to GROUND, bypassing J3.
RSK+RX62N Reference 6. Configuration Link Fitted Configuration Link Removed Configuration Related Ref. R109 Connects A1_MTIOC6B (MCU, pin G15) to header JA5, pin 9 (via R241). Disconnects A1_MTIOC6B (MCU, pin G15) from header JA5, pin 9 (via R241). R108, R241 R110 Connects A2_MTIOC6C (MCU, pin H13) to the external address bus. Disconnects A2_MTIOC6C (MCU, pin H13) from the external address bus. R111 R111 Connects A2_MTIOC6C (MCU, pin H13) to header JA5, pin 10.
RSK+RX62N 6. Configuration Table 6-10 below details the different configurations and functions of the external bus jumpers. Reference Position One Position Two Position Three Related Ref. J2* Pins 1 and 2 shorted. Connects OEn (U2, pin 19) to GROUND (bypassed by R32). All pins open. Disconnects OEn (U2, pin 19) from GROUND (still connectable via R32). - R32 J3* Pins 1 and 2 shorted. Connects OEn (U3, pin 19) to GROUND (bypassed by R33). All pins open.
RSK+RX62N Reference 6. Configuration Link Fitted Configuration Link Removed Configuration R57 Connects USB0EXICEN _TMCI0-B (MCU, pin R1) to USB IC U13, pin 11. Disconnects USB0EXICEN _TMCI0-B (MCU, pin R1) to USB IC U13, pin 11. R58 R58 Connects USB0EXICEN _TMCI0-B (MCU, pin R1) to JA2, pin 21. Disconnects USB0EXICEN _TMCI0-B (MCU, pin R1) from JA2, pin 21. R57 R59 Connects USB0DRPD_TMO0 (MCU, pin M3) to USB0_D-. Disconnects _TMO0 (MCU, USB0_D-.
RSK+RX62N 6. Configuration Table 6-12 below details the different configurations and functions of the USB jumpers. Reference Position One Position Two Position Three Related Ref. J7 Pins 1 and 2 shorted. Connects USB0OVRCURA _USB0DPUPE-B to USB0_D+. Pins 2 and 3 shorted. Connects USB0OVR CURA_USB0DPUPE-B to USB IC U13, pin 5. All pins open. Disconnects both lines. - J8 Pins 1 and 2 shorted. Connects USB0VBUS_USB0 OVRCURB to the USB0 VBUS (via J12). Pins 2 and 3 shorted.
RSK+RX62N 6.8 6. Configuration Ethernet Configuration Table 6-13 below details the function of option links related to configuring the MCU’s Ethernet peripheral. Reference Link Fitted Configuration Link Removed Configuration R91 Connects EDACK0-C _ETLINKSTA_MTIOC4B-B (MCU, pin M7) to the Ethernet transceiver U15, pin 10. Disconnects EDACK0-C _ETLINKSTA_MTIOC4B-B (MCU, pin M7) from the Ethernet transceiver U15, pin 10.
RSK+RX62N Reference 6. Configuration Link Fitted Configuration Link Removed Configuration R313 Connects LINK/PHYAD1 (U15, pin 10) to ground. Disconnects LINK/PHYAD1 (U15, pin 10) from ground. - R314 Connects ACTIVITY/PHYAD2 (U15, pin 11) to ground. Disconnects /PHYAD2 (U15, ground. ACTIVITY 11) from - R315 Connects FDUPLEX/PHYAD3 pin 12) to ground. (MCU, Disconnects FDUPLEX /PHYAD3 (MCU, pin 12) FROM ground. - R317 Connects CAP (connector ETHERNET, pin 10) to GROUND.
RSK+RX62N 6.9 6. Configuration Multi-Function Timer Pulse Unit (MTU) Configuration Table 6-14 to Table 6-17 on the following pages detail the function of option links related to configuring the MCU’s MTU pins. Reference Link Fitted Configuration Link Removed Configuration R33 Connects OEn pin (U3, pin 19) to GROUND, bypassing J3. Disconnects OEn pin (U3, pin 19) from GROUND (still connectable via J3). J3 R34 Connects OEn pin (U4, pin 19) to GROUND, bypassing J4.
RSK+RX62N Reference 6. Configuration Link Fitted Configuration Link Removed Configuration Related Ref. R71 Connects LED3_PO12 _LCDDEN_MTIOC0A (MCU, pin J4) to header JA2, pin 7 (via R227). Disconnects LED3_PO12 _LCDDEN_MTIOC0A (MCU, pin J4) from header JA2, pin 7 (via R227). R69, R70, R227 R91 Connects EDACK0-C _ETLINKSTA_MTIOC4B-B (MCU, pin M7) to the Ethernet transceiver U15, pin 10. Disconnects EDACK0-C _ETLINKSTA_MTIOC4B-B (MCU, pin M7) from the Ethernet transceiver U15, pin 10.
RSK+RX62N Reference 6. Configuration Link Fitted Configuration Link Removed Configuration Related Ref. R113 Connects A4_MTIOC7A (MCU, pin H14) to header JA5, pin 9 (via R240). Disconnects A4_MTIOC7A (MCU, pin H14) from header JA5, pin 9 (via R240). R112, R240 R114 Connects ETRXDV_MTCLKE-A (MCU, pin N12) to the Ethernet transceiver U15, pin 19 (via line buffer U4). Disconnects ETRXDV _MTCLKE-A (MCU, pin N12) from the Ethernet transceiver U15, pin 19.
RSK+RX62N Reference 6. Configuration Link Fitted Configuration Link Removed Configuration Related Ref. R225 Connects MTIOC6A (MCU, pin F14) to header JA1, pin 23 (via R107). Disconnects MTIOC6A (MCU, pin F14) from header JA1, pin 23 (via R107). R107, R224 R226 Connects IRQ8-A (MCU, pin C1) to header JA2, pin 7 (via R35). Disconnects IRQ8-A (MCU, pin C1) from header JA2, pin 7 (via R35). R35, R227 R227 Connects MTIOC0A (MCU, pin J4) to header JA2, pin 7 (via R71).
RSK+RX62N 6.10 6. Configuration IRQ & General I/O Pin Configuration Table 6-19 below details the function of the option links associated with IRQ and general I/O pin configuration. Reference Link Fitted Configuration Link Removed Configuration Related Ref. R32 Connects OEn pin (U2, pin 19) to GROUND, bypassing J2. Disconnects OEn pin (U2, pin 19) from GROUND (still connectable via J2). J2 R35 Connects TxD6-A_IRQ8-A (MCU, pin C1) to switch SW1 (via R37).
RSK+RX62N Reference 6. Configuration Link Fitted Configuration Link Removed Configuration Related Ref. R224 Connects IRQ10-A (MCU, pin B1) to header JA1, pin 23 (via R42). Disconnects IRQ10-A (MCU, pin B1) from header JA1, pin 23 (via R42). R42, R225 R225 Connects MTIOC6A (MCU, pin F14) to header JA1, pin 23 (via R107). Disconnects MTIOC6A (MCU, pin F14) from header JA1, pin 23 (via R107). R107, R224 R226 Connects IRQ8-A (MCU, pin C1) to header JA2, pin 7 (via R35).
RSK+RX62N 6.11 6. Configuration Power Supply Configuration Table 6-21 below details the function of the option links associated with power supply configuration. Reference Link Fitted Configuration Link Removed Configuration Related Ref. R172 Connects Unregulated_VCC to the PWR1 connector, pin 3. Disconnects Unregulated _VCC from the PWR1 connector, pin 3. - R173 Connects CON_5V to the main power supply. Disconnects CON_5V from the main power supply.
RSK+RX62N 6.12 6. Configuration Clock Configuration Table 6-23 below details the function of the option links associated with clock configuration. Reference Link Fitted Configuration Link Removed Configuration Related Ref. R4 Connects EXTAL (MCU, pin J1) to the crystal X1. Disconnects EXTAL (MCU, pin J1) from the crystal X1. R4, R6, R7, R8 R5 Connects XTAL (MCU, pin H1) to the crystal X1. Disconnects XTAL (MCU, pin H1) from the crystal X1.
RSK+RX62N Reference 6. Configuration Link Fitted Configuration Link Removed Configuration Related Ref. R165 Connects A0 (U7, pin 1) to GROUND. Disconnects A0 (U7, pin 1) from GROUND. R164 R166 Powers the I2C EEPROM IC (U7) from Board_VCC. Disconnects the I2C EEPROM IC (U7) from Board_VCC. R167 R167 Powers the I2C EEPROM IC (U7) from Board_5V. Disconnects the I2C EEPROM IC (U7) from Board_5V.
RSK+RX62N 8. Code Development 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. Table 7-1 below lists the connections of the application header, JA1.
RSK+RX62N 8.
RSK+RX62N 8. Code Development Table 7-4 below lists the connections of the application header, JA5.
RSK+RX62N 7.2 8. Code Development Generic Headers Generic headers, used to provide easy connections to various pins from devices fitted to the RSK+. Table 7-6 below lists the connections of the pin header, J20. Pin Header J20 Pin Circuit Net Name MCU Pin 1 CNVSS E2 3 P10 N7 5 P91 B6 7 PG0 A11 9 GROUND - Pin 2 Circuit Net Name MCU Pin BSCANP E3 4 P90 A6 6 P92 B6 8 PG1 D10 10 P53_BCLK R10 Table 7-6: Pin Header J20 Connections REJ10J2198-0201 Rev. 2.
RSK+RX62N 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 the RX Family E1/E20 Emulator User’s Manual (REJ10J2089). 8.
RSK+RX62N 8.5 8. Code Development Address Space Figure 8-1 below details the address space of MCU in its different operating modes. For further details, refer to the RX62N group hardware manual. Figure 8-1: MCU Address Space Diagram REJ10J2198-0201 Rev. 2.
RSK+RX62N 9. Additional Information 9. Additional Information Technical Support For details on how to use High-performance Embedded Workshop (HEW), refer to the HEW manual available on the CD or from the web site. For information about the RX62N series microcontrollers refer to the RX62N Group hardware manual. For information about the RX62N assembly language, refer to the RX600 Series Software Manual. Online technical support and information is available at: http://www.renesas.
REVISION HISTORY Rev. RSK+RX62N User’s Manual Date Description Page 1.00 Jun. 17, 2010 2.00 May 09, 2011 2.01 Nov 30, 2011 ⎯ 12,13 Summary First Edition issued Component Placement Diagram updated. ⎯ Copyright information updated. 11 Board Dimension Diagram updated.
Renesas Starter Kit+ User’s Manual Publication Date: Rev.2.
http://www.renesas.com SALES OFFICES 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.
RX62N Group REJ10J2198-0201