Renesas H8SX/1668R 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
32
33

Go to page of

A good user manual

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

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 H8SX/1668R 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

    REG10J0131-0100 Renesas Starter Kit for H8SX/1668R User’s Manual RENESAS SINGLE-CHIP MICROCOMPUTER H8SX F AMIL Y Rev .1.00 Renesas T echnology Europe Ltd. Revision date: 04.APR.2008 www .renesas.com[...]

  • Page 2

    T able of Content s Chapter 1. Preface .............................................................................................................................. ......................................................... 3 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. This manual describes the technical details of the RSK hardware. The Quick Start Guide and Tutorial Manual provide details of t he software installation and debugging environment. Features include: • Renesas Microcontroller Programming. • User Code Debugging. • Us[...]

  • 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. All RSK boards are supplied with an E10A debugger. All RSK boards have an optional centre positive supply connector using a 2.0mm barrel powe r jack. Warning The RSK is nei[...]

  • Page 6

    Chapt Figure 4-1: Board Layout er 4. Board Layout 4.1. Component Layout The following diagram shows top layer component layout of the board. User switches E8 Header Power RS232 Serial App lication board interfaces LCD Dis p la y Microcontroller p in headers App lication board interface Potentiometer User LEDs Reset switch JA1 J1 J2 J4 LCD Power LED[...]

  • 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. Applicat ion Header RING 14.00m m 80.0 1mm 3.81m m 5.00m m JA3 Applies to connector with micriocontroller pi n1 100. 00mm 85. 00m m Figure 4-2: Board Dime nsions 7[...]

  • Page 8

    Chapter 5. Block Diagram Figure 5-1 shows the CPU board components and their connectivity. Microcontroller User: 4 LEDS 1Green, 1Orange , 2Red Application Bo ard Headers Potentiometer Microcontroller Pin Headers D-type latch RESn RESET pin BOOT RES SWITCH ES IRQ pin Power Jack Option SW3 SW2 Boot Circuitry BOOT & BOOTn signals Power: Green Boot[...]

  • Page 9

    E10A E8 Figure 5-2: RSK Connec tions 9[...]

  • Page 10

    Chapter 6. User Circuitry 6.1. Switches There are four switches located on the CPU board. 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 , Pin 91 SW1/BOOT* Connects to an IRQ input for user controls. The switch is also used in conjuncti[...]

  • Page 11

    Description Function Circuit Net Name CPU’s Pin Fit for RS232 Remove for RS232 SCI0 Default serial port TXD0 52 R31 R37 SCI0 Default serial port RXD0 51 R30 R36 SCI5 Spare Serial Port TXD5 93 R34, R15 - SCI5 Spare Serial Port RXD5 94 R35, R28 - Table 6-3: Serial Port settings The SCI0 port is also available on J2 and JA2 (R59 and R70 must be fitt[...]

  • Page 12

    Option Link Settings Reference Function Fitted Alte rnative (Rem oved) Related To R15 Serial Port Configuration Connects serial port SCI5 (Tx) to D-type connector (J8). Disconnects serial port SCI5 (Tx) from D-type connec tor (J8 ). R28, R34, R35 R19 Serial Port configuration Disables RS232 Serial Transceiver Enables RS232 Serial Transceiver - R28 [...]

  • Page 13

    Option Link Settings Reference Function Fitted Alte rnative (Rem oved) Related To R71 Application board interface Use DA1 of application board interface. Use AN7 of application board interface. R111 R111 Application board interface Use AN7 of application board interface. Use DA1 of application board interface. R71 R60 Application board interface Us[...]

  • Page 14

    Option Link Settings Reference Function Fitted Alte rnative (Rem oved) Related To R67 Application board interface Use IO3 of application board interface Use UD of application board interface R78 R78 Application board interface Use UD of application board interface Use IO3 of application board interface R67 R82 Application board interface Use IO2 of[...]

  • Page 15

    Option Link Settings Reference Function Fitted Alte rnative (Rem oved) Related To R3 Power source Enables external 5V power supply from ‘PWR’ (J7) connector. Disables power supply from ‘PWR’ (J7) connector. R13, R47, R48 R13 USB Power source Enables USB VBUS as power supply for this RSK board. Disables USB VBUS as power supply. R3, R50 R18 [...]

  • Page 16

    Option Link Settings Reference Function Fitted Alte rnative (Rem oved) Related To R93 32.768 KHz Clock Oscillator Routes OSC1 CPU pin to J3 header OSC1 CPU pin and J3 header are not connected R94, R103, R105 R94 32.768 KHz Clock Oscillator Routes OSC2 CPU pin to J3 header OSC2 CPU pin and J3 header are not connected R93, R103, R105 R103 32.768 KHz [...]

  • Page 17

    Option Link Settings Reference Function Fitted Alte rnative (Rem oved) Related To R21 Analog Voltage Source Analog Voltage Source is set to on-board Vcc. Analog Voltage Source is taken from external connector. R46 R46 Analog Voltage Source Analog Voltage Source is taken from external connector. Analog voltage source is set to on-board Vcc. R21 R137[...]

  • Page 18

    The mode pins should change state only while the r eset signal is active to avoid possible de vice damage. The reset is held in the active sta te for a fixed period by a pair of resistors and a capacitor . Please check the reset require ments carefully to ensure the reset circuit on the user ’ s board meets all the reset timing requirements. 6.9.[...]

  • Page 19

    Chapter 7. Modes This RSK supports two Boot modes and Single Chip mode. Details of programming the FLASH memory is described in the H8SX/1668R 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: EMLE MD2 MD1 MD0 PM2 LSI State after Reset End 0 0 1 0 0 SCI boot mode 0 0 1 0 [...]

  • Page 20

    Chapter 8. Programming Methods The board is intended for use with HEW and the supplied E10A d ebugger. Refer to H8SX/1668R Group Hardware Manual for details of programming the microcontroller without using these tools. Please note that to use E10A debugger , jumper E10A_EN (J15) must be fitted. 20[...]

  • Page 21

    Chapter 9. Headers 9.1. Microcontroller Headers Table 9-1 to Table 9-4 show the microcontroller pin headers and their correspondi ng microcontroller connections. The header pins connect directly to the microcontroller pin unless otherwise stated. J1 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 CS1n 1 2 CS2n 2 3 LED0 3 4 GROUND [...]

  • Page 22

    J2 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 A1 37 2 A0 38 3 EMLE 39 4 PM3 40 5 PM4 41 6 UC_VCC - 7 NC - 8 NC - 9 GROUND - 10 VBUS_DET 46 11 MD_CLK 47 12 GROUND 48 13 IO0_CLK0 49 14 UC_VCC 50 15 IO1_RxD0 51 16 IO2_TxD0 52 17 IO3_UD 53 18 IO4_Wn 54 19 IO5_Wp 55 20 TIOCA0_Vp 56 21 TIOCB0_Vn 57 22 TRISTn 109 23 IO6 59 24 IO7 60[...]

  • Page 23

    J3 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 D7 73 2 UC_VCC 74 3 D8 75 4 D9 76 5 D10 77 6 D11 78 7 GROUND 79 8 D12 80 9 D13 81 10 D14 82 11 D15 83 12 IRQ0n 84 13 IRQ1n 85 14 LED3 86 15 IRQ3n_ADTRGn 87 16 GROUND 88 17 CON_OSC2 (*) 89 18 CON_OSC1 (*) 90 19 RESn 91 20 NC - 21 TxD5 93 22 RxD5 94 23 WDTOVFn_TDO 95 24 GROUND 96 25[...]

  • Page 24

    J4 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 TRSTn 109 2 UC_VCC - 3 TMS 111 4 GROUND - 5 TDI 113 6 TCK 114 7 MD0 115 8 LED1 116 9 LED2 117 10 ADPOT_AN0 118 11 AN1 119 12 AN2 120 13 CON_AVCC 121 14 AN3 122 15 AVSS 123 16 AN4 124 17 CON_VREF 125 18 AN5 126 19 DA0_AN6 127 20 DA1_AN7 128 21 MD1 129 22 DLCDD4 130 23 DLCDD5 131 24[...]

  • Page 25

    9.2. Application Headers Table 9-5 to Table 9-9 below show the standard application header connections. JA1 Pin Generic Header Name CPU board Signal Name Device Pin Pin Generic Header Name CPU board Signal Name Device Pin 1 5V CON_5V - 2 0V GROUND - 3 3V3 CON_3V3 - 4 0V GROUND - 5 AVCC CON_AVCC 121 6 AVss CON_AVSS 123 7 AVref CON_VREF 125 8 ADTRG A[...]

  • Page 26

    JA5 Pin Generic Header Name CPU board Signal Name Device Pin Pin Generic Header Name CPU board Signal Name Device Pin 1 AD4 AN4 124 2 AD5 AN5 126 3 AD6 AN6 (**) 127 4 AD7 AN7 (**) 128 5 CAN1TX - - 6 CAN1RX - - 7 CAN2TX - - 8 CAN2RX - - 9 - - - 10 - - - 11 - - - 12 - - - 13 - - - 14 - - - 15 - - - 16 - - - 17 - - - 18 - - - 19 - - - 20 - - - 21 - - [...]

  • Page 27

    JA3 Pin Generic Header Name CPU board Signal Name Device Pin Pin Generic Header Name CPU board Signal Name Device Pin 1 A0 A0 38 2 A1 A1 37 3 A2 A2 36 4 A3 A3 35 5 A4 A4 34 6 A5 A5 33 7 A6 A6 31 8 A7 A7 30 9 A8 A8 29 10 A9 A9 28 11 A10 A10 27 12 A11 A11 26 13 A12 A12 24 14 A13 A13 22 15 A14 A14 21 16 A15 A15 20 17 D0 D0 65 18 D1 D1 66 19 D2 D2 67 2[...]

  • Page 28

    Chapter 10. Code Development 10.1. Overview Note: For all code debugging using Renesas software tools, the R SK board must be conne cted to a PC USB port via an E10A. An E10 A pod is supplied with the RSK product. 10.2. Compiler Restrictions The compiler supplied with this RSK is fully functional for a per iod of 60 days from first use. After the f[...]

  • Page 29

    10.5. Memory Map Figure 10-1: Memory Map 29[...]

  • Page 30

    Chapter 11. Component Placement Figure 11-1: Component Placement – Front vi ew 30[...]

  • Page 31

    31 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 H8SX/1668R series microcontro llers refer to the H8SX/1668R Group hardware manual. For information about the H8SX/1668R assembly language, refer to the H[...]

  • Page 32

    Renesas S tarter Kit for H8SX/1668R User's Ma nual Publication Date Rev.1.00 04.04.2008 Published by: Renesas T echnology Europe Ltd. Duke’s Meadow , Millboard Road, Bourne End Buckinghamshire SL8 5F H, United King dom ©2008 Renesas T ec hnology Europe an d Renesas Solutions Co rp., All Rights Reserved.[...]

  • Page 33

    Renesas S tarter Kit for H8SX/1668R User's Manual Renesas T echnology Euro pe Ltd. Duke’s Meadow , Millboard Road, Bourne End Buckinghamshire SL8 5F H, United King dom[...]