Renesas R8C-25 User Manual

REJ10J1242-0200
Renesas Starter Kit for R8C/25
User’s Manual
RENESAS SINGLE-CHIP MICROCOMPUTER
M16C FAMILY / R8C/Tiny SERIES
Rev.2.00 Renesas Solutions Corp. Revision date: 15.OCT.2007 www.renesas.com
i
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 ......................................................................................................................................11
6.8. Reset Circuit...............................................................................................................................................11
Chapter 7. Modes..................................................................................................................................................12
7.1. Boot mode..................................................................................................................................................12
7.2. Single chip mode........................................................................................................................................12
Chapter 8. Programming Methods........................................................................................................................13
Chapter 9. Headers...............................................................................................................................................14
9.1. Microcontroller Headers.............................................................................................................................14
9.2. Application Headers ...................................................................................................................................16
Chapter 10. Code Development ...........................................................................................................................18
10.1. Overview...................................................................................................................................................18
10.2. Mode Support...........................................................................................................................................18
10.3. Breakpoint Support...................................................................................................................................18
10.4. Memory Map.............................................................................................................................................19
Chapter 11. Component Placement......................................................................................................................20
Chapter 12. Additional Information........................................................................................................................21
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
Solutions Corp.
Trademarks
All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or organisations.
Copyright
© Renesas Solutions Corp. 2007. All rights reserved. © Renesas Technology Europe Ltd. 2007. All rights reserved. © Renesas Technology Corp. 2007. All rights reserved. Website:
Glossary
CPU Central Processing Unit RTE Renesas Technology Europe Ltd. HEW High-performance Embedded Workshop RSO Renesas Solutions Organisation. LED Light Emitting Diode RSK Renesas Starter Kit PC Program Counter
http://www.eu.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).
User or Example Application.
Sample peripheral device initialisation code.
The RSK board contains all the circuitry required for microcontroller operation.
2

Chapter 3. Power Supply

3.1. Requirements

This RSK operates from a 3V to 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 E8a debugger module. This product is able to power the RSK board with up to 300mA. When the RSK
is connected to another system then that system should supply power to the RSK. All RSK boards have an optional centre positive supply connector using a 2.1mm 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.
3

Chapter 4. Board Layout

r
r
A
A
r
r

4.1. Component Layout

The following diagram shows the top layer component layout of the board.
LCD Display
Microcontroller Pin Headers (J1 to J4)
pplication Board Interface
JA1
MCU
JA2
pplication Board Interface
Figure 4-1: Board Layout
Reset Switch
RS232 Serial Power Power LED
E8 Heade
User LED
Power Connecto for LIN
LIN Connecto Boot LED
User/Boot Switch
User Switches
Potentiomete
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.
3.81mm
5.00mm
45.00mm
JA1
14.00mm
92.71mm
85.00mm
100.00mm
MCU
JA2
27.00mm
50.80mm
80.00mm
85.00mm
Figure 4-2 : Board Dimensions
5

Chapter 5. Block Diagram

Figure 5-1 is representative of the CPU board components and their connectivity.
Pow er J ack Op tion
Application Board
Inter face
Mi crocontrol le r Pin
Headers
E8
LI N Connector,
Power Co nn ector f o r LIN
Serial Connect or Opt i on
Potentimeter
Boot mode pins
RESET p i n
Microcontroller
LCD Di sp l ay
Figure 5-1: Block Diagram
Figure 5-2 is representative of the connections required to the RSK.
IRQ pins
I/OADC Inp ut
Control x2
Data x4
Sw itches
User LED x4 1Green, 1Orage, 2Red
LEDs
BOOT
Circuitry
D-ty pe
Latch
SW1
BOOT
RES
PO W ER: Green
BOOT: Ora n ge
SW2SW3
BOOT & BOOTn signals
Host PC
MCU
USB Cable
E8a module
User Interface Cable
Pin 1
E8
CPU Board
Figure 5-2 : RSK Connections
6
Loading...
+ 17 hidden pages