To our customers, Old Company Name in Catalogs and Other Documents On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding. Renesas Electronics website: http://www.renesas.
Notice 1. 2. 3. 4. 5. 6. 7. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office.
User’s Manual Renesas Starter Kit for H8SX/1664 User’s Manual RENESAS SINGLE-CHIP MICROCOMPUTER H8SX FAMILY Rev.1.00 2008.
Table of Contents Chapter 1. Preface ..................................................................................................................................................3 Chapter 2. Purpose .................................................................................................................................................4 Chapter 3. Power Supply ........................................................................................................................................
Chapter 1. Preface Cautions This document may be, wholly or partially, subject to change without notice. All rights reserved. No one is permitted to reproduce or duplicate, in any form, a part or this entire document 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. 2008. All rights reserved.
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). • Sample Application. • Sample peripheral device initialisation code. The CPU board contains all the circuitry required for microcontroller operation. This manual describes the technical details of the RSK hardware.
Chapter 3.Power Supply 3.1.Requirements This CPU board operates from a 5V power supply (supplied). A diode provides reverse polarity protection only if a current limiting power supply is used. All CPU boards have an optional centre positive supply connector using a 2.0mm barrel power jack. Warning The CPU board is neither under not over voltage protected. Use a centre positive supply for this board. 3.2.
Chapter 4.Board Layout 4.1.Component Layout The following diagram shows top layer component layout of the board. Application Board Interface JA5 Reset Switch BUS Interface RS 232 Serial JA1 Power LCD Display J11 Power LED J2 USB Microcontroller Pin Headers J3 J1 J A 3 E10A Header J4 JA6 User LEDs Boot LED JA2 Application Board Interface Potentiometer Figure 4.
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. Figure 4.
Chapter 5.Block Diagram Figure 5.1 shows the CPU board components and their connectivity. Power Jack Option Application Board Headers Microcontroller Pin Headers Boot mode pins Boot Circuitry Microcontroller Debug Header Option RESn RESET pin D-type latch BOOT & BOOTn signals IRQ pin IRQ pin IRQ pin USB Connector Option ADC Input Serial Connector Option SW2 Potentiometer SW3 BOOT RES SWITCHES LEDs User: 4 LEDS 1Green, 1Orange, 2Red Power: Green Boot: Orange Figure 5.
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 CPU board microcontroller is reset. RESn SW1/BOOT* Connects to an IRQ input for user controls. IRQ0n, Pin 84 (Port 1, pin 0) SW2* Connects to an IRQ line for user controls. IRQ1n , Pin 85 (Port 1, pin 1) SW3* Connects to the ADC trigger input.
Description Function Fit For E8a Remove for Fit for RS232 Remove for E8a RS232 SCI4 Tx Programming Serial Port R6 R37 R37 R6 SCI4 Rx Programming Serial Port R5 R36 R36 R5 Table 6-3 - Serial Option Links The board is designed to accept a straight through RS232 cable. A secondary microcontroller serial port is available and connected to the application headers. Please refer to the schematic diagram for more details on the available connections. 6.5.
6.6.Option Links Table 6-5 below describes the function of the option links contained on this CPU board. The default configuration is indicated by BOLD text. Option Link Settings Reference R3 Function Power Source Fitted Alternative (Removed) Board can be powered from J7 Disable external power connector Related To R13, R22, R40, R43 R4 E8a Enables E8a R5 Serial Port Configuration Connects programming port Disconnects programming port R6, R36, (Rx) to E8 connector. (Rx) from E8 connector.
Option Link Settings Reference R34 R35 R36 Function Serial Port Configuration Serial Port Configuration Serial Port Configuration Fitted Alternative (Removed) Related To Connects serial port D5 (Tx) to Disconnects serial port D5 (Tx) R15, R28, D-type (J8) or programming from D-type (J8) or R35, connectors (J9). programming connectors (J9). Connects serial port D5 (Rx) to Disconnects serial port D5 (Rx) R15, R28, D-type (J8) or programming from D-type (J8) or R34 connectors (J9).
Option Link Settings Reference R59 R60 R64 R66 R67 R68 R69 R70 R71 R74 R75 R76 R78 R79 R81 R82 R83 R84 Function Fitted Alternative (Removed) Application Use RxD0 of application board Use IO1 of application board Board Interface interface interface Application Use AN0 of application board Use AD_POT of application Board Interface interface board interface Voltage Reference Source Voltage Reference set to board Voltage Reference taken from Vcc signal external connector (J4).
Option Link Settings Reference R85 R86 R88 R90 R93 Function Fitted Alternative (Removed) Application Use IO5 of application board Use Wp of application board Board Interface interface interface Wp Connects Motor control Wp to Disconnects Motor control Wp the microprocessor from the microprocessor Application Use IO4 of application board Use Wn of application board Board Interface interface interface Application Use TIOCB0 of application Use Vn of application board Board Interface b
Option Link Settings Reference R129 Function Fitted Boot Mode Selection Alternative (Removed) Enables E8a to control the Allows application control of the boot mode selection. boot mode. R130 Crystal Selection Fit if 16MHz Crystal Fitted 12MHz Crystal Fitted R131 Memory Selection Fit to enable SDRAM Default R132 Debugging Adaptor Enables Debugging via the E10 Enables Debugging via the E8 adaptor. adaptor.
Chapter 7.Modes The CPU board can be configured in User mode and Boot mode. User mode may be used to run and debug user code, while Boot mode may only be used to program the Renesas microcontroller with program code via the USB or SCI4 interface. Further details of programming the flash are available in the H8SX/1664 device hardware manual. Note: Please note that, jumper ‘J15’ needs to be fitted in order to use the E10A debugger.
Chapter 8. Programming Methods The board is intended for use with HEW and the supplied E10A debugger. This board can also be programmed using the H8SX/1664 on-chip USB port or serial port SCI4. Refer to H8SX/1663 Group Hardware Manual for details of programming the microcontroller without using E10A debugger. Note: Please note that, jumper ‘J15’needs to be fitted in order to use the E10A debugger.
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 pin unless otherwise stated.
J2 Pin Circuit Net Name Device Pin Circuit Net Name Pin Device Pin 1 A1 37 2 A0 38 3 EMLE 39 4 PM3 40 5 PM4 41 6 UC_VCC 32 7 No connection 8 No connection 9 Ground 32 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 58 23 IO6 59 24 IO7 60 25 NMIn 61 26 DREQ1n 62 27 TEND1n 63 28 UC_VCC 64 29
J3 Pin Circuit Net Name Device Pin Circuit Net Name Pin Device Pin 1 D7 73 2 UC_VCC 64 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_ADTRG 87 16 Ground 79 17 CON_OSC2 89* 18 CON_OSC1 90* 19 RESn 91 20 No connection 21 TxD5 93 22 RxD5 94 23 WDTOVF_TDO 95 24 Ground 88 25 CON_XTAL 98* 26 CON_EXTAL 97* 27 UC_VCC 99 28 P1_6 100 29 P1_7 101
J4 Pin Circuit Net Name Device Pin Circuit Net Name Pin Device Pin 1 TRSTn 109 2 UC_VCC 99 3 TMS 111 4 Ground 96 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 DLCDD6 132 25 MD3 133 26 DLCDRS 134 27 WRn 135 28 DLCDE 136 29 LL
9.2.Application Headers Table 9-5 and Table 9-6 below show the standard application header connections.
JA3 Pin Generic Header Name CPU board Device Signal Name Pin Pin Generic Header Name CPU board Device Signal Name Pin 1 Address Bus A0 38 2 Address Bus A1 37 3 Address Bus A2 36 4 Address Bus A3 35 5 Address Bus A4 34 6 Address Bus A5 33 7 Address Bus A6 31 8 Address Bus A7 30 9 Address Bus A8 29 10 Address Bus A9 28 11 Address Bus A10 27 12 Address Bus A11 26 13 Address Bus A12 24 14 Address Bus A13 22 15 Address Bus A14 21 16 Address
JA5 Pin Generic Header Name CPU board Device Signal Name Pin Pin Generic Header Name CPU board Device Signal Name 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 Reserved 10 Reserved 11 Reserved 12 Reserved 13 Reserved 14 Reserved 15 Reserved 16 Reserved 17 Reserved 18 Reserved 19 Reserved 20 Reserved 21 Reserved 22 Reserved 23 Reserved 24 Reserved T
Chapter 10.Code Development 10.1.Overview Note: For all code debugging using Renesas software tools, the CPU board must either be connected to a PC serial port via a serial cable or a PC USB port via an E10A. An E10A is supplied with the RSK product. Due to the continuous process of improvements undertaken by Renesas the user is recommended to review the information provided on the Renesas website at www.renesas.com to check for the latest updates to the Compiler and Debugger manuals. 10.2.
10.4.Memory Map The memory map shown in this section visually describes the locations of the each memory areas when operating the RSK in the default mode (Mode 7).
Chapter 11.
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 installed in the Manual Navigator.
Renesas Starter Kit for H8SX/1664 User's Manual Publication Date Rev.1.00 17.Jan.2008 Published by: Renesas Technology Europe Ltd. Dukes Meadow, Millboard Road, Bourne End Buckinghamshire SL8 5FH, United Kingdom ©2008 Renesas Technology Europe and Renesas Solutions Corp., All Rights Reserved.
Renesas Starter Kit for H8SX/1664 User’s Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REG10J0115-0100