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 Renesas Technology Europe Ltd. www.renesas.
Table of Contents Chapter 1. Preface .................................................................................................................................................. 1 Chapter 2. Purpose ................................................................................................................................................. 2 Chapter 3. Power Supply .......................................................................................................................................
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.
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.
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.
Chapter 4. Board Layout 4.1. Component Layout The following diagram shows the top layer component layout of the board.
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. 45.00mm JA1 14.00mm MCU JA2 27.00mm 50.80mm 80.00mm 85.
Chapter 5. Block Diagram Figure 5-1 is representative of the CPU board components and their connectivity. Power Jack Option Application Board Interface D-type Latch RESET pin Microcontroller E8a IRQ pins Serial Connector Option ADC Input I/O SW3 SW2 SW1 BOOT RES Switches Potentiometer LCD Display Data x4 Control x2 User LED x4 1Green, 1Orange, 2Red LEDs Figure 5-1: Block Diagram Figure 5-2 is representative of the connections required to the Renesas Starter Kit.
Chapter 6. User Circuitry 6.1. Switches There are four switches located on the Renesas Starter Kit. The function of each switch and its connection are shown in Table 6-1. Switch Function Microcontroller RES When pressed, the board microcontroller is reset. RESET Pin 7 SW1/BOOT* Connects to an IRQ input for user controls. INT0 Pin14 The switch is also used in conjunction with the RES switch to place (Port 8, pin 3) the device in BOOT mode when not using the E8a debugger.
6.3. Potentiometer A single turn potentiometer is connected to AN2.4 (P9.3) 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 The microcontroller programming serial port 1 is connected to the E8a connector. This serial port can optionally be connected to the RS232 transceiver as well by fitting zero Ohm option resistors and fitting the D connector. In addition the RS232 transceiver should be enabled.
6.6.Option Links Table 6-5 below describes the function of the option links associated with Power configuration. The default configuration is indicated by BOLD text.
Table 6-6 below describes the function of the option links associated with Clock configuration. The default configuration is indicated by BOLD text.
Table 6-8 below describes the function of the option links associated with Analog configuration. The default configuration is indicated by BOLD text.
Table 6-10 below describes the function of the option links associated with other options. The default configuration is indicated by BOLD text.
6.7.Oscillator Sources A crystal oscillator or ceramic resonator is fitted on the Renesas Starter Kit and used to supply the main clock input to the Renesas microcontroller. A crystal oscillator is fitted on the Renesas Starter Kit and used to supply the sub clock input.
Chapter 7. Modes The Renesas Starter Kit supports Boot mode and Single chip mode. Details of programming the FLASH memory is described in the M16C/26A Group Hardware Manual. 7.1.
Chapter 8. Programming Methods The board is intended for use with High-performance Embedded Workshop and the supplied E8a debugger. Refer to M16C/26A Group Hardware Manual for details of programming the microcontroller without using these tools.
Chapter 9. Headers 9.1. Microcontroller Headers Table 9-1 to Table 9-4 show the microcontroller pin headers and their corresponding microcontroller connections. The header pins connect directly to the microcontroller pins. * Marked pins are subject to option links.
J4 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 IO_7 37 2 IO_6 38 3 IO_5 39 4 TRISTn/IO_4* 40 5 AD3 41 6 AD2 42 7 AD1 43 8 R_AVSS 44 9 AD0 45 10 R_VREF 46 11 R_AVCC 47 12 IO_3* 48 Table 9-4: J4 9.2. Application Headers Table 9-5 and Table 9-6 below show the standard application header connections.
JA2 Pin Header Name Circuit Net Device Name Pin Pin Header Name Circuit Net Device Name Pin 1 Reset RESn 7 2 External Clock Input CON_XIN* 10 3 Interrupt RP_E8A 12 4 Regulated Supply 1 GND - 5 WDT overflow NC - 6 Serial Port SCIaTX* 30 7 Interrupt IRQ0* 14 8 Serial Port SCIaRX* 31 9 Interrupt IRQ1* 13 10 Serial Port SCIaCK* 32 11 Motor up/down MO_UD 15 12 Serial Port Handshake CTSRTS* 33 13 Motor control MO_Up 17 14 Motor control MO_Un 16 1
Chapter 10.Code Development 10.1. Overview Note: For all code debugging using Renesas software tools, the Renesas Starter Kit board must be connected to a Personal Computer USB port via an E8a. An E8a is supplied with the Renesas Starter Kit product. 10.2. Mode Support High-performance Embedded Workshop connects to the Microcontroller and programs it via the E8a. Mode support is handled transparently to the user. 10.3.
10.4.
Chapter 11.
Chapter 12. Additional Information For details on how to use High-performance Embedded Workshop, refer to the High-performance Embedded Workshop manual available on the CD or from the web site. For information about the M16C/26A series microcontrollers refer to the M16C/26A Group Hardware Manual. For information about the M16C/26A assembly language, refer to the M16C/60, M16C/20, M16C/Tiny Series Software Programming Manual. Online technical support and information is available at: http://www.renesas.
Renesas Starter Kit for M16C/26A User's Manual Publication Date Rev.3.00 Aug.31,2007 Published by: Renesas Technology Europe Ltd. Duke’s Meadow, Millboard Road, Bourne End Buckinghamshire SL8 5FH, United Kingdom ©2007 Renesas Technology Europe and Renesas Solutions Corp. and Renesas Technology Corp. All Rights Reserved.
Renesas Starter Kit for M16C/26A User's Manual Renesas Technology Europe Ltd.