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/1648 User’s Manual RENESAS SINGLE-CHIP MICROCOMPUTER H8SX FAMILY Rev.1.00 2007.
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. Duplication of this document, either in whole or part is prohibited 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. 2007. All rights reserved. © Renesas Technology Corporation.
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 the software installation and debugging environment. Features include: • Renesas Microcontroller Programming. • User Code Debugging. • User Circuitry such as Switches, LEDs and potentiometer. • User or Example Application. • Sample peripheral device initialisation code.
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. This product is able to power the RSK board with up to 300mA. When the RSK is connected to another system then that system should supply power to the RSK. All RSK boards have an optional centre positive supply connector using a 2.0mm barrel power jack.
Chapter 4. Board Layout 4.1. Component Layout The following diagram shows top layer component layout of the board.
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 14.00mm 3.81mm Figure 4-2: Board Dimensions 7 100.00mm 85.00mm RING Application Header JA3 5.00mm 80.01mm interfacing.
Chapter 5. Block Diagram Figure 5-1 shows the CPU board components and their connectivity. Figure 5-1: Block Diagram Figure 5-2 shows the connections to the RSK.
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. IRQ0n, Pin 84 The switch is also used in conjunction with the RES switch to place the device in (Port 1 pin 0) BOOT mode when not using the E10A debugger.
Description Function Circuit Net Device Name Pin Fit for RS232 Remove for RS232 SCI1 Programming serial port TXD1 59 R31 R37, R32 SCI1 Programming serial port RXD1 55 R30 R36, R33 SCI4 Spare Serial Port TXD4 107 R37 R31, R32 SCI4 Spare Serial Port RXD4 108 R36 R30, R33 Table 6-3: Serial Port settings The SCI1 port is also available on J2 and JA2. The SCI4 port is available on J3. 6.5. Debug LCD Module A debug LCD module is supplied to be connected to the connector LCD.
6.6. Option Links Table 6-5 below describes the function of the option links contained on this RSK board and associated with Serial Port Configuration. The default configuration is indicated by BOLD text. Option Link Settings Reference R15 Function Fitted Alternative (Removed) Serial Port Connects serial port SCI5 (Rx) to Disconnects serial port SCI5 Configuration D-type connector (SERIAL). (Rx) from D-type connector Related To R28 (SERIAL).
Option Link Settings Reference R59 R66 R67 R69 R70 R74 R75 R76 R78 R79 R81 R82 R84 R88 R90 R95 R114 R115 Function Fitted Alternative (Removed) Application Use PTRX of application board Use RXD4 of application board board interface interface. interface. Application Use TRSTn of application board Use SCK4 of application board board interface interface. interface. Application Use DACKn of application board Use TCLKC of application board board interface interface. interface.
Option Link Settings Reference R116 R123 R135 R136 R137 R142 R143 R150 R151 R156 R157 R158 Function Fitted Alternative (Removed) Application Use CS3n of application board Use IO_3 of application board board interface interface. interface. Application Use DA0 of application board Use AN6 of application board board interface interface. interface. Application Use TDO of application board Use WDT_OVFn of application board interface interface. board interface.
Table 6-8 below describes the function of the option links associated with power source. The default configuration is indicated by BOLD text. Option Link Settings Reference Function Fitted Alternative (Removed) R178 Power source Enables power from E8. Disable E8 power source R179 Power source Board can be powered from Board can’t be powered from external source CON_3V3 (JA1 external source CON_3V3 (JA1 header pin 3) header pin 3) Enables power from external Disable external power connector.
Option Link Settings Reference Function Fitted Alternative (Removed) R220 Clock Oscillator External Clock Source On-board Clock Source R221 Clock Oscillator External Clock Source On-board Clock Source Related To Table 6-9: Clock configuration links. Table 6-10 below describes the function of the option links associated with reference voltage source. The default configuration is indicated by BOLD text.
Option Link Settings Reference R235 Function MCU Mode Fitted Alternative (Removed) Related To MCU User Boot Mode enabled, also MCU User Boot mode disabled R236 MCU Extended mode disabled R235 can be enabled by fitting jumper in J12 R236 MCU Mode MCU Extended mode enabled, also can be enabled by fitting jumper in J13 Table 6-12: MCU mode links. 6.7. Oscillator Sources A crystal oscillator is fitted on the RSK and used to supply the main clock input to the Renesas microcontroller.
Chapter 7. Modes This RSK supports Boot mode, User mode, MCU Extension Mode (ROM Active) and Single Chip mode. Details of programming the FLASH memory is described in the H8SX/1648 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 0 0 1 0 LSI State after Reset End Boot Mode Table 7-1: Boot Mode pin settings The software supplied with this RSK supports debugging with E10A which does not need Boot mode.
Chapter 8. Programming Methods The board is intended for use with HEW and the supplied E10A debugger. Refer to H8SX/1648 Group Hardware Manual for details of programming the microcontroller without using these tools. Please note that to use E10A debugger, jumper J5 must be fitted.
Chapter 9. Headers 9.1. Microcontroller Headers Table 9-1 to Error! Reference source not found. 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 PIN40 40 5 PIN41 41 6 IO_4 42 7 IO_5 43 8 IO_6 44 9 DLCDD4 45 10 DLCDD5 46 11 DLCDE 47 12 GROUND 48 13 TRIGa 49 14 UC_VCC 50 15 TRIGb 51 16 TMR0 52 17 LED1 53 18 SCK1 54 19 RXD1 55 20 Up_TIOCA0 56 21 Un_TIOCB0 57 22 TIOCC0 58 23 TXD1 59 24 TMR1 60 25 NMI 61 26 DLCDRS 62 27 Vp 63 28 UC_VCC 64 29 D0 65 30 D1 66 31 D2 6
J3 Pin Circuit Net Name Device Pin Circuit Net Name Pin 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 IRQ2n 86 15 IRQ3n_ADTRGn 87 16 GROUND 88 17 LED2 89 18 LED3 90 19 RESn 91 20 NC 92 21 DREQn 93 22 TENDn 94 23 TDO_WDTOVFn 95 24 GROUND 96 25 CON_XTAL 97 26 CON_EXTAL 98 27 UC_VCC 99 28 DACKn_TCLKC 100 29 TCLKD 101 30 ST
J4 Pin Circuit Net Name Device Pin Circuit Net Name Pin Device Pin 1 TRSTn_SCK4 109 2 NC 3 TMS 111 4 NC 5 TDI 113 6 TCK 114 7 MD0 115 8 DLCDD6 116 9 DLCDD7 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 AN8 129 22 AN9 130 23 AN10 131 24 AN11 132 25 MD1 133 26 UD 134 27 WRn 135 28 TRISTn 136 29 LLWRn 137 30 LHWRn
9.2. Application Headers Table 9-5 to Table 9-9 below show the standard application header connections.
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 AD8 AN8 129 10 AD9 AN9 130 11 AD10 AN10 131 12 AD11 AN11 132 13 TIOC0A TIOCA0 56 14 TIOC0B TIOCB0 57 15 TIOC0C TIOCC0 58 16 M2_TRISTn - - 17 TCLKC TCLKC 100 18 TCLKD TCLKD 101 19 M2_Up - - 20 M2_
JA3 Pin Generic Header Name CPU board Device Signal Name Pin Pin Generic Header Name CPU board Device Signal Name 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 20 D3 D3 68 21 D4 D4 70 22 D5 D5 71 23 D6 D6 72 24 D7 D7
Chapter 10. Code Development 10.1. Overview Note: For all code debugging using Renesas software tools, the RSK board must be connected to a PC USB port via an E10A. An E10A pod is supplied with the RSK product. 10.2. Compiler Restrictions The compiler supplied with this RSK is fully functional for a period of 60 days from first use. After the first 60 days of use have expired, the compiler will default to a maximum of 64k code and data.
10.5.
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 from the web site. For information about the H8SX/1648 series microcontrollers refer to the H8SX/1648 Group hardware manual. For information about the H8SX/1648 assembly language, refer to the H8SX Series Software Manual. Online technical support and information is available at: http://www.renesas.
Renesas Starter Kit for H8SX/1648 User's Manual Publication Date Rev.1.00 27.11.2007 Published by: Renesas Technology Europe Ltd. Duke’s Meadow, Millboard Road, Bourne End Buckinghamshire SL8 5FH, United Kingdom ©2007 Renesas Technology Europe and Renesas Solutions Corp., All Rights Reserved.
Renesas Starter Kit for H8SX/1648 User’s Manual 1753, Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan REG10J0079-0100