Renesas REG10J0049-0200 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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Renesas REG10J0049-0200, 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 REG10J0049-0200 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 REG10J0049-0200. 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 REG10J0049-0200 should contain:
- informations concerning technical data of Renesas REG10J0049-0200
- name of the manufacturer and a year of construction of the Renesas REG10J0049-0200 item
- rules of operation, control and maintenance of the Renesas REG10J0049-0200 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 REG10J0049-0200 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 REG10J0049-0200, 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 REG10J0049-0200.

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 REG10J0049-0200 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

    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. Revision date: 12.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 Solutions Corporation. Trademarks All brand or product names used in this manual are trademarks or registered tr[...]

  • Page 4

    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. • Sample peripheral device initialisation code. The Renesas Starter Ki[...]

  • Page 5

    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. This product is able to power th e Renesas Starter Kit board w ith up t o 300mA. Whe[...]

  • Page 6

    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 Boot LED Powe r A pplication Board Interface Microcontroller Pin Headers (J1 to J4) LCD Display A pplication Board Interface RS232 Serial User/Boot Switc[...]

  • 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. 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.00mm 14.00mm 86.36mm 85.00 mm 3.81mm 5.00mm 50.80 m m 27.00mm 43.18 m m 45.[...]

  • Page 8

    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 POWER: Green BOOT: Orange LEDs User LED x4 1Green, 1Orange, 2 Red I/O ADC Input Potentiometer Application Board Interface Microcontroller Pin Headers E8[...]

  • Page 9

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

  • Page 10

    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.5. LCD Module A LCD module is supplied to be connected to the[...]

  • Page 11

    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. Option Link Settings Reference Function Fitted Alte rnati ve (Rem oved) Related To R10 Power Source Board can be powere d from PWR connector Disable external power connector R44, R45[...]

  • Page 12

    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. Disconnects serial port TXD1 f[...]

  • Page 13

    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 Alte rnati ve (Rem oved) Related To R36 Analog configuration PIN 57 connected to ADPOT PIN 57 disconnected from ADPOT R66 R66 Analog configuration PIN 5[...]

  • Page 14

    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. The reset is held in the active sta te for a fixed period by a pair o[...]

  • Page 15

    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. 7.1. Boot mode The Boot mode settings for this Renesas Starter Kit are shown in Table 7-1: Boot Mode pin set tings below: MODE LSI State after Reset End Low Boot M[...]

  • Page 16

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

  • Page 17

    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 Pin Circuit Net Name Device Pin 1 LED3 1 2 PIN2 [...]

  • Page 18

    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 13 INT2n 53 14 AN11 54 15 AN10 55 16 AN9 56 17 ADPOT_AN8* 57 18 IO_7 58 19 IO_6 59 20 IO_5 60 Table 9-3: J3 J4 Pin Circuit Net Name Device Pin Pin Ci[...]

  • Page 19

    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 Header Name Circuit Net Name Device Pin 1 Regulated Supply 1 CON_5V --- 2 Regulated Supply 1 GROUND --- 3 Regulated Supply 2 CON_3V3 --- 4 Regulated S[...]

  • Page 20

    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 --- --- 7 CAN2TX --- --- 8 CAN2RX --- --- 9 AD8 AN8 57 10 AD9 AN9 56 11 AD10 AN10 55 12 AD11 AN11 54 13 TIOC0A TRCIOA 17 14 TIOC0B TRCIOB 16 15 TIOC0C TRC[...]

  • Page 21

    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 LIN Bus Line LIN 3 GROUND GND Table 9-9: LIN Headers 19[...]

  • Page 22

    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. An E8a is supplied with the Renesas Starter Kit product. 10.2. Mode Support High-performance Embedded Workspace connects to the Microcontroller and programs it via the E[...]

  • Page 23

    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 area Reserved area Emulator vector 0FFE 4h 0FFEFh Emulator vector 0FFF 4h 0FFFEh 0FFFFh 0 FFDCh Emulator Firmware Area Emulator Firmware Area Note : E[...]

  • Page 24

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

  • Page 25

    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. For information about the R8C/2D assembl[...]

  • Page 26

    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. and Renes as T echnology Corp., All Rights Reserv ed.[...]

  • Page 27

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