REG10J0131-0100
Renesas Starter Kit for H8SX/1668R
User’s Manual
RENESAS SINGLE-CHIP MICROCOMPUTER
H8SX FAMILY
Rev.1.00 Renesas Technology Europe Ltd.
Revision date: 04.APR.2008 www.renesas.com
Table of Contents
Chapter 1. Preface ....................................................................................................................................................................................... 3
Chapter 2. Purpose ...................................................................................................................................................................................... 4
Chapter 3. Power Supply .............................................................................................................................................................................. 5
3.1. Requirements .................................................................................................................................................................................... 5
3.2. Power – Up Behaviour ...................................................................................................................................................................... 5
Chapter 4. Board Layout .............................................................................................................................................................................. 6
4.1. Component Layout ............................................................................................................................................................................ 6
4.2. Board Dimensions ............................................................................................................................................................................. 7
Chapter 5. Block Diagram ............................................................................................................................................................................ 8
Chapter 6. User Circuitry ............................................................................................................................................................................ 10
6.1. Switches .......................................................................................................................................................................................... 10
6.2. LEDs ............................................................................................................................................................................................... 10
6.3. Potentiometer .................................................................................................................................................................................. 10
6.4. Serial port ........................................................................................................................................................................................ 10
6.5. Debug LCD Module .......................................................................................................................................................................... 11
6.6. Option Links ..................................................................................................................................................................................... 11
6.7. Oscillator Sources ........................................................................................................................................................................... 17
6.8. Reset Circuit .................................................................................................................................................................................... 17
6.9. USB port .......................................................................................................................................................................................... 18
Chapter 7. Modes ....................................................................................................................................................................................... 19
7.1. Boot mode ....................................................................................................................................................................................... 19
7.2. Singe chip mode ............................................................................................................................................................................. 19
Chapter 8. Programming Methods ............................................................................................................................................................. 20
Chapter 9. Headers .................................................................................................................................................................................... 21
9.1. Microcontroller Headers .................................................................................................................................................................. 21
9.2. Application Headers ........................................................................................................................................................................ 25
Chapter 10. Code Development ................................................................................................................................................................. 28
10.1. Overview ....................................................................................................................................................................................... 28
10.2. Compiler Restrictions .................................................................................................................................................................... 28
10.3. Mode Support ................................................................................................................................................................................ 28
10.4. Breakpoint Support ....................................................................................................................................................................... 28
10.5. Memory Map ................................................................................................................................................................................. 29
Chapter 11. Component Placement ........................................................................................................................................................... 30
Chapter 12. Additional Information ............................................................................................................................................................. 31
ii
Chapter 1. Preface
Cautions
This document may be, wholly or partially, subject to change without notice.
All rights reserved. Duplication of this document, either in whole or part is prohibited 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: http://www.renesas.com/
Glossary
CPU Central Processing Unit HEW High-performance Embedded Workshop
LED Light Emitting Diode RSK Renesas Starter Kit
PC Program Counter E10A FSK On-chip debugger module
LCD Liquid Crystal Display DAC Digital-to-Analog Converter
3
Chapter 2. 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.
Features include:
• Renesas Microcontroller Programming.
• User Code Debugging.
• User Circuitry such as Switches, LEDs and potentiometer.
• User or Example Application.
• Sample peripheral device initialisation code.
The RSK board contains all the circuitry required for microcontroller operation.
4
Chapter 3. Power Supply
3.1. Requirements
This RSK operates from a 5V power supply.
A diode provides reverse polarity protection only if a current limiting power supply is used.
All RSK boards are supplied with an E10A debugger.
All RSK boards have an optional centre positive supply connector using a 2.0mm barrel power jack.
Warning
The RSK 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 a switch the LEDs
will flash at a rate controlled by the potentiometer.
5
Chapt
er 4. Board Layout
4.1. Component Layout
The following diagram shows top layer component layout of the board.
lication board interfaces
JA5
LCD Display
LCD
USB
JA1
J2
Reset switch
RS232 Serial
Power
Power LED
E8 Header
JA3
J3
Microcontroller
in headers
JA6
lication board interface
MCU
J4
JA2
Figure 4-1: Board Layout
J1
Potentiometer
E10A Header
User LEDs
Boot LED
User switches
6
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.
RING
Application Header
Applies to connector
80.01mm
with micriocontroller pin1
100.00mm
85.00mm
JA3
14.00mm
5.00mm
Figure 4-2: Board Dimensions
3.81mm
7
Chapter 5. Block Diagram
Figure 5-1 shows the CPU board components and their connectivity.
Power Jack Option
Application Board
Headers
Microcontroller Pin
Headers
Debug Header Option
USB Connector Option
Serial Connector Option
Potentiometer
Figure 5-2 shows the connections to the RSK.
Boot mode pins
Microcontroller
RESET pin
ADC Input
Figure 5-1: Block Diagram
IRQ pin
IRQ pin
IRQ pin
1Green, 1Orange, 2Red
RESn
SW3SW2
SWITCHES
User: 4 LEDS
Boot Circuitry
D-type
latch
BOOT
LEDs
Power: Green
Boot: Orange
BOOT & BOOTn signals
RES
8
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 RSK microcontroller is reset. RESn, Pin 91
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 when not using the E10A debugger.
SW2* Connects to an IRQ line for user controls. IRQ1n, Pin 85
SW3* Connects to the ADC trigger input. Option link allows connection to IRQ line.
The option is a pair of 0R links. For more details on option links, please refer
to Sec 6.6.
*Refer to schematic for detailed connectivity information.
Table 6-1: Switch Functions
IRQ0n, Pin 84
(Port 1 pin 0)
(Port 1, pin 1)
IRQ3n_ADTRGn,
Pin 87
(Port 1, pin 3)
6.2. LEDs
There 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 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 Green Port B.3 3
LED1 Orange Port C.2 116
LED2 Red Port C.3 117
LED3 Red Port 1.2 86
Colour Microcontroller Port Pin
function
Table 6-2: LED Port
Microcontroller
Pin Number
6.3. Potentiometer
A single turn potentiometer is connected to channel AN0 (P5.0, pin 118) of the microcontroller. This may be used to vary the input analog
voltage value to this pin between AVCC and Ground.
6.4. Serial port
Serial port SCI0 is connected to the standard RS232 header. Serial port SCI5 can optionally be connected to the RS232 header. The
connections to be fitted are listed in the Table 6-3.
10