To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding. Renesas Electronics website: http://www.renesas.
Notice 1. 2. 3. 4. 5. 6. 7. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office.
User’s Manual Renesas Starter Kit RSKM16C6NK User’s Manual RENESAS SINGLE-CHIP MICROCOMPUTER M16C FAMILY Rev.2.00 2007.
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 Corporation.
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. • Sample peripheral device initialisation code. The RSK board contains all the circuitry required for microcontroller operation.
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 board with up to 300mA. When the RSK is connected to another system then that system should supply power to the RSK. All RSK boards have an optional centre positive supply connector using a 2.1mm barrel power jack.
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. 120.00mm 115.00mm 86.36mm Short Board = 85 mm Corners x4 3mm radius 50.80 mm 43.18 mm 35.56 mm 27.00mm SW 1 SW 2 SW 3 POT JA6 JA2 Other J1 - Applies to connector J4 R E S 14.00mm Serial D9 SKT JA4 J3 JA5 JA1 3.81mm 5.00mm 45.00mm Figure 4-2 : Board Dimensions 5 100.00mm MCU 85.
Chapter 5. Block Diagram Figure 5-1 is representative of the CPU board components and their connectivity.
Chapter 6. User Circuitry 6.1. Switches There are four switches located on the RSK. The function 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. INT0 Pin18 The switch is also used in conjunction with the RES switch to place (Port 8, pin 2) the device in BOOT mode when not using the E8a module. SW2* Connects to an IRQ line for user controls.
6.4. Serial port The microcontroller programming serial port 1 is connected to the RS232 connector. A serial port can be used by moving option resistors and fitting the D connector. This can be connected to serial channel 1 if the E8a is disabled from using channel 1; or serial channel 0 while the E8a is enabled.
J11 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin 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.6. Option Links Table 6-6 below describes the function of the option links associated with Power configuration.
Table 6-7 below describes the function of the option links associated with Clock configuration. The default configuration is indicated by BOLD text. Option Link Settings Reference R96 Function Fitted Alternative (Removed) External Oscillator Connects External Ring header Disconnects sensitive pins to Microcontroller microcontroller signals from Related To R100 external pins.
Table 6-8 below describes the function of the option links associated with Serial configuration. The default configuration is indicated by BOLD text. Option Link Settings Reference R14 Function Fitted Alternative (Removed) Related To Connects SCK to E8a SCK disconnected from E8a Programming Connects E8a to MUST be removed if R44 fitted. R44 Serial Port Programming Serial port. Programming Connects E8a to Should be removed if R68 fitted. R68 Serial Port Programming Serial port.
Table 6-9 below describes the function of the option links associated with Analog configuration. The default configuration is indicated by BOLD text. Option Link Settings Reference R31 Function Analogue Power Fitted Alternative (Removed) Connects Board VCC1 Analogue supply MUST be supply to Analogue supply provided from external interface Related To JA1,R43 pins.
Option Link Settings Reference R82 R80 R78 R76 R114 R115 R60 R61 R94 R93 R92 R90 R84 R83 R87 R85 R88 R86 Function Fitted Alternative (Removed) Microcontroller pin Connects microcontroller pin MUST be removed if R80 fitted. R80 function select 28 to IICSDA Microcontroller pin Connects microcontroller pin 28 Should be removed if R82 R82 function select to TXD2 pin fitted. Microcontroller pin Connects microcontroller pin MUST be removed if R80 fitted.
Option Link Settings Reference R128 R130 R118 R116 R131 R129 R117 R119 R67 R66 R45 R46 Function Fitted Alternative (Removed) Microcontroller pin Connects microcontroller pin 47 MUST be removed if R130 function select to A21 pin fitted. Microcontroller pin Connects microcontroller pin Should be removed if R128 function select 47 to CS2N pin fitted. Microcontroller pin Connects microcontroller pin 46 MUST be removed if R116 function select to A22 pin fitted.
6.7.Oscillator Sources A crystal oscillator is fitted on the RSK and used to supply the main clock input to the Renesas microcontroller. Table 6-12 details the oscillators that are fitted and alternative footprints provided on this RSK: Component Crystal (X1) Fitted 10MHz (HC/49U package) Subclock (X2) Fitted 32.768kHz (90SMX package) Table 6-12: Oscillators / Resonators 6.8. Reset Circuit The CPU Board includes a simple latch circuit that links the mode selection and reset circuit.
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.0 P5.5 LSI State after Reset End 1 1 0 Boot Mode Table 7-1: Boot Mode pin settings The software supplied with this RSK only supports Boot mode using an E8a and HEW.
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 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 Circuit Net Name Pin 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 58 11 A9_IO1 59 12 UC_VCC2 60 13 A8_IO0 61 14 GROUND 62 15 A7_DLCD7 63 16 A6_DLCD6 64 17 A5_DLCD5 65 18 A4_DLCD4 66 19 A3 67 20 A2 68 21 A1_DLCDE 69 22 A0_DLCDRS 70 23 D15 71 24 D14 72 25 D13 73 26 D12 74 27 D11 75 28 D10 7
9.2. Application Headers Table 9-5 and Table 9-6 below show the standard application connections. * Marked pins are subject to option links.
Table 9-7 to Table 9-9 below show the optional generic header connections. * Marked pins are subject to option links.
JA5 Pin Header Name RSK Signal Device Name Pin Pin Header Name RSK Signal Device Name 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 CAN1OUT 99 8 CAN CAN1IN 100 9 Reserved 10 Reserved 11 Reserved 12 Reserved 13 Reserved 14 Reserved 15 Reserved 16 Reserved 17 Reserved 18 Reserved 19 Reserved 20 Reserved 21 Reserved 22 Reserved 23 Reserved 24 Reserved Table 9-8: J
Table 9-10 below shows the CAN connections J14 Pin Function 1 CAN0 Positive 2 GROUND 3 CAN0 Negative Signal Name Device Pin CAN0H 21 CAN0L 22 J15 Pin Function 1 CAN1 Positive 2 GROUND 3 CAN1 Negative Signal Name Device Pin CAN1H 100 CAN1L 99 Table 9-10: CAN Headers 23
Chapter 10. Code Development 10.1. Overview Note: For all code debugging using Renesas software tools, the RSK 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 the E8a. Mode support is handled transparently to the user. 10.3. Breakpoint Support HEW supports breakpoints on the user code, both in RAM and ROM. Double clicking in the breakpoint column in the code sets the breakpoint.
10.4.
Chapter 11.
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. For information about the M16C/6NK series microcontrollers refer to the M16C/6NKGroup Hardware Manual For information about the M16C/6NK assembly language, refer to the M16C SeriesSoftware Manual. Online technical support and information is available at: http://www.renesas.
Renesas Starter Kit for M16C/6NK User's Manual Publication Date Rev.02.00 30.OCT.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., All Rights Reserved.
Renesas Starter Kit for M16C/6NK User’s Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REG10J0017-0200