ページ1に含まれる内容の要旨
REG10J0017-0200
Renesas Starter Kit
RSKM16C6NK User’s Manual
RENESAS SINGLE-CHIP MICROCOMPUTER
M16C FAMILY
Rev.2.00 Renesas Technology Europe Ltd.
Revision date:30.OCT.2007 www.renesas.com
i
ページ2に含まれる内容の要旨
Table of Contents Chapter 1. Preface..................................................................................................................................................1 Chapter 2. Purpose.................................................................................................................................................2 Chapter 3. Power Supply ............................................................................................................................
ページ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 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. © Renesa
ページ4に含まれる内容の要旨
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. 2
ページ5に含まれる内容の要旨
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. Warnin
ページ6に含まれる内容の要旨
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
ページ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 Corners x4 50.80 mm 3mm 43.18 mm radius 35.56 mm 27.00mm SW SW SW POT 1 2 3 JA2 JA6 Other J1 - Applies to connector with micriocontroller pin1 J2 J4 MCU E8 J3 Serial D9 JA1 JA5 R E SKT S 45.00mm Figure 4-2 : Board Dimensions 5 80.01mm Application Header JA3 (Expansion
ページ8に含まれる内容の要旨
Chapter 5. Block Diagram Figure 5-1 is representative of the CPU board components and their connectivity. Power Jack Option LCD Boot mode pins Boot Circuitry Application Board Headers Microcontroller Microcontroller Pin RESn RESET pin D-type latch Headers BOOT & BOOTn signals IRQ pin Debug Header Option IRQ pin ADC Input IRQ pin Serial Connector Option SW2 SW3 BOOT RES Potentiometer SWITCHES LEDs User: 4 LEDS Power: Green 1Green, 1Orange, 2Red Boot: Orange Figure 5-1: Block Diagram F
ページ9に含まれる内容の要旨
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 c
ページ10に含まれる内容の要旨
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. Description Function Fit For E8a Remove for Fit for Remove for Fit for Remove for E8a RS232 RS232 RS232 RS232 Channel 0 Channel 0 Channel 1 Channel 1 TxD1 Programming R13 R
ページ11に含まれる内容の要旨
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. The default configuration is indicated by BOLD text.
ページ12に含まれる内容の要旨
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 Function Fitted Alternative (Removed) Related To R96 External Oscillator Connects External Ring header Disconnects sensitive R100 pins to Microcontroller microcontroller signals from external pins. R100 External Oscillator Connects External Ring header Disconnects sensitive R96 pins to Microcontroller micro
ページ13に含まれる内容の要旨
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 Function Fitted Alternative (Removed) Related To R14 Programming Connects SCK to E8a SCK disconnected from E8a Serial Port R12 Programming Connects E8a to MUST be removed if R44 fitted. R44 Serial Port Programming Serial port. R13 Programming Connects E8a to Should be removed if R68 fitted. R68 Serial Po
ページ14に含まれる内容の要旨
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 Function Fitted Alternative (Removed) Related To R31 Analogue Power Connects Board VCC1 Analogue supply MUST be JA1,R43 supply to Analogue supply provided from external interface pins. (Fit R43) R43 Analogue Power Connects AVCC supply to R31 must be fitted R31 Application headers R109 VREF Connects Board
ページ15に含まれる内容の要旨
Option Link Settings Reference Function Fitted Alternative (Removed) Related To R82 Microcontroller pin Connects microcontroller pin MUST be removed if R80 fitted. R80 function select 28 to IICSDA R80 Microcontroller pin Connects microcontroller pin 28 Should be removed if R82 R82 function select to TXD2 pin fitted. R78 Microcontroller pin Connects microcontroller pin MUST be removed if R80 fitted. R76 function select 27 to IICSCL R76 Microcontroller pin Connects microcontroller pin 27
ページ16に含まれる内容の要旨
Option Link Settings Reference Function Fitted Alternative (Removed) Related To R128 Microcontroller pin Connects microcontroller pin 47 MUST be removed if R130 R130 function select to A21 pin fitted. R130 Microcontroller pin Connects microcontroller pin Should be removed if R128 R128 function select 47 to CS2N pin fitted. R118 Microcontroller pin Connects microcontroller pin 46 MUST be removed if R116 R116 function select to A22 pin fitted. R116 Microcontroller pin Connects microcont
ページ17に含まれる内容の要旨
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 circui
ページ18に含まれる内容の要旨
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. However, hardware exists to enter boot mode manu
ページ19に含まれる内容の要旨
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. 17
ページ20に含まれる内容の要旨
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 Circuit Net Name Device Pin Pin 1 CAN1OUT 99 2 CAN1IN 100 3 DA1 1 4 DA0 2 5 TXD2 3 6 RXD2 4 7 CLK3 5 8 BYTE 6 9 E8_CNVSS 7 10 CON_XCIN 8 11 CON_XCOUT 9 12 RESn 10 13 CON_XOUT 11 14 GROU