Manuel d'utilisation / d'entretien du produit RSKM16C6NK du fabricant Renesas
Aller à la page of 31
REG10J0017-0200 Renesas Starter Kit RSKM16C6NK User’s Manual RENESAS SINGLE-CHIP MICROCOMPUTER M16C FAMILY Rev .2.00 Renesas T echnology Europe Ltd. Revision date : 30.
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 Technology Europe Limited.
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.
Chapter 3. Power Supply 3.1. Requirements This RSK operates from a 5V power supply. A diode provides reverse polarity protection only if a current limiting power supply is used. RSK boards are supplied with an E8a debugger module. This product is able to power the RSK boa rd with up to 300mA.
Chapter 4. Board Layout 4.1. Component Layout The following diagram shows the top layer component layout of the board. E8a Header Figure 4-1: Board Layout 4.
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. MCU Application Header (Expa nsion Bu s) Application Header (LCD) RING SW 1 SW 2 SW 3 R E S POT 120.
Chapter 5. Block Diagram Figure 5-1 is representative of the CPU board components and their connectivity. Microcontroller User : 4 LEDS 1Green, 1Orange, 2Red Application Board Header s Potenti ometer .
Chapter 6. User Circuitry 6.1. Switches There are four switches located on the RSK. The f unction of each switch and its connection are shown in Table 6-1 . Switch Function Microcontroller RES When pressed the RSK microcontroller is reset. RESn SW1/BOOT* Connects to an IRQ input for user controls.
6.4. Serial port The microcontroller programming serial port 1 is connected to t he RS232 connector. A serial port can be used by moving option r esistors and fitting the D connector. This can be connect ed to serial channel 1 if the E8a is dis abled from using channel 1; or serial channel 0 while the E8a is enabled.
J11 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 Ground - 2 5V Only - 3 No Connection - 4 DLCDRS 70 5 R/W (Wired to Write only) - 6 DLCDE 69 7 No Connection - 8 No Connection - 9 No Connection - 10 No Connection - 11 DLCD4 66 12 DLCD5 65 13 DLCD6 64 14 DLCD7 63 Table 6-5: LCD Module Connections 6.
T able 6-7 below describes the function of the option links associated with Clock configuration. The default configuration is indicat ed b y BOLD text.
Ta b l e 6 - 8 below describes the f unction of the option links associated with Serial configuration. The def ault configuration is indicated by BOLD text.
Ta b l e 6 - 9 below describes the function of the opt ion links associat ed with Analog configuration. The default configuration is indicate d by BOLD text.
Option Link Settings Reference Function Fitted Alte rnati ve (Rem oved) Related To R82 Microcontroller pin function select Connects microcontroller pin 28 to IICSDA MUST be removed if R80 fitted. R80 R80 Microcontroller pin function select Connects microcontroller pin 28 to TXD2 pin Should be removed if R82 fitted .
Option Link Settings Reference Function Fitted Alte rnati ve (Rem oved) Related To R128 Microcontroller pin function select Connects microcontroller pin 47 to A21 pin MUST be removed if R130 fitted . R130 R130 Microcontroller pin function select Connects microcontroller pin 47 to CS2N pin Should be removed if R128 fitted.
6.7.Oscillator Sources A crystal oscillat or is fitted on the RSK and used to supply the main clock input to the Renesas microcontroller . details the T able 6-12 oscillators that are fitted and alternat ive footprints provided on this RSK: Component Crystal (X1) Fitted 10MHz (HC/49U package) Subclock (X2) Fitted 32.
Chapter 7. Modes The RSK supports Boot mode and Single chip mode. Details of programming the FLASH memory is described in the M16C/6NK Group Hardware Manual. 7.1. Boot mode The boot mode settings for this RSK are shown in Table 7-1: Boot Mode pin settings below: CNVSS P5.
Chapter 8. Programming Methods The board is intended for use with HEW and the supplied E8a module. Refer to the M16C/6NK 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 co rresponding 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 A19_LED3 49 2 A18_LED2 50 3 A17_LED1 51 2 A16_LED0 52 5 A15_IO7 53 6 A14_IO6 54 7 A13_IO5 55 8 A12_IO4 56 9 A11_IO3 57 10 A10_IO2 5.
9.2. Application Headers Table 9-5 and Table 9-6 below show the standard application connections . * Marked pins are subject to option links. JA1 Pin Generic Header Name RSK Signal Name Device Pin Pin.
Table 9-7 to Table 9-9 below show the optional generic header connections. * Marked pins are subject to option links. JA3 Pin Header Name RSK Signal Name Device Pin Pin Header Name RSK Signal Name Dev.
JA5 Pin Header Name RSK Signal Name Device Pin Pin Header Name RSK Signal Name Device Pin 1 ADC4 I4 AN4* 90 2 ADC5 I5 AN5* 89 3 ADC6 I6 AN6* 88 4 ADC7 I7 AN7* 97 5 CAN CAN0OUT 22 6 CAN CAN0IN 21 7 CAN.
Table 9-10 below shows the CAN connections J14 Pin Function Signal Name Device Pin 1 CAN0 Positive CAN0H 21 2 GROUND 3 CAN0 Negative CAN0L 22 J15 Pin Function Signal Name Device Pin 1 CAN1 Positive CA.
Chapter 10. Code Development 10.1. Overview Note: For all code debugging using Renesas software tools, the R SK board must be connected to a PC USB port via an E8a. An E8a is supplied with the RSK product. 10.2. Mode Support HEW connects to the Microcontroller and programs it via t he E8a.
10.4. Memory Map Figure 10-1: Memory Map 25.
Chapter 11.Component Placement Figure 11-1: Component Placement 26.
Chapter 12. Additional Information For details on how to use High-performance Embedded Workshop (HEW, refer to the HEW manual available on the CD or from the web site.
Renesas S tarter Kit for M16C/6NK User's Ma nual Publication Date Rev.02.00 30.OCT.2 007 Published by: Renesas T echnology Europe Ltd. Duke’s Meadow , Millboard Road, Bourne End Buckinghamshire SL8 5F H, United King dom ©2007 Renesas T echn ology Europe and Renes as Solutions Co rp.
Renesas S tarter Kit for M16C/6NK User's Manual Renesas T echnology Europe Ltd. Duke’s Meadow , Millboard Road, Bourne End Buckinghamshire SL8 5F H, United King dom.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté Renesas RSKM16C6NK c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du Renesas RSKM16C6NK - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation Renesas RSKM16C6NK, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le Renesas RSKM16C6NK va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le Renesas RSKM16C6NK, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du Renesas RSKM16C6NK.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le Renesas RSKM16C6NK. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei Renesas RSKM16C6NK ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.