Renesas RSKM16C6NK manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Renesas RSKM16C6NK, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Renesas RSKM16C6NK one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Renesas RSKM16C6NK. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Renesas RSKM16C6NK should contain:
- informations concerning technical data of Renesas RSKM16C6NK
- name of the manufacturer and a year of construction of the Renesas RSKM16C6NK item
- rules of operation, control and maintenance of the Renesas RSKM16C6NK item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Renesas RSKM16C6NK alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Renesas RSKM16C6NK, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Renesas service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Renesas RSKM16C6NK.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Renesas RSKM16C6NK item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    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.OCT .2007 www .renesas.com i[...]

  • Page 2

    Table of Contents Chapter 1. Preface .................................................................................................................................................. 1 Chapter 2. Purpose ............................................................................................................................... .................[...]

  • Page 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 w hole or part is prohibited without the written permission of Rene sas Technology Europe Limited. Trademarks All brand or product names used in this manual are trademarks or registere[...]

  • Page 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 circuitr[...]

  • Page 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 boa rd with up to 300mA. When the RSK is connected to another system then that sy[...]

  • Page 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[...]

  • Page 7

    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.00mm 100.00mm E8 Other Short Board = 85 mm 35.56 mm Serial D9 SKT 115.00mm [...]

  • Page 8

    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 Microcontroller Pin Header s D-type latch RESn RESET pi n BOOT RES SW ITCHES IRQ pin Power Jack Option SW3 SW2 Boot Circuitry BOOT & BOOTn signals[...]

  • Page 9

    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. The switch is also used in conjunction with the RES[...]

  • Page 10

    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. Description Function Fit For E8[...]

  • Page 11

    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.6. Option Links Table 6-6 below[...]

  • Page 12

    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. Option Link Settings Reference Function Fitted Alte rnati ve (Rem oved) Related To R96 External Oscillator Connects External Ring header pins to Microcontroller Disconnects sensitive microcontroller[...]

  • Page 13

    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. Option Link Settings Reference Function Fitted Alte rnati ve (Rem oved) Related To R14 Programming Serial Port Connects SCK to E8a SCK disconnected from E8a R12 Programming Serial Port Connects[...]

  • Page 14

    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 R31 Analogue Power Connects Board VCC1 supply to Analogue supply Analogue supply MUST be provided from extern[...]

  • Page 15

    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 . R82 R78 Microcontroller pin func[...]

  • Page 16

    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. R128 R118 Microcontroller [...]

  • Page 17

    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.768kHz (90SMX package) Table 6-1[...]

  • Page 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 sett[...]

  • Page 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[...]

  • Page 20

    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. J1 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 CAN1OUT 99 [...]

  • Page 21

    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 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[...]

  • Page 22

    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 Header Name RSK Signal Name Device Pin 1 Regulated Supply 1 5V 2 Regulated Supply 1 GROUND 3 Regulated Supply 2 3V3 4 Regulated Supply 2 GROUND 5 Ana[...]

  • Page 23

    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 Device Pin 1 A0 A0 70 2 A1 A1 69 3 A2 A2 68 4 A3 A3 67 5 A4 A4 66 6 A5 A5 65 7 A6 A6 64 8 A7 A7 63 9 A8 A8 61 10 A9 A9 59 11 A10 A10 58 12 A11 A11 57 13 [...]

  • Page 24

    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 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[...]

  • Page 25

    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 CAN1H 100 2 GROUND 3 CAN1 Negative CAN1L 99 Table 9-10: CAN Headers 23[...]

  • Page 26

    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. Mode support is handled transparently to the user. 10.3. Br[...]

  • Page 27

    10.4. Memory Map Figure 10-1: Memory Map 25[...]

  • Page 28

    Chapter 11.Component Placement Figure 11-1: Component Placement 26[...]

  • Page 29

    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 microcontro llers refer to the M16C/6NKGroup Hard ware Manual For information about the M16C/6NK assembly language, refer to the M16C Series[...]

  • Page 30

    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., All Rights Rese rved.[...]

  • Page 31

    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[...]