Renesas R8C/25 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

Go to page of

A good user manual

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

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 R8C/25 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

    REJ10J1242-0200 Renesas Starter Kit for R8C/25 User’s Manual RENESAS SINGLE-CHIP MICROCOMPUTER M16C F AMIL Y / R8C/T iny SERIES Rev .2.00 Renesas Solutions Corp. Revision date: 15.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 Corp. Trademarks All brand or product names used in this manual are trademarks or registered trademark[...]

  • 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 3V to 5V power supply. A diode provides reverse polarity protection only if a current limiting power supply is used. All RSK boards are supplied with an E8a debugger module. This produc t is ab le to power the RSK board with up to 300mA. When the RSK is connected to another system t[...]

  • Page 6

    Chapter 4. Board Layout 4.1. Component Layout The following diagram shows the top layer component layout of the board. JA2 JA1 MCU Reset Switch E8 Heade r User Switches Potentiomete r User LED Power LED Boot LED Power A pplication Board Inter face Microcontroller Pin Headers (J1 to J4 ) LCD Display A pplication Board Inter face RS232 Serial User/Bo[...]

  • 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. JA2 JA1 MCU 3. 81m m 5. 00m m 14.0 0mm 45.00mm 27.00m m 50.80mm 80.0 0mm 85.0 0mm 92 .71 m m 85 .00m m 10 0.00 mm Figure 4-2 : Board Dimensions 5[...]

  • Page 8

    Chapter 5. Block Diagram Figure 5-1 is representative of the CPU board components and their connectivity. B o ot m ode pi ns BO O T Ci rcui t ry D-t y pe Lat c h RE S E T p i n RE S SW1 B OOT SW2 SW3 S wi t c hes IR Q p i n s PO WER: G r e e n B OOT : Or a nge LE D s Use r L ED x4 1Green, 1Orage, 2R ed I/O AD C I n p u t P ot ent im et er A p p lic[...]

  • 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. RESET Pin8 SW1/BOOT* Connects to an IRQ input for user controls. The switch is also used in conjunction with [...]

  • Page 10

    6.4. Serial port The microcontroller programming serial port 1 is connected to the RS232 transceiver. This serial port can optionally be connect ed to the RS232 transceiver as well by fitting option resistors. T he connections to be fitted are listed in the ta ble 6-3. Description Function Fit for RS232 TxD1 Programming Serial Port R45 RxD1 Program[...]

  • Page 11

    6.6.Option Links Table 6-5 below describes the function of t he option links contained on this RSK board. Option Link Settings Reference Function Fitted Alt ernat ive (R emoved ) Related To R7 Reference Voltage Connects Reference Voltage to microcontroller Reference Voltage disconnected from microcontroller R19 R8 Oscillator (Main clock) Connects E[...]

  • Page 12

    Option Link Settings Reference Function Fitted Alt ernat ive (R emoved ) Related To R22 Board VCC Connects External 3V3 (CON_3V3) to Board_VCC External 3V3 disconnected from Board_VCC R20, R21 R23 Microcontroller VCC Supply to microcontroller Fit Low ohm resister to measure current R30 User I/O Power Supply Connects Board_VCC supply to SW2, 3 and L[...]

  • Page 13

    Option Link Settings Reference Function Fitted Alt ernat ive (R emoved ) Related To R64 CAN Do not use CAN function, R8C/25 Microcontroller do not have CAN function Do not use CAN function, R8C/25 Microcontroller do not have CAN function R66 CAN Do not use CAN function, R8C/25 Microcontroller do not have CAN function Do not use CAN function, R8C/25[...]

  • Page 14

    Chapter 7. Modes The RSK supports Boot mode and Single chip mode. Details of programming the FLASH memory is described in the R8C/25 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: MODE LSI State after Reset End Low Boot Mode Table 7-1: Boot Mode pin settings The softwa[...]

  • Page 15

    Chapter 8. Programming Methods The board is intended for use with HEW and the supplied E8a debugger . Refer to R8C/25 Group Hardware Manual for details of programming the microcontroller without using these tools. 13[...]

  • Page 16

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

  • Page 17

    J3 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 IRQ0/TRIGa* 27 2 IRQ1/IO_6* 28 3 IRQ2/IO_7* 29 4 LCD_E 30 5 LCD_RS 31 6 AD_POT 32 7 P3_1 33 8 TMR1 34 9 IO_5 35 10 IO_4 36 11 IO_3 37 12 AD0 38 13 No Connection - 14 No Connection - Table 9-3: J3 J4 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 No Connection - [...]

  • Page 18

    9.2. Application Headers Table 9-5 and Table 9-6 below show the standard application header connections. * Marked pins are subject to option links. JA1 Pin Header Name RSK Signal Name Device Pin Pin Header Name RSK Signal Name Device Pin 1 Regulated Supply 1 CON_5V - 2 Regulated Supply 1 GROUND - 3 Regulated Supply 2 CON_3V3 - 4 Regulated Supply 2 [...]

  • Page 19

    J9 Pin Function Signal Name 1 Power Supply (for LIN module) VBAT 2 GROUND GND J10 Pin Function Signal Name 1 Power Supply (for LIN module) VBAT 2 LIN Bus Line LIN 3 GROUND GND Table 9-7: LIN Headers 17[...]

  • Page 20

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

  • Page 21

    10.4. Memory Map SFR In te rn a l R AM I nt er nal RO M ( Dat a A r ea ) I nt er nal RO M (Prog ra m Are a) 00000h 002FF h 00400h 00B F F h 02400h 02B F F h 08000h E m ul ator F i r mwar e Ar e a Us er RO M Ar ea F ix ed Vector T ables 08800h 0F F F F h 0F F DCh E m ul ator F i r mwar e Ar e a Us er RA M A r ea N o te : E 8 Fi r mw a re a r e a se [...]

  • Page 22

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

  • Page 23

    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 R8C/25 group microcontrolle rs refer to the R8C/25 Group Hardwa re Manual For information about the R8C/25 assembly language, refe r to the R8C/Tiny Series [...]

  • Page 24

    Renesas S tarter Kit for R8C/25 User's Ma nual Publication Date Rev.1.01 29.05.2006 Published by: Renesas Solutions Corp. 4-1-6, Miyahara, Y odogawa-ku, Osaka Ci ty , 532-0003, Japan ©2006 Renesas Solu tions Corp., Re nesas T echnol ogy Europe Ltd. and Renes as T echnolo gy Corp., All Rights Reserv ed.[...]

  • Page 25

    Renesas S tarter Kit for R8C/25 User's Manual Renesas Solutions Cor p. 4-1-6, Miyahara, Y odogawa-ku, Osaka Ci ty , 532-0003, Japan[...]