Chapter 3. Power Supply........................................................................................................................................3
3.2. Power – Up Behaviour .................................................................................................................................3
Chapter 6. User Circuitry.........................................................................................................................................7
6.4. Serial port.....................................................................................................................................................8
Chapter 9. Code Development .............................................................................................................................22
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.
ADC Analog to Digital Converter USB Universal Serial Bus
CPU Central Processing Unit DAC Digital to Analog Converter
DMA Direct Memory Access E10A “E10A for Starter Kit” debugger
FDT Flash Development Tool RSK Renesas Starter Kit
LED Light Emitting Diode LCD Liquid Crystal Display
http://www.renesas.com/
1
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. The Quick Start Guide and Tutorial Manual provide details of the
software installation and debugging environment.
2
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.
All CPU boards are 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.
Warning
The CPU board is neither under not over voltage protected. Use a centre positive supply for this board. Weher
possible use the supplied PSU.
3.2. Power – Up Behaviour
When the RSK is purchased the CPU 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. Pressing any switch will cause the LEDs to flash at a
rate controlled by the potentiometer.
3
Chapter 4. Board Layout
4.1. Component Layout
The following diagram shows top layer component layout of the board.
Figure 4-1: Board Layout
4
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.
Figure 4-2 : Board Dimensions
5
Chapter 5. Block Diagram
Figure 5-5-1 shows the CPU board components and their connectivity.
Application Board
Headers
Microcontroller Pin
Headers
Debug Header Option
Serial Connector Option
External Flash ROM
(4MB)
External SDRAM
(16MB)
Power Jack Option
Microcontroller
ADC Input
Potentiometer
Figure 5-5-1: Block Diagram
Boot mode pins
RESET pin
IRQ pin
IRQ pin
IRQ pin
RESn
SW3SW2
SWITCHES
User: 4 LEDS
1Green, 1Orange, 2Red
LEDs
Boot Circuitry
D-type latch
BOOT
Power: Green
Boot: Orange
BOOT & BOOTn signals
RES
Figure 5-5-2 shows the connections to the RSK.
Figure 5-5-2 : RSK Connections
6
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 Microcontroller
RES When pressed; the CPU board microcontroller is reset. RESn, Pin 2
SW1/BOOT* Connects to an IRQ input for user controls.
The switch is also used in conjunction with the RES switch to place
the device in BOOT mode.
SW2* Connects to an IRQ line for user controls. IRQ1 , Pin 58
SW3* Connects to an IRQ line for user controls. Also connects to the ADC
trigger input. The option is a pair of 0R links. For more details on
option links, please refer to
*Refer to schematic for detailed connectivity information.
Sec 6.6.
Table 6-1: Switch Functions
IRQ0, Pin 59
(Port C, bit 22 )
(Port C, bit 23)
IRQ2, Pin 57
(Port C, bit 24)
6.2. LEDs
There are six LEDs on the CPU 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 IO 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
shown on silkscreen)
LED0 Port D bit 13 108 Active Low
LED1 Port C bit 13 68 Active Low
LED2 Port C bit 20 61 Active Low
LED3 Port C bit 21 60 Active Low
Microcontroller Port Pin
function
Table 6-2: LED Port
Microcontroller Pin
Number
Polarity
6.3. Potentiometer
A single turn potentiometer is connected to AN0 of the microcontroller. This may be used to vary the input analog voltage value to this pin
between AVCC and Ground.
7
6.4. Serial port
The microcontroller programming serial port (SCIF5) is connected to the E8 connector. This serial port can optionally be connected to the
RS232 transceiver by fitting option resistors and the D connector in position J7. The connections to be fitted are listed in the following table.
Description Function Fit for RS232 Remove for E8a Fit for Rs232 Remove for
RS232
TxD5 Programming Serial Port R90 R71 R71 R90
RxD5 Programming Serial Port R92 R77 R77 R92
Table 6-3: Serial Options 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 J6 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 4bit 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 CPU board only supports 5V operation.
J13
Pin Circuit Net Name Device
Pin
1 Ground - 2 5V Only 3 No Connection - 4 DLCDRS 70
5 R/W (Wired to Write only) - 6 DLCDE 69
7 No Connection - 8 No connection 9 No Connection - 10 No connection 11 DLCD4 121 12 DLCD5 120
13 DLCD6 119 14 DLCD7 118
Table 6-4 LCD Module Connections
Pin Circuit Net Name Device
Pin
8
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 Function Fitted Alternative ( Removed ) Related To
R7 FLASH memory Write protects Flash Memory Does not write protect Flash Memory
R8 A-D/D-A Connects microcontroller pin 92 to
R39 Power supply Connects AVREF to CON_VREF
R44 Oscillator X1 Connects external clock source to
microcontroller via CON_EXTAL
R45 Oscillator X1 Feedback resistor across X1
R46 Oscillator X1
Connects X1 to microcontroller
R47 Oscillator X1 Connects external clock source to
microcontroller via CON_XTAL
R48 Oscillator X2 Connects external clock source to
Disconnects microcontroller pin 170
R31
from UD
Disconnects microcontroller pin 72
R30
from WR0n
Does not connect MD_CLK1 = 1
Does not connect MD_CLK0 = 1
R36
R37
Does not connect MD_CLK1 = 0 R34
Does not connect MD_CLK0 = 0 R35
Disconnects AVREF from CON_VREF
Disconnects external clock source
R72
R47
from microcontroller
No feedback
-
Disconnects X1 from microcontroller -
Disconnects external clock source
R44
from microcontroller
Disconnects external clock source
R50
microcontroller via CON_RTC_X1
R49 Oscillator X2
Connects X2 to microcontroller
R50 Oscillator X2 Connects external clock source to
microcontroller via CON_RTC_X2
R51 Oscillator X2
Connects X2 to microcontroller
R52 Oscillator X2 Feedback resistor across X2
R54 Serial port
R55 Serial port
R56 Power supply
Connects RXD1 to J10
Connects TXD1 to J10
Connects AVCC to Board_VCC
R57 Power supply Connects AVCC to CON_AVCC
R59 Switches Connects SW3 to ADTRGn
R60 Serial port Connects RS323TX to U9
R62 Power supply
R63 Switches
Connects GROUND to AVSS
Connects SW3 to IRQ2n
R64 Serial port Connects TxD1 to U9
R66 Serial port
Connects TxD0 to U9
from microcontroller
Disconnects X2 from microcontroller R51
Disconnects external clock source
R48
from microcontroller
Disconnects X2 from microcontroller R49
No feedback
Disconnects RXD1 from J10 R55
Disconnects TXD1 from J10 R54
Disconnects AVCC from Board_VCC R57, R72
Disconnects AVCC from CON_AVCC
Disconnects SW3 from ADTRGn
Disconnects RS232TX from U9
R56
R25, R63
R66, R71,
Disconnects GROUND from AVSS Disconnects SW3 from IRQ2n R59
Disconnects TxD1 from U9
R81
Disconnects TxD0 from U9 R60, R71,
R90, R92
R68 Power supply
Connects UC_VCC to
Disconnects UC_VCC from Board_VCC R80, R83
Board_VCC
R69 Power Supply
R70 Serial port Connects RS232RX to U9
Connects CON_5V to Supply
regulator input
Disconnects CON_5V from Supply
regulator input
Disconnects RS323RX from U9
R102
R73, R77,
R92
10
R71 Serial port Connects serial port PTTX to
RS232 Serial
R72 Power supply
R73 Serial port
R76 Power supply
Connects VREF to Board_VCC
Connects RS232 Serial to RxD0
Connects LCD power to internal
5V
R77 Serial port Connects serial port PTRX to
RS232 Serial
R78 Serial port Shuts down RS232 transceiver
R80 Power supply
Connects Board_VCC to
CON_3V3
R81 Serial port Connects RxD1 to U9
R82 Serial port
R83 Power supply
Enables RS232 transceiver
Connects 3.3V supply from U8
to Board_VCC
Disconnects serial port PTTX from
RS232 Serial
R60, R66,
R90
Disconnects VREF from Board_VCC R56, R39
Disconnects RS232 Serial from RxD0 R70, R77,
R92
Disconnects LCD power from internal 5V R102
Disconnects serial port PTRX from
RS232 Serial
Enables RS232 transceiver
R70, R73,
R92
R82
Disconnects Board_VCC from CON_3V3 R68, R83
Disconnects RxD1 from U9
R64
Shuts down RS232 transceiver R78
Disconnects 3.3V supply from U8 R68, R80
R90 E8 connector
R92 E8 connector
R102 Power Supply
R104 CAN transceiver
0
R106 CAN transceiver
0
R107 CAN transceiver
0
R108 CAN transceiver
0
R109 CAN transceiver
1
R111 CAN transceiver
Connects PTTX to E8_TXD on
E8 connector
Connects PTRX to E8_RXD on
E8 connector
Connects J11 to Board_VCC
Connects CAN0_EN to CAN
transceiver 0
Connects CRx0 to CAN
transceiver 0
Connects 5V to CAN
transceiver 0 VBAT
Connects CTx0 to CAN
transceiver 0
Connects CAN1_EN to CAN
transceiver 1
Connects CRx1 to CAN
Disconnects PTTX from E8_TXD R60, R71
Disconnects PTRX from E8_RXD R70, R77
J11 disconnected from Board_VCC Disconnects CAN0_EN from CAN
R105
transceiver
Disconnects CRx0 from CAN transceiver -
Disconnects 5V from CAN transceiver -
Disconnects CTx0 from CAN transceiver -
Disconnects CAN1_EN from CAN
R110
transceiver
Disconnects CRx1 from CAN transceiver -
1
R112 CAN transceiver
1
R118 CAN transceiver
1
R120 CAN transceiver
1
transceiver 1
Connects CTx1 to CAN
transceiver 1
Connects 5V to CAN
transceiver 1 VBAT
Connects CAN0_ERRn to
microcontroller pin 173
11
Disconnects CTx1 from CAN transceiver -
Disconnects 5V from CAN transceiver -
Disconnects CAN0_ERRn from
microcontroller pin 173
-
R123 CAN transceiver
0
R124 CAN transceiver
0
R127 CAN transceiver
0
R130 Power supply
R134 Interrupt Connects BUSYn from FLASH
Connects CAN0_STBn to
microcontroller pin 166
Connects CAN1_ERRn to
microcontroller pin 174
Connects CAN1_STBn to R31
Connects E8_VCC to the
regulator input
memory chip U3 to microcontroller
IRQ3n
Table 6-5 Option Links
Disconnects CAN0_STBn from
microcontroller pin 166
Disconnects CAN1_ERRn from
microcontroller pin 174
Disconnects CAN0_STBn from R31 R31
Disconnects E8_VCC from the regulator
input
Disconnects BUSYn from FLASH
memory chip U3 from microcontroller
IRQ3n
-
-
R102
-
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. details the
oscillators that are fitted and alternative footprints provided on this CPU board:
Warning: When replacing the default oscillator with that of another frequency, the debugging monitor will not function unless the following
are corrected:
•FDT programming kernels supplied are rebuilt for the new frequency
6.8. Reset Circuit
The CPU Board includes a simple latch circuit that links the mode selection and reset circuit. 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.
The reset circuit operates by latching the state of the boot switch (SW1) 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 pair of resistors and a capacitor. Please check the reset requirements carefully to
ensure the reset circuit on the user’s board meets all the reset timing requirements.
12
Chapter 7. Programming Methods
The board is intended for use with HEW and the supplied E10A debugger only. Please refer to the datasheet of the Flash memory used on
this RSK to learn programming methods of the Flash programming.
13
Chapter 8.Headers
8.1. Microcontroller Headers
Table 8-1 to show theTable 8-4 microcontroller pin headers and their corresponding microcontroller connections. The header pins
connect directly to the microcontroller pin unless otherwise stated.
* marks pins where a the link to the microcontroller pin is open circuit due to unfitted link (link ID in brackets)
J1
Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin
Table 8-5 and belowTable 8-6 show the standard application header connections.
Note: Asterisk indications apply to all tables in this section
* marks pins where a the link to the microcontroller pin is via a 100R resistor and to BOARD VCC via a 4k7 resistor (100R ID & 4k7 ID)
** marks pins where a the link to the microcontroller pin is open circuit due to unfitted link (link ID in brackets)
*** marks pins where a the link to the microcontroller pin is via a fitted 0R link (link ID in brackets)
**** This signal is only connected to the named link, which is not fitted to the board. For details refer to the RSKSH7201 circuit schematics
page 5
21
Chapter 9. Code Development
9.1. Overview
Note: For all code debugging using Renesas software tools, the CPU board must be connected to 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.
9.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
compiler will default to a maximum of 256k code and data. To use the compiler with programs greater than this size you will need to
purchase the full tools from your distributor.
9.3.Breakpoint Support
This RSK is supplied with E10A emulator which supports breakpoints in ROM. For more details on breakpoints & E10A functions please
refer to ‘SuperH Family E10A-USB Emulator User’s Manual’.
9.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.
Figure 9-1: Memory Map
22
Chapter 10. Component Placement
Figure 11-1: Component Placement (Top Layer)
23
Figure 11-2: Component Placement (Bottom Layer)
24
Chapter 11. 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 SH7201 microcontrollers refer to the SH7201 Group Hardware Manual
For information about the SH7201 assembly language, refer to the SH Series Programming Manual
For information about the E10A Emulator, please refer to the SH Family E10A-USB Emulator User’s Manual.
Online technical support and information is available at:
Technical Contact Details
America:
Europe:
Japan:
General information on Renesas Microcontrollers can be found on the Renesas website at: