REG10J0121-0200
Renesas Starter Kit for SH7201
User's Manual
RENESAS SINGLE-CHIP MICROCOMPUTER
TM
SuperH
RISC engine
Rev.2.00 Renesas Technology Europe Ltd.
Revision date:11.Mar.2008 www.renesas.com
Table of Contents
Chapter 1. Preface..................................................................................................................................................1
Chapter 2. Purpose.................................................................................................................................................2
Chapter 3. Power Supply........................................................................................................................................3
3.1. Requirements...............................................................................................................................................3
3.2. Power – Up Behaviour .................................................................................................................................3
Chapter 4. Board Layout.........................................................................................................................................4
4.1. Component Layout.......................................................................................................................................4
4.2. Board Dimensions........................................................................................................................................5
Chapter 5. Block Diagram.......................................................................................................................................6
Chapter 6. User Circuitry.........................................................................................................................................7
6.1. Switches.......................................................................................................................................................7
6.2. LEDs.............................................................................................................................................................7
6.3. Potentiometer...............................................................................................................................................7
6.4. Serial port.....................................................................................................................................................8
6.5. LCD Module..................................................................................................................................................8
6.6. Option Links..................................................................................................................................................9
6.7. Oscillator Sources ......................................................................................................................................12
6.8. Reset Circuit...............................................................................................................................................12
Chapter 7. Programming Methods........................................................................................................................13
Chapter 8. Headers...............................................................................................................................................14
8.1. Microcontroller Headers.............................................................................................................................14
8.2. Application Headers ...................................................................................................................................18
Chapter 9. Code Development .............................................................................................................................22
9.1. Overview.....................................................................................................................................................22
9.2. Compiler Restrictions .................................................................................................................................22
9.3. Breakpoint Support.....................................................................................................................................22
9.4. Memory Map...............................................................................................................................................22
Chapter 10. Component Placement......................................................................................................................23
Chapter 11. Additional Information........................................................................................................................25
ii
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.
© Renesas Technology Corporation. 2008. All rights reserved.
© Renesas Solutions Corporation. 2008. All rights reserved.
Website:
Glossary
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