Manuale d’uso / di manutenzione del prodotto R8C/Tiny Series del fabbricante Renesas
Vai alla pagina of 27
REG10J0049-0200 Renesas Starter Kit for R8C/2D User’s Manual RENESAS SINGLE-CHIP MICROCOMPUTER M16C F AMIL Y / R8C/T iny SERIES Rev .2.00 Renesas Solutions Corp.
Table of Contents Chapter 1. Preface .................................................................................................................................................. 1 Chapter 2. Purpose ..............................................
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 w hole or part is prohibited without the written permission of Rene sas Solutions Corporation.
Chapter 2. Purpose This Renesas Starter Kit is an evaluati on 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.
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.
Chapter 4. Board Layout 4.1. Component Layout The following diagram shows the top layer component layout of the board. JA6 MCU Reset Switch E8 Header User Switches Potentiometer User LED Power LED Boo.
4.2. Board Dimensions The following diagram gives the board dimensions and connector positions. All through hole connect ors are on a common 0.1” grid for easy interfacing. MC U RING SW 1 SW 2 SW 3 R E S 120.00mm 100.00mm E8 Short Board = 85 mm 35.56 m m Serial D9 SKT 115.
Chapter 5. Block Diagram Figure 5-1 is representative of the CPU board components and their connectivity. Boot mode pins BOOT Circuitry D-type Latch RESET pin RES SW1 BOOT SW2 SW3 Switches IRQ pins PO.
Chapter 6. User Circuitry 6.1. Switches There are four switches located on the board. The f unction 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.
6.4. Serial port This RSK provides two serial ports to the user. The serial por t 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.
6.6. Option Links Table 6-5 below describes the function of the option links associated with Power configuration. The default configu ration is indicated by BOLD text.
Table 6-7 below describes the function of the option links associated with serial configuration. The default configuration is indicat ed by BOLD text. Option Link Settings Reference Function Fitted Alte rnati ve (Rem oved) Related To R11 Serial Port Configuration Connects serial port TXD1 to S ERIAL D-type connect or.
Table 6-9 below describes the function of the option links associated with serial configuration. The default configuration is indicat ed by BOLD text. Option Link Settings Reference Function Fitted Al.
The Reset circuit operates by latching the state of the boot sw itch 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 acti ve to avoid possible device damage.
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.
Chapter 8. Programming Methods The board is intended for use with High-performance Embedded Wo rkshop and the supplied E8a debugger. Refer to R8C/2C Group, R8C/2D Group Hardware Manu al for details of pr ogra mming 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.
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.
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 Na me Circuit Net Name Device Pin Pin .
JA5 Pin Generic Header Name CPU board Signal Name Device Pin Pin Generic Header Name CPU board Signal Name Device Pin 1 AD4 AN4 69 2 AD5 AN5 68 3 AD6 AN6 67 4 AD7 AN7 66 5 CAN1TX --- --- 6 CAN1RX --- .
Table 9-9 below shows the LIN header connections . J5 Pin Fu nction Signal Name 1 Power Supply (for LIN module) VBAT 2 GROUND GND LIN Pin Fu nction Signal Name 1 Power Supply (for LIN module) VBAT 2 L.
Chapter 10. Code Development 10.1. Overview Note: For all code debugging using Renesas software tools, the R enesas Starter Kit board must be connected to a PC USB port via an E8a.
10.4. Memory Map SFR Internal RAM Internal ROM (Data Area ) Internal ROM ( Program Area ) 00000h 002FFh 00400 h 00 FFFh 02400 h 02 BFFh 04000h Fixed Vector Tables 0FFFFh 0FFDCh Reserved area Reserved .
Chapter 11. Component Placement Figure 11-1 : Component Placement 22.
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 R8C/2D group microcontrollers, re fer to the R8C/2C Gro up, R8C/2D Group Hardware Manual.
Renesas S tarter Kit for R8C/2D User's Ma nual Publication Date Rev.2.00 12.OCT.2007 Published by: Renesas Solutions Cor p. Dukes Meadow, Millboard Road, Bourne End Buckinghamshire SL8 5FH, United Kingdom ©2007 Renesas Solu tions Corp., Re nesas T echnology Europe Ltd.
Renesas S tarter Kit for R8C/2D User's Manual Renesas Solutions Cor p. Dukes Meadow , Millboard Road, Bourne End Buckingham shi re SL8 5FH, United Kingdom.
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Renesas R8C/Tiny Series è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Renesas R8C/Tiny Series - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Renesas R8C/Tiny Series imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Renesas R8C/Tiny Series ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Renesas R8C/Tiny Series, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Renesas R8C/Tiny Series.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Renesas R8C/Tiny Series. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Renesas R8C/Tiny Series insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.