Renesas M16C-26A User Manual

REG10J0040-0300
Renesas Starter Kit for M16C/26A
User’s Manual
RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER
M16C FAMILY / M16C/Tiny SERIES
Rev.3.00 Revision date:
Aug.31,2007
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 ...............................................................................................................................................8
6.4. Serial port .....................................................................................................................................................8
6.5. LCD Module..................................................................................................................................................8
6.6. Option Links..................................................................................................................................................9
6.7. Oscillator Sources ......................................................................................................................................13
6.8. Reset Circuit...............................................................................................................................................13
Chapter 7. Modes..................................................................................................................................................14
7.1. Boot mode ..................................................................................................................................................14
7.2. Single chip mode........................................................................................................................................14
Chapter 8. Programming Methods........................................................................................................................15
Chapter 9. Headers...............................................................................................................................................16
9.1. Microcontroller Headers .............................................................................................................................16
9.2. Application Header s ...................................................................................................................................17
Chapter 10. Code Development ...........................................................................................................................19
10.1. Overview...................................................................................................................................................19
10.2. Mode Support...........................................................................................................................................19
10.3. Breakpoint Support...................................................................................................................................19
10.4. Memory Map.............................................................................................................................................20
Chapter 11. Component Placement......................................................................................................................21
Chapter 12. Additional Information .......................................................................................................................22
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. 2007. All rights reserved. © Renesas Solutions Corp. 2007. All rights reserved. © Renesas Technology Corp. 2007. All rights reserved. Website:
Glossary
ADC Analog Digital Converter IRQ Interrupt ReQuest CPU Central Processing Unit LED Light Emitting Diode DAC Digital Analog Converter LSI Large Scale Integration E8a E8a On-chip debugger module MCU Microcontroller HEW High-performance Embedded Workshop
http://www.eu.renesas.com/ (Europe) http://www.renesas.com/ (Global)
1
Chapter 2. Purpose
This Renesas Starter Kit 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 Renesas Starter Kit board contains all the circuitry required for microcontroller operation.
NOTE: This manual describes the technical details of the Renesas Starter Kit for M16C/26A 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 Renesas Starter Kit operates from a 3V to 5V power supply. A diode provides reverse polarity protection only if a current limiting power supply is used. All Renesas Starter Kit boards are supplied with an E8a debugger. This product is able to power the Renesas Starter Kit board with up to
300mA. When the Renesas Starter Kit is connected to another system then that system should supply power to the Renesas Starter Kit. All Renesas Starter Kit boards have an optional centre positive supply connector using a 2.1mm barrel power jack.
Warning
The Renesas Starter Kit is neither under nor over voltage protected. Use a centre positive supply for this board.
3.2. Power – Up Behaviour
When the Renesas Starter Kit is purchased the Renesas Starter Kit 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
4.1. Component Layout
The following diagram shows the top layer component layout of the board.
Figure 4-1: Board Layout
4
JA2
JA1
MCU
14.00mm
45.00mm
27.00mm
50.80mm
80.00mm
85.00mm
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
Boot mode pins
BOOT
Circuitry
D-type
Latch
RESET pin
RES
SW1
BOOT
SW2SW3
Switches
IRQ pins
POWER: Green
BOOT: Orange
LEDs
User LED x4 1Green, 1Orange, 2Red
I/OADC Input
Potentiometer
Application Board
Interface
Microcontroller Pin
Headers
E8a
Serial Connector Option
Microcontroller
Power Jack Option
LCD Display
Data x4
Control x2
BOOT & BOOTn signals
E8a emulator
User Interface Cable
MCU
Pin 1
CPU Board
Personal Computer
USB Cable
E8a
Figure 5-1 is representative of the CPU board components and their connectivity.
Figure 5-2 is representative of the connections required to the Renesas Starter Kit.
Figure 5-1: Block Diagram
Figure 5-2 : Renesas Starter Kit Connections
6
Loading...
+ 18 hidden pages