REG10J0125-0100 Renesas Starter Kit for SH7211 User's Manual RENESAS SINGLE-CHIP MICROCOMPUTER SuperHTM RISC engine Rev.1.00 Revision date:17.Jan.2008 Renesas Technology Europe Ltd. www.renesas.
Table of Contents Chapter 1. Preface ..................................................................................................................................................1 Chapter 2. Purpose .................................................................................................................................................2 Chapter 3. Power Supply ........................................................................................................................................
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 © Renesas Technology Europe Ltd. 2008. All rights reserved.
Chapter 2. Purpose This RSK is an evaluation tool for Renesas microcontrollers. Features include: • Renesas Microcontroller Programming. • User Code Debugging. • User Circuitry such as switches, LEDs and potentiometer(s). • Sample Application. • Sample peripheral device initialisation code. The CPU board contains all the circuitry required for microcontroller operation. This manual describes the technical details of the RSK hardware.
Chapter 3. Power Supply 3.1. Requirements This CPU board operates from a 5V power supply. A diode provides reverse polarity protection only if a current limiting power supply is used. The kit is supplied with an E10A debug module and a PSU. When the CPU board is connected to another system that system should supply power to the CPU board. All CPU boards have an optional centre positive supply connector using a 2.0mm barrel power jack which is compatible with the supplied PSU.
Chapter 4. Board Layout 4.1. Component Layout The following diagram shows top layer component layout of the board.
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. 120.00mm 115.00mm 86.36mm Short Board = 85 mm Corners x4 3mm radius 50.80 mm 43.18 mm 35.56 mm 27.00mm SW 1 SW 2 SW 3 POT JA2 E10A JA6 J3 - Applies to connector with micriocontroller pin1 J4 MCU J2 E8 J1 Serial D9 SKT R E S JA5 JA1 45.
Chapter 5. Block Diagram Figure 5-1 shows the CPU board components and their connectivity. Figure 5-1: Block Diagram Figure -5-2 shows the connections to the RSK.
Chapter 6. User Circuitry 6.1. Switches There are four switches located on the CPU board. The function of each switch and its connection are shown in Table 6-1. Switch Function RES SW1/BOOT* Microcontroller When pressed; the CPU board microcontroller is reset. RESn, Pin 22 Connects to an IRQ input for user controls. IRQ0, Pin 92 (Port B, bit 21) SW2* Connects to an IRQ line for user controls. IRQ4, Pin 87 (Port B, bit 18) SW3* Connects to an IRQ line for user controls.
Description Function Fit for RS232 Remove for Fit for E8a Remove for E8a RS232 TxD1 Programming Serial Port R47 R21, R56 R21 R47,R56 RxD1 Programming Serial Port R38 R20,R48 R20 R38,R48 Table 6-3: Serial Option Links The board is designed to accept a straight through RS232 cable. 6.5. LCD Module The LCD module supplied with the RSK can be connected to the connector ‘LCD’ for use with the tutorial code.
6.6. Option Links Table 6-5 below describes the function of the option links contained on this CPU board. The default configuration is indicated by BOLD text. Option Link Settings Reference R20 R21 R32 R38 R40 R42 R47 R48 R52 R55 R56 R58 R59 Function Fitted Alternative ( Removed ) Related To Serial Port Connects programming port Disconnects programming port (Rx) from R38, R42, Configuration (Rx) to E8 connector. E8 connector.
Table 6-6 below describes the function of the option links associated with Power configuration. The default configuration is indicated by BOLD text. Option Link Settings Reference R4 R11 Function Power Source Power Source Fitted Alternative ( Removed ) Board can be powered from Disconnects the supply from PWR PWR connector. connector. Board can be powered by E8a Disconnects the supply from E8 Related To R11, R28 R4, R8 connector.
Table 6-8 below describes the function of the option links associated with Pin function configuration. The default configuration is indicated by BOLD text. Option Link Settings Reference Function Fitted Alternative ( Removed ) Related To R61 Pin function select Connects PIN 109 to RxD2 on JA6. Disconnects PIN 109 from RxD2. R126 R62 Pin function select Connects PIN 110 to TxD2 on JA6. Disconnects PIN 110 from TxD2. R119 R63 Pin function select Connects PIN 80 to LED3.
Option Link Settings Reference Function Fitted Alternative ( Removed ) Related To R111 Pin function select Connects PIN 120 to DREQ0 on JA6. Disconnects PIN 120 from DREQ0. R83, R91 R113 Pin function select Connects PIN 116 to DTEND0 on JA6. Disconnects PIN 116 from DTEND0. R86, R96 R116 Pin function select Connects PIN 76 to M2_Vp on JA5. Disconnects PIN 76 from M2_Vp. R66 R117 Pin function select Connects PIN 81 to M2_TRISTn on Disconnects R76 PIN 81 from M2_TRISTn. JA5.
6.7.Oscillator Sources A crystal oscillator is fitted on the CPU board and used to supply the main clock input to the Renesas microcontroller.
Chapter 7.Modes The CPU board 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 Renesas microcontroller with program code via the SCI1 interface. Further details of programming the flash are available in the SH7211 device hardware manual. The CPU board provides the capability of changing between User and Boot / User Boot modes using a simple latch circuit.
Chapter 8. Programming Methods The board is intended for use with HEW and the supplied E10A debugger only. Please refer to SH7211 Group Hardware Manual for details of the programming methods using on-chip serial port SCI1 and without using E10A debugger.
Chapter 9. Headers 9.1. Microcontroller Headers Table 9-1 to Table 9-4 show the microcontroller pin headers and their corresponding microcontroller connections. The header pins connect directly to the microcontroller pin unless otherwise stated.
J2 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 D0 37 19 GND 55 2 D1 38 20 D13 56 3 D2 39 21 D14 57 4 D3 40 22 D15 58 5 GND 41 23 RDn_RxD0 59 6 VCCQ 42 24 WRn_TxD0 60 7 D4 43 25 GND 61 8 D5 44 26 VCC 62 9 D6 45 27 DLCD4 63 10 D7 46 28 DLCD5 64 11 VCC 47 29 DLCD6 65 12 GND 48 30 DLCD7 66 13 D8 49 31 VCCQ 67 14 D9 50 32 GND 68 15 D10 51 33 M1_Wn 69 16 D11 52 34 M1Wp_IRQ7 70 17 D12 53 3
J3 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 VCC 73 19 M1_TRISTn 91 2 GND 74 20 IRQ0 92 3 LED0_M2Vn 75 21 AVSS 93 4 LED1_M2Vp 76 22 AVCC 94 5 GND 77 23 DA1 95 6 VCCQ 78 24 DA0 96 7 LED2_M2Un 79 25 ADPOT_AN0 97 8 LED3_M2Up 80 26 AN1 98 9 ADTRGn_M2TRISTn 81 27 AN2 99 10 CS5n_UD 82 28 AN3 100 11 CS1n 83 29 AN4 101 12 CS3n 84 30 AN5 102 13 VCC 85 31 AN6 103 104 14 GND 86 32 AN7 15 IRQ4 87 33 AN8
J4 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 RXD2_TCLKD 109 19 A4 127 2 TXD2_TCLKC 110 20 A5 128 3 DLCDE 111 21 A6 129 4 DLCDRS 112 22 A7 130 5 GND 113 23 GND 131 6 VCCQ 114 24 VCC 132 7 M1Vn_TRIGa 115 25 A8 133 8 M1Vp_DTEND0_TRIGb 116 26 A9 134 9 M1Up_DACK0_TMR0 117 27 A10 135 10 GND 118 28 A11 136 11 VCC 119 29 A12 137 12 M1Un_DREQ0_TMR1 120 30 A13 138 13 A0 121 31 VCCQ 139 14 A1 122 32 GND 140
9.2. Application Headers Table 9-5 to Table 9-9 below show the standard application header connections.
JA2 Pin Header Name CPU board Device Pin Pin Header Name Signal Name CPU board Device Pin Signal Name 1 RESn RESn 22 14 Un M1_Un 120* 2 EXTAL CON_EXTAL 26* 15 Vp M1_Vp 116* 3 NMIn NMI 11 16 Vn M1_Vn 115* 4 Vss1 GROUND 14 17 Wp M1_Wp 70* 5 WDT_OVF WDT_OVFn 19 18 Wn M1_Wn 69* 6 SCIaTX TxD0 60* 19 TMR0 TMR0 117* 7 IRQ0 IRQ0 92 20 TMR1 TMR1 120* 8 SCIaRX RXD0 59* 21 TRIGa TRIGa 115* 9 IRQ1 IRQ1n 87 22 TRIGb TRIGb 116* 10 SCIaCK
JA3 Pin Header Name CPU board Device Pin Pin Header Name Signal Name CPU board Device Pin Signal Name 1 Address Bus A0 121 26 Read/Write Control WRn 60* 2 Address Bus A1 122 27 Memory Select CS1n 83 3 Address Bus A2 123 28 Memory Select CS3n 84 4 Address Bus A3 126 29 Data Bus D8 49 5 Address Bus A4 127 30 Data Bus D9 50 6 Address Bus A5 128 31 Data Bus D10 51 7 Address Bus A6 129 32 Data Bus D11 52 8 Address Bus A7 130 33 Data Bus D12
JA5 Pin Header Name CPU board Device Pin Pin Header Name Signal Name CPU board Device Pin Signal Name 1 AD4 AN4 101 13 TIOC0A TIOC0B 6 2 AD5 AN5 102 14 TIOC0B TIOC0C 7 3 AD6 AN6 103 15 TIOC0C TIOC0D 8 4 AD7 AN7 104 16 M2_TRISTn M2_TRISTn 81 5 CAN1TX --- --- 17 TCLKC TCLKC 110 6 CAN1RX --- --- 18 TCLKD TCLKD 109 7 CAN2TX --- --- 19 M2_Up M2_Up 80 8 CAN2TX --- --- 20 M2_Un M2_Un 79 9 AD8 --- --- 21 M2_Vp M2_Vp 76 10 AD9 --- -
Chapter 10. Code Development 10.1. Overview Note: For all code debugging using Renesas software tools, the CPU board must either be connected to a PC serial port via a serial cable or a PC USB port via an E10A. An E10A is supplied with the RSK product. 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.
10.4.Memory Map The memory map shown in this section visually describes the locations of the each memory areas when operating the RSK in the default mode (Mode 6).
Chapter 11.
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 SH7211 microcontrollers refer to the SH7211 Group Hardware Manual. For information about the SH7211 assembly language, refer to the SH-2A, SH2A-FPU Software Manual. For information about the E10A Emulator, please refer to the SH Family E10A-USB Emulator User’s Manual.
Renesas Starter Kit for SH7211 User's Manual Publication Date Rev.1.00 17.Jan.2008 Published by: Renesas Technology Europe Ltd. Duke’s Meadow, Millboard Road, Bourne End Buckinghamshire SL8 5FH, United Kingdom ©2008 Renesas Technology Europe and Renesas Solutions Corp., All Rights Reserved.
Renesas Starter Kit for SH7211 User's Manual Renesas Technology Europe Ltd.