Resumo do conteúdo contido na página número 1
REG10J0049-0200
Renesas Starter Kit for R8C/2D
User’s Manual
RENESAS SINGLE-CHIP MICROCOMPUTER
M16C FAMILY / R8C/Tiny SERIES
Rev.2.00 Renesas Solutions Corp.
Revision date: 12.OCT.2007 www.renesas.com
i
Resumo do conteúdo contido na página número 2
Table of Contents Chapter 1. Preface..................................................................................................................................................1 Chapter 2. Purpose.................................................................................................................................................2 Chapter 3. Power Supply ............................................................................................................................
Resumo do conteúdo contido na página número 3
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 Corporation. 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
Resumo do conteúdo contido na página número 4
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. 2
Resumo do conteúdo contido na página número 5
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 Ki
Resumo do conteúdo contido na página número 6
Chapter 4. Board Layout 4.1. Component Layout The following diagram shows the top layer component layout of the board. Application Board Interface Reset Switch RS232 Serial LCD Display JA5 JA1 Power Power LED Microcontroller Pin Headers E8 Header (J1 to J4) MCU User LED Power Connector for LIN LIN Connector Boot LED JA6 JA2 User/Boot Switch Application Board Interface User Switches Potentiometer Figure 4-1: Board Layout 4
Resumo do conteúdo contido na página número 7
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. 120.00mm 115.00mm 86.36mm Short Board = 85 mm 50.80 mm Corners x4 43.18 mm 3mm radius 35.56 mm 27.00mm RV1 SW SW SW (POT) 1 2 3 JA2 JA6 L I N J4 - Applies to connector with micriocontroller pin1 MC J3 J1 U E8 J2 Serial D9 JA5 JA1 R E SKT S 45.00mm Figure 4-2 : Board Dimensions 5 5.00mm RING 3.81mm 14.00mm 85.0
Resumo do conteúdo contido na página número 8
Chapter 5. Block Diagram Figure 5-1 is representative of the CPU board components and their connectivity. Power Jack Option BOOT Application Board Boot mode pins Circuitry Interface Microcontroller Pin D-type RESET pin Headers Latch Microcontroller E8 IRQ pins LIN Connector, Power Connector for LIN ADC Input I/O Serial Connector Option SW1 SW3 SW2 RES BOOT Switches LCD Display Potentiometer POWER: Green Data x4 User LED x4 Control x2 1Green, 1Orange, 2Red BOOT: Orange LEDs Figure 5-1: Bloc
Resumo do conteúdo contido na página número 9
Chapter 6. User Circuitry 6.1. Switches There are four switches located on the board. 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. RESETn Pin9 SW1/BOOT* Connects to an IRQ input for user controls. INT0n Pin44 The switch is also used in conjunction with the RES switch to place (Port 4, pin 5) the device in BOOT mode when not using the E8A debugger. SW2* Connects to an IRQ I
Resumo do conteúdo contido na página número 10
6.4. Serial port This RSK provides two serial ports to the user. The serial port 1 has already been configured for use. To use serial port 2 the user needs to configure the option links as given in Table 6-3. Description Fit for RS232 TxD2 R34 RxD2 R33 Table 6-3: Serial Port settings 6.5. LCD Module A LCD module is supplied to be connected to the connector ‘LCD’. This should be fitted so that the LCD module lies over ‘JA1’ and ‘JA5’. Care should be taken to ensure the pins are inser
Resumo do conteúdo contido na página número 11
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. Option Link Settings Reference Function Fitted Alternative (Removed) Related To R10 Power Source Board can be powered from Disable external power connector R44, R45 PWR connector R37 Microcontroller Power Supply Supply power to Fit Low ohm resistor to measure - Microcontroller current. R44 Power Source Configuration Conn
Resumo do conteúdo contido na página número 12
Table 6-7 below describes the function of the option links associated with serial configuration. The default configuration is indicated by BOLD text. Option Link Settings Reference Function Fitted Alternative (Removed) Related To R11 Serial Port Connects serial port TXD1 to SERIAL Disconnects serial port TXD1 from R22 Configuration D-type connector. SERIAL D-type connector. R21 Serial Port Disables RS232 Serial Enables RS232 Serial - Configuration Transceiver Transceiver R22 Serial Por
Resumo do conteúdo contido na página número 13
Table 6-9 below describes the function of the option links associated with serial configuration. The default configuration is indicated by BOLD text. Option Link Settings Reference Function Fitted Alternative (Removed) Related To R36 Analog configuration PIN 57 connected to ADPOT PIN 57 disconnected from ADPOT R66 R66 Analog configuration PIN 57 connected to AN8 on JA5 PIN 57 disconnected from AN8 R36 R40 Analog configuration UC_VCC supplies the reference CON_VREF can be used to supply
Resumo do conteúdo contido na página número 14
The Reset circuit operates by latching the state of the boot switch on pressing the reset button. This control is subsequently used to modify the mode pin states as required. The MODE pin should change state only while the reset signal is active to avoid possible device damage. The reset is held in the active state for a fixed period by a pair of resistors and a capacitor. Please check the reset requirements carefully to ensure the reset circuit on the customers’ board meets all the reset
Resumo do conteúdo contido na página número 15
Chapter 7. Modes This Renesas Starter Kit supports Boot mode and Single chip mode. Details of programming the FLASH memory is described in the R8C/2C Group, R8C/2D Group Hardware Manual. 7.1. Boot mode The Boot mode settings for this Renesas Starter Kit are shown in Table 7-1: Boot Mode pin settings below: MODE LSI State after Reset End Low Boot Mode Table 7-1: Boot Mode pin settings The software supplied with this Renesas Starter Kit supports Boot mode using an E8a and High-performance
Resumo do conteúdo contido na página número 16
Chapter 8. Programming Methods The board is intended for use with High-performance Embedded Workshop and the supplied E8a debugger. Refer to R8C/2C Group, R8C/2D Group Hardware Manual for details of programming the microcontroller without using these tools. 14
Resumo do conteúdo contido na página número 17
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. J1 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 LED3 1 2 PIN2 2 3 PIN3 3 4 PIN4 4 5 PIN5 5 6 MODE 6 7 CON_XCIN 7 8 CON_XCOUT 8 9 RESETn 9 10 CON_XOUT 10 11 GROUND 11 12 CON_XOUT 12 13 VCC 12 14 PIN14
Resumo do conteúdo contido na página número 18
J3 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 DLCD5 41 2 DLCD4 42 3 LED0 43 4 INT0n 44 5 TXD1 45 6 RXD1_INT3n* 46 7 CLK2 47 8 RXD2 48 9 TXD2 49 10 TMR1 50 11 TMR0 51 12 INT1n 52 13 INT2n 53 14 AN11 54 15 AN10 55 16 AN9 56 17 ADPOT_AN8* 57 18 IO_7 58 19 IO_6 59 20 IO_5 60 Table 9-3: J3 J4 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 IO_4 61 2 IO_3 62 3 IO_2 63 4 IO_1 64 5 IO_0 65 6 AN7 66 7 AN6 67 8 AN5 68 9 AN4 69 10 AN3 70 11 LED
Resumo do conteúdo contido na página número 19
9.2. Application Headers Table 9-5 to Table 9-8 below show the standard application header connections. * Marked pins are subject to option links. JA1 Pin Header Name Circuit Net Device Pin Header Name Circuit Net Device Name Pin Name Pin 1 Regulated Supply 1 CON_5V --- 2 Regulated Supply 1 GROUND --- 3 Regulated Supply 2 CON_3V3 --- 4 Regulated Supply 2 GROUND --- 5 Analog Supply NC --- 6 Analog Supply NC --- 7 Analog Reference CON_VREF* 77 8 ADTRG NC --- 9 ADC0 AN0* 76 10 ADC1 AN1* 7
Resumo do conteúdo contido na página número 20
JA5 Pin Generic Header Name CPU board Device Pin Generic Header Name CPU board Device Signal Name Pin Signal Name Pin 1 AD4 AN4 69 2 AD5 AN5 68 3 AD6 AN6 67 4 AD7 AN7 66 5 CAN1TX --- --- 6 CAN1RX --- --- 7 CAN2TX --- --- 8 CAN2RX --- --- 9 AD8 AN8 57 10 AD9 AN9 56 11 AD10 AN10 55 12 AD11 AN11 54 13 TIOC0A TRCIOA 17 14 TIOC0B TRCIOB 16 15 TIOC0C TRCIOC 15 16 M2_TRISTn --- --- 17 TCLKC TRCCLK 18 18 TCLKD TRDCLK 30 19 M2_Up --- --- 20 M2_Un --- --- 21 M2_Vp --- --- 22 M2_Vn --- ---