Home
Renesas Starter Kit for H8SX1582 User`s Manual
Contents
1. J1 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 SCIbRX 1 2 SCIbCK 2 3 PIN3 3 4 UC_VCC 4 5 PTTX 5 6 GROUND 6 7 PTRX 7 8 PTCK 8 9 9 10 PIN1O 10 11 TRIGb 11 12 LED3 12 13 PIN13 13 14 MO Up 14 15 MO Vp 15 16 PIN16 16 17 Wp 17 18 CTSRTS 18 19 PIN19 19 20 PIN20 20 21 PIN21 21 22 PIN22 22 23 TRISTn 23 24 GROUND 24 25 MO_Un 25 26 UC_VCC 26 27 Vn 27 28 MO UD 28 29 PIN29 29 30 MO Wn 30 Table 9 1 J 1 20 12 Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 PIN31 31 2 PIN32 32 3 33 4 PIN34 34 5 PIN35 35 6 100 36 7 PIN37 37 8 101 38 9 10 2 39 10 103 40 11 10 4 41 17 105 42 13 PIN43 43 14 10 6 44 15 107 45 16 UC VCC 46 17 IRQO 47 18 GROUND 48 19 IRQI 49 20 GROUND 50 21 DLCDRS 51 22 IRQ2 52 23 IRQ3 53 24 SClaTX 54 25 SClaRX 55 26 SClaCK 56 27 ADTRG 57 28 SW1 58 29 SW2 59 30 SW3 60 Table 9 2 J 2 21 J3 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 DLCD7 61 2 GROUND 62 3 PIN63 63 4 UC_VCC 64 5 DLCDE 65 6 DLCD6 66 7 DLCD5 67 8 DLCD4 68 9 TMRO 69 10 1 70 11 PIN71 71 12 PIN72 7 13 73 13 14 TRSTn 74 15 TMS 15 16 TDI 76 17 TCK 17 18 78 78 19 RESn 79
2. sw2 sw3 BOOT RES O O Potentiometer SWITCHES LEDs User 4 LEDS Power Green 1Green 1Orange 2Red Boot Orange Figure 5 1 Block Diagram Figure 5 2 shows the connections to the RSK Computer Figure 5 2 RSK Connctions 6 1 Switches Chapter 6 User Circuitry 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 IRQ8 A Pin 58 The switch is also used in conjunction with the RES switch to place Port2 pin 0 the device in BOOT mode when not using the E8 debugger SW2 Connects to an IRQ line for user controls IRQ9 A Pin59 Port 2 pin 1 SW3 Connects to ADC trigger input Option link allows connection to ADTRG Pin 57 IRQ line The option is a pair of OR links Port 1 pin 7 OR IRQ10 A Pin 60 Port 2 pin 2 R efer to schematic for detailed connectivity information 6 2 LEDs There are six LEDs on the CPU board The green POWER LED lights when the board is powered The orange BOOT LED indicates the device is in BOOT mode when lit The fouruser LEDs are connected to an IO portand will light when their corresponding port pin is setlow Table 6 1 Switch Functions Table 6 2 bel
3. The User Boot MAT is a separate area of FLASH from User MAT intended to hold user boot code A custom boot stub could be programmed into User Boot MAT which allows programming and erasing of the User MAT in User Mode without erasing the contents of the User Boot MAT Once User Boot Mode is entered code contained in the User Boot MAT is executed This differs to Boot mode as Boot mode erases all User MAT and requires an auto baud on a fixed SCI port to be performed The existence of the User Boot Mat therefore allows an alternative communications port to be used for further code download to the User MAT Programming of the User Boot Mat may only be performed in boot mode The user may place the 85 X 1582 device provided on a CPU board for the H8SX1582 board in user boot mode by fitting jumper 13 The Boot procedure must then be performed for entry into user boot mode The Boot LED should light suggesting a transition to user boot mode The user boot mode settings for this CPU board are shown in Table 7 3 below MD1 LSI State after Reset End FDT Settings A User Boot Mode 1 Table 7 3 Mode pin settings 7 1 3 User Mode For the device to enter User Mode reset must be held active while the microcontroller mode pins are held in states specified for User Mode operation 100K pull up and pull down resistors are used to set the pin states during reset H8S X 1582 supports
4. 19 lOPort lo 4 41 20 lOPort 0 5 42 21 1OPort lO 6 44 22 lOPort lo 7 45 23 Opendrain IRQAEC IRQ3 53 24 PC Bus 3rd 119 25 C Bus SDA 114 26 IIC SCL 117 Table 9 5 J A1 Standard Generic Header JA2 Pin Generic Header Name CPU board Device Pin Header Name CPU board Device Signal Name Pin Signal Name Pin 1 Open drain RESn 79 2 External Clock Input EXTAL 84 3 Open drain NMIn 80 4 Regulated Supply 1 551 5 Open drain output WDT_OVF 6 Serial Port SClaTX 54 1 Open drain WUP IRQO 4 8 Serial Port SCIaRX 55 9 Open drain IRQ1 49 10 Serial Port SClaCK 56 11 Up down MO UD 28 12 Serial Port Handshake CTS RTS 18 13 Motor control MO Up 14 14 Motor control MO Un 25 15 Motor control MO Vp 15 16 Motor control MO Vn 2 17 Motor control MO Wp 17 18 Motor control MO Wn 30 19 Output TMRO 69 20 Output TMR1 70 21 Input TRIGa 81 22 Input TRIGb 11 23 Open drain IRQ2 52 24 Tristate Control TRSTn 74 25 SPARE 26 SPARE Table 9 6 2 Standard Generic Header 24 JA5 Pin Generic Header Name CPU board Device Pin Header Name CPU board Device Signal Name Pin Signal Name Pin 1 ADC4 14 AD4 93 2 ADC5 5 AD5 94 3 ADC6 16 AD6 95 4 ADC7 7 96 5 CAN 6 CAN 1 2 8
5. 6 3 Potentiomete p ac u u ee n net etta re o re a HORROR AREE TIER 10 6 4 Serial DOE eere orbs REDE Ses Au 11 6 5 LCD Module sei ase ome mea E uma re leaena 12 Options T vestes ea a me dece A Sa So 13 6 1 Oscillator Sources initio gn rr asa 14 6 8 Reset Circuit ur RR HUE ER TH aec de e ete a opp 14 Chapter n eurer eni a rite ta tassi rte 15 RID D 15 mbH PD MEE 16 11 2 User Bootmode nee e uns Q EDI as 17 T3E3 User Mode ice uite mta ete e D ee ed E mtl e hee 18 Chapter 8 Programmmg Methods au a au etri d eret torte sever Pesetear poo ree prese eoe RETE 19 8 1 Serial Port Programming iade rere e rede te als 19 8 2 ELOA Header iie ee HR Redi o e dec oe edid eet 19 Chapter 9 H ad rg unu tert 20 9 1 Microcontroller 20 9 2 Application Head rs 2 osea eR RO vain tend 24 Chapter L0 Code Development x Bb elettrici lere ics ea ul a onu 26 ME auri ED 26 10 2 Compilers Restrictions e USE ec y Coe es 26 10 9 Mode SUpDDOFt i ie eere ce hien e ep e 26 10 4 Break point Supporbs iet he
6. 20 NMI 80 21 TRIGa 81 22 UC_VCC 82 23 CON XTAL 83 24 CON EXTAL 84 25 GROUND 85 26 EMLE 86 2 SCICTX 87 28 PIN88 88 29 SCIcRX 89 30 SCIcCK 90 Table 9 3 3 22 J4 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 E8 BUSY 91 2 MD1 E8B 92 3 AD4 93 4 AD5 94 5 AD6 95 6 AD7 96 1 ADO 97 8 AD1 98 9 AD2 99 10 AVcc 100 11 AD3 101 12 AVss 102 13 AD POT 103 14 AVcc 104 15 PIN105 105 16 PIN106 106 17 PIN107 107 18 PIN108 108 19 PIN109 109 20 PIN110 110 21 PIN111 111 22 112 23 LEDO 113 24 SDA 114 25 LED1 115 26 PIN116 116 27 SCL 117 28 118 29 119 30 SCIbTX 120 Table 9 4 4 23 9 2 Application Headers Table 9 5 and Table 9 6 below show the standard application header connections JA1 Pin Generic Header Name CPU board Device Pin Header Name CPU board Device Signal Name Pin Signal Name Pin 1 Regulated Supply 1 5V 2 Regulated Supply 1 GROUND 3 Regulated Supply 2 3V3 4 Regulated Supply 2 GROUND 5 Analogue Supply AVcc 100 104 6 Analogue Supply AVss 102 7 Analogue Reference AVref 8 ADTRG ADTRG 57 9 ADCO 10 ADO 97 10 ADC1 1 AD1 98 11 ADC2 12 AD2 99 12 ADC3 AD3 101 13 DACO DACO 14 DACI DACI 15 lOPort I0 0 36 16 lOPort 01 38 17 lOPort 02 39 18 03 40
7. Chapter 4 Board Layout 4 1 Component Layout The following diagram shows top layer component layout of the board Application Board Reset Switch Interface JA JAI RS2332 Serial LCD Displ Power 3 jo end 8 Microcontroller Pin Headers 3 J1 0 User LEDs 10 J4 Debugger JA6 JA2 Boot LED Application Board Potentiometer User Switches Interface Figure 4 1 Board Layout 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 45 00mm 0 001 q91 1qoauuco sg uolsuedxa eundo 27 00mm 35 56 mm 43 18 mm 50 80 mm Short Board 85 mm 86 36mm Corners x4 3mm radius 115 00mm 120 00mm Figure 4 2 Board Dimensions Chapter 5 Block Diagram Figure 5 1 shows the CPU board components and their connectivity Power Jack Option Application Board Headers Microcontroller Pin Boot mode pins Boot Circuitry Headers Microcontroller Debug Header Option RESn RESET pin D type latch BOOT amp BOOTn signals Serial Connector Option pe A 1 IRQ
8. Connector Connects Alternate serial to D Disconnects Alternate serial from D R36 connector connector R35 Alternate Serial Connects Alternate Serial to Should be removed if External serial 37 5 232 Transceiver device R37 Alternate Serial Connects Alternate Serial to MUST be removed if External serial R35 J A6 RS232 Transceiver device R53 External Connects External Ring header Disconnects sensitive microcontroller R55 Oscillator pins to Microcontroller signals from external pins R55 External Connects External Ring header Disconnects sensitive microcontroller R53 Oscillator pins to Microcontroller signals from external pins R46 Power Supply to microcontroller Fit Low ohm resistor to measure current R63 R63 Analogue Power Connects 5V supply to Analogue supply MUST be provided from JA1 Analogue supply external interface pins R58 SW3 Connects SW3 to Analogue Disconnected R59 Trigger input R59 SW3 Connects SW3 to IRQ input Disconnected R58 Table 6 7 2 Pin jumpers 6 7 Oscillator Sources A crystal oscillator is fitted on the CPU board and used to supply the main clock input to the Renesas microcontroller Table 6 8 details the oscillators that are fitted and alternative footprints provided on this CPU board Component Value Package Manufacturer Crystal X1 Fitted 6MHz HC 49U Approved See www renesas com for details CPU board Magna Frequency Components 6 06 4945 C Mac
9. LFXTAL017159 Table 6 8 Oscillators Resonators Warning When replacing the default oscillator with that of another frequency the debugging monitor will not function unless the following are corrected e FDT programming kernels supplied are rebuilt for the new frequency e The supplied HMON debugging monitor is updated for baud rate register settings The user is responsible for code written to support operating speeds other than the default See the HMON User Manual for details of making the appropriate modifications in the code to accommodate different operating frequencies 6 8 Reset Circuit The CPU Board includes a simple latch circuit that links the mode selection and reset circuit This provides an easy method for swapping the device between Boot Mode User Boot Mode and User mode This circuit is not required on customers boards as it is intended for providing easy evaluation of the operating modes of the device on the RSK Please refer to the hardware manual for more information on the requirements of the reset circuit The reset circuit operates by latching the state of the boot switch on pressing the reset button This control is subsequently used to modify the mode pin states as required The mode pins should change state only while the reset signal is active to avoid possible device damage The resetis held in the active state for a fixed period by a pair of resistors and a capacitor Please check
10. amete iei ter ieri 26 10 5 Gode located an e erepti ie taedio d c e aee qha e emen det 26 10 6 HMon CodS eb e rte e ro d ME aede e el pane eene breed 26 1077 Memory M3p ianitor dbi 28 10 8 Baud Rate Setting eee E beber tee Elegy 29 10 9 Inte rrupt mask sections rete ot c RE oe EE ER VEI ce ee 29 Chapter 11 Component Placement e PIGH Oden 30 Chapter 12 Additional Information esses n eren nenne u S 31 FREVISION HISTORY L unas au t e e mn e hn ceca HL Feier det 32 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 2005 All rights reserved Renesas Technology Corporation 2005 All rights reserved Website http www renesas com Glossary BRR Baud Rate Register ERR Error Rate HMON Embedded Monitor RTE Renesas Technology Europe Ltd RSK Renesas Starter Kit RSO Renesas Solutions Corp Chapter 2 Purpose This RSK
11. is an evaluation tool for Renesas microcontrollers Features include e Renesas Microcontroller Programming e User Code Debugging e User Circuitry such as switches LEDs and potentiometer s e Sample Application e 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 The Quick Start Guide and Tutorial Manual provide details of the software installation and debugging environment Chapter 3 Power Supply 3 1 Requirements This CPU board operates from a 5V power supply A diode provides reverse polarity protection only if a current limiting power supply is used All CPU boards are supplied with an E8 debugger This product is able to power the CPU board with up to 300mA When the CPU board is connected to another system that system should supply power to the CPU board 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 Power Up Behaviour When the RSK is purchased the CPU board has the Release or stand alone code from the example tutorial code pre programmed into the Renesas microcontroller On powering up the board the user LEDs will start to flash Switch 2 will cause the LEDs to flash at a rate controlled by the potentiometer
12. the microcontroller and control code execution Breakpoints may be set in memory to halt code execution at a specific point Unlike other embedded monitors HMon is designed to be integrated with the user code HMon is supplied as a library file and several configuration files When debugging is no longer required removing the monitor files and library from the code will leave the user s code operational The HMON embedded monitor code must be compiled with user software and downloaded to the CPU board allowing the users code to be debugged within HEW 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 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 To use the compiler with programs greater than this size you will need to purchase the full tools from your distributor Warning The protection software for the compiler will detect changes to the system clock Changes to the system clock back in time may cause the trial period to expire prematurely 10 3 Mode Support The HMON library is built to support 16M byte Advanced Mode only for the 85 family 10 4 Breakpoi
13. 4 user modes The memory map in all of these modes is 16Mbyte in size The default user mode for CPU board supporting H8S 1582 is 7 MD1 MDO LSI State after Reset FDT Settings End A B 1 1 User Mode 0 1 Table 7 4 Mode pin settings Pin Settings x Please select the pin settings USER Mode using Clock Mode fo 3 User Mode DY Device ee Operating Mode 0 Target files D B USER Mode 5 Dutputs Z 2081 DOSER J 0410 Setting USER Program Mode Setting 1 mir 0x10 lt Back Cancel Figure 7 2 User mode FDT configuration Chapter 8 Programming Methods All of the Flash ROM on the device i e both MATs can be programmed when the device is in Boot mode Once in boot mode the boot loader program pre programmed into the microcontroller executes and attempts a connection with a host for example a PC On establishing a connection with the microcontroller the host may then transmit program data to the microcontroller via the appropriate programming port Table 8 1 below shows the programming port for this Renesas Microcontroller and its associated pins Programming Port Table Programming port pins and their CPU board signal names SC14 TXD4 PIN 5 RXD4 PIN 7 SCK4 PIN 8 CPU board Signal Name PTTX PTRX PTCK Table 8 1 Serial Port Boot Channel 8 1 Serial Port Programming This sequenc
14. 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 Table 9 7 J A5 Optional Generic Header JA6 Pin Generic Header Name CPU board Device Pin Header Name CPU board Device Signal Pin Signal Name Pin Name 1 DMA DREQ 2 DMA DACK 3 DMA TEND 4 Standby Open drain STBYn 5 HostSerial SCIdTX RS232TX 5 6 HostSerial SCIdRX RS232RX 1 Serial Port SCIDRX 1 8 Serial Port SCIbTX 120 9 Serial Port Synchronous 5 87 10 Serial Port 5 2 11 Serial Port Synchronous SCIcCK 90 12 SerialPort Synchronous SCICRX 89 13 Reserved 14 Reserved 15 Reserved 16 Reserved 17 Reserved 18 Reserved 19 Reserved 20 Reserved 21 Reserved 22 Reserved 23 Reserved 24 Reserved 25 Reserved 26 Reserved Table 9 8 A6 Optional Generic Header Marked pins are affected by option links 25 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 ora PC USB port via an E8 E8 is supplied with the RSK product The HMON embedded monitor code is modified for each specific Renesas microcontroller HMON enables the High performance Embedded Workshop HEW development environment to establish a connection to
15. H 0000 0800 0x0004 CUser Vectors 27 10 7 Memory Map The memory map shown in this section visually describes the locations of program code sections related to HMON the FDT kernels and the supporting code within the ROM RAM memory areas of the microcontroller cN 7 H 0000 RESET Vector 0900 Vectors H 0003 10800 CUser_Vectors H 0803 H 1000 UGenU FDT Kernel H 1EA7 H 3000 PHMON H 594F SCI Vectors 10280 H 028B On Chip FLASH ROM H BFFFF H FF9000 On Chip RAM H FFBBE0 same H FFBDFE 9 H FFBEOO mm H FFBFFF H EFFA00 Internal I O WEFFEFF REGISTERS 28 10 8 Baud Rate Setting HMON is initially set to connect at 250000Baud The value set in the baud rate register for the microcontroller must be altered if the user wishes to change either the serial communication baud rate of the serial port or the operating frequency of the microcontroller This value is defined in the hmonserialconfiguser h file as SCI see the Serial Port section for baud rate register setting values The project must be re built and the resulting code downloaded to the microcontroller once the BRR value is changed Please refer to the HMON User Manual for further information 10 9 Interrupt mask sections HMON has an interrupt priority of 6 The serial port has an interrupt priority of 7 Modules using interrupts should be set to lower t
16. To our customers Old Company Name in Catalogs and Other Documents On April 1 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 com April 1 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry 2 NE S AS 8 10 11 12 Notice 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 Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is g
17. but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Computers off
18. e following sections the tables identify the F DT settings required to connect to the board using the E8Direct debugger interface The A interface is inverted on the RSK board This is to ensure the board can function in a known state when the E8 is connected but not powered The E8 Debugger contains the following pull resistors E8 Pin Resistor A Pull Down 100k B Pull Up 100k Pull Down 100k D Pull Up 100k Table 7 1 E8 Mode Pin drives 7 1 1 Boot mode The boot mode settings for this CPU board are shown in Table 7 2 below MD1 MDO LSI State after Reset FDT Settings End A B 0 Boot Mode 0 Table 7 2 Mode pin settings The following picture shows these settings made in the E8Direct configuration dialog from HEW Pin Settings x Please select the pin settings BOOT Mode using Clock Mode o 7 Workspace T Display jo E A 21 device lrosge Operating Mode M Target files 12 LCD mot 2 Keyboard m 3 Comms mot D B A BOOT Mod Bay Device 1595 ETE 5 Outputs i e Target files 53 Drive mo BOOT Mode j mam 0 00 Setting Bac Cancel Figure 7 1 Boot Mode FDT configuration 7 1 2 User Boot mode A Note on Mats The H8SX 1582 possesses two distinct areas of Flash User MAT 768KByte and User Boot MAT 8KByte
19. e is not required when debugging using the E8 supplied with the kit The microcontroller must enter boot mode for programming and the programming port must be connected to a host for program download To execute the boot transition and allow programs to download to the microcontroller the user must perform the following procedure Connecta 1 1 serial cable between the host PC and the CPU board Depress the BOOT switch and keep this held down Depress the RESET switch once and release Release the BOOT switch The Flash Development Toolkit FDT is supplied to allow programs to be loaded directly on to the board using this method 8 2 E10A Header This device supports an optional E10A debugging interface The E10A provides additional debugging features including hardware breakpoints and hardware trace capability Check with the website at www renesas com or your distributor for a full feature list To utilise the E10A the user will need to fita 14 way boxed header to J 7 To enable the E10A functions the user should also fit a jumper link in position 6 When 6 is fitted the microcontroller will not operate correctly unless operated via the E10A 9 1 Microcontroller Headers Table 9 1 to Table 9 4 show the microcontroller pin headers and their corresponding microcontroller connections The header pins Chapter 9 Headers connect directly to the microcontroller pin unless otherwise stated
20. elow Note these values are calculated from the frequency value of the main oscillating source fitted by default on this CPU board 6MHz x 4 24MHz Asynchronous Serial Baud Rate Evaluation N 0 1 2 3 BRR Rate ERR BRR Rate ERR BRR Rate ERR BRR Rate ERR 110 106 110 0 44 300 155 300 0 16 38 300 0 16 1200 155 1202 0416 38 1202 0 16 9 1172 2 34 2400 17 2404 0416 19 2344 2 34 4 2344 2 34 4800 155 4808 0 16 38 4808 0 16 9 4688 2 34 1 5859 22 07 9600 17 9615 0 16 9375 234 4 9375 2 34 0 11719 22 07 19200 38 19231 0 16 18750 2 34 1 23438 22 07 38400 19 37500 2 34 37500 2 34 0 46875 22 07 57600 12 57692 0 16 62500 8 51 115200 6 107143 6 99 93750 18 62 230400 2 250000 8 51 250000 2 250000 0 00 375000 1 375000 0 00 750000 0 750000 0 00 Table 6 4 BRR Settings 11 6 5 LCD Module A LCD module can be connected to the connector 13 Any module that conforms to the pin connections and has a KS0066u compatible controller can be used with the tutorial code The LCD module uses a 4bit interface to reduce the pin allocation No contrast control is provided this must be set on the display module Table 6 5 shows the pin allocation and signal names used on this connector The module supplied with the CPU board only supports 5V operation 13 Pin C
21. han this value 6 or below so that serial communications and debugging capability is maintained 29 Chapter 11 Component Placement FEE ES 1 Se ee 8 3 k C BBB rm nies 02 pgp ME ca TIE Eo Et Hale SED 2 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 For information about the H8SX 1582 series microcontrollers refer to the 85 1582 Series Hardware Manual For information about the H8SX 1582 assembly language refer to the H8 Series Programming Manual Further information available for this product can be found on the Renesas website at http www renesas com rsk General information on Renesas Microcontrollers can be found on the following website Global http www renesas com 31 REVISION HISTORY 1 25 11 2005 First Release Renesas Starter Kit for 85 1582 User s Manual Publication Date Rev 1 00 Nov 25 2005 Published by Renesas Technology Europe Ltd 2005 Renesas Technology Europe and Renesas Solutions Corp All Rights Reserved Renesas Starter Kit for H8SX1582 User s Manual 2 1 Renesas Electronics Corporation 1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan REG10J0001 0100
22. ice equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions unde
23. ircuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 Ground 2 5V Only 3 No Connection 4 DLCDRS 51 5 R W Wired to Write only 6 DLCDE 55 7 No Connection 8 No connection 9 No Connection 10 11 DLCD4 68 12 DLCD5 67 13 DLCD6 66 14 DLCD7 61 Table 6 5 LCD Module Connections 6 6 Option Links Table 6 6 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 Function Fitted Alternative Removed Related To R10 Programming Connects SCK to E8 SCK disconnected from E8 R12 R13 Serial Port R14 R15 R12 Programming Connects E8 to Programming MUST be removed if R13 fitted R13 Serial Port Serial port R15 Programming Connects E8 to Programming Should be removed if R 14 fitted R14 Serial Port Serial port R13 Programming Connects RS232 port to MUST be removed if R12 fitted R12 Serial Port Programming SCI port R14 Programming Connects RS232 port to Should be removed if R15 fitted R15 Serial Port Programming SCI port R62 RS232 Driver Enables RS232 Serial Transceiver MUST be removed if R18 Fitted R18 R13 R14 R18 RS232 Driver Disables RS232 Serial MUST be removed if R62 Fitted R62 R13 Transceiver R14 R36 Serial Connector Connects Alternate serial to D Disconnects Alternate serial from D R31 connector connector R31 Serial
24. nt Support The device does not include a user break controller No breakpoints can be located in ROM code However code located in RAM may have multiple breakpoints limited only by the size of the On Chip RAM To debug with breakpoints in ROM you need to purchase the E10A USB on chip debugger at additional cost 10 5 Code located in RAM Double clicking in the breakpoint column in the HEW code window sets the breakpoint Breakpoints will remain unless they are double clicked to remove them See the Tutorial Manual for more information on debugging with the HEW environment 10 6 HMon Code Size HMON is built along with the user s code Certain elements of the HMON code must remain at a fixed location in memory The following table details the HMON components and their size and location in memory For more information refer to the map file when building code 26 Section Description Start Size Location H bytes RESET VECTOR HMON Reset Vector Vector 0 0000 0000 0x0004 Required for Start up of HMON SCI VECTORS HMON Serial Port Vectors Vector 160 161 162 163 H 0000 0280 0x000C PHMON HMON Code H 0000 3000 0x278C CHMON HMON Constant Data H 0000 5730 0x0136 BHMON HMON Un initialised data Variable 0x021F UGenU FDT Kernel H 0000 1000 OxEA8 This is ata fixed location and must not be moved Should the kernel need to be moved it must be re compiled Pointer used by HMON to point to the start of user code
25. ow shows the LED pin references and their corresponding microcontroller port pin connections 6 3 Potentiometer A single turn potentiometer is connected to ANO of the microcontroller This may be used to vary the input analog voltage value to this pin between AVCC and Ground LED Reference As Microcontroller Port Pin Microcontroller Pin Polarity shown on silkscreen function Number LEDO Port 0 113 Active Low LED1 Portl 1 115 Active Low LED2 Portl 2 118 Active Low LED3 Portl 3 12 Active Low Table 6 2 LED Port 6 4 Serial port The microcontroller programming serial port 5 14 is connected to the E8 connector This serial port can optionally be connected to the RS232 transceiver by moving option resistors and fitting the D connector in position 9 The connections to be moved are listed in the following table Description Function Fit For E8 Remove for E8 Fit for RS232 Remove for RS232 SCIA Tx Programming Serial Port R15 R14 R14 R15 SCIA Rx Programming Serial Port R12 R13 R13 R12 SCIA Clk Programming Serial Port R10 NA NA NA The board is designed to accept a straight through RS 232 cable A secondary microcontroller serial port is available and connected to the Table 6 3 Serial Option Links application headers Please refer to the schematic diagram for more details on the available connections The serial baud rates supported by this CPU board are shown b
26. r certain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Elec
27. ranted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations Renesas Electronics has used reasonable care in preparing the information included in this document
28. the reset requirements carefully to ensure the reset circuit on the user s board meets all the reset timing requirements Chapter 7 Modes The CPU board supports User mode Boot mode and User 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 User Boot mode can only be used to program the User Mat the main area of 768Kbytes of Flash ROM on the device It does not support programming of the user boot area User Boot mode is used to run a user supplied bootloader program stored in the user boot MAT the smaller area 8Kbytes of Flash ROM To program the user boot MAT the device must be Boot mode Further details of programming the are available in the H8S X 1582 hardware manual When using the E8 debugger supplied with the RSK the mode transitions are executed automatically The CPU board provides the capability of changing between User and Boot User Boot modes using a simple latch circuit This is only to provide a simple mode control on this board when the E8 is notin use To manually enter boot mode press and hold the SW1 BOOT The mode pins are held in their boot states while reset is pressed and released Release the boot button The BOOT LED will be illuminated to indicate that the microcontroller is in boot mode More information on the operating modes can be found in the device hardware manual 7 1 FDT Settings In th
29. tronics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics C me lt D D 44 NE SAS Renesas Starter Kit for H8SX1582 User s Manual RENESAS SINGLE CHIP MICROCOMPUTER H8SX FAMILY Renesas Electronics Rev 1 00 2005 11 www renesas com Table of Contents Table of Contents RR hte Nee te e e i ee reed ere AAA 11 Chapter 1 4 Chapter 2 Purposes sisscu e QUI 5 Chapter 3 Power Supply wesc est res ie adn 6 RI LISTS LEER MTM I 6 3 2 Power Up Behaviours aa ga nan eerie mie IAA cunis 6 Chapter 4 iced pe ER REDE IG ENS 7 41 Goimponent LayOUta ears eee M a h a 7 4 2 Board Dimensi0f8 e eet Sa eee Lane eren ete estas basse debe oles ee er ie epit 8 Chapter 5 Block Dia gratin l eta ac entes te retient verte ces reves evello 9 Chapter 6 User Cie uitty soe en 10 eo ird MEER 10 6 2 BEDS in Ree Ie a teet 10
Download Pdf Manuals
Related Search
Related Contents
Datamax O'Neil H-Class 4212X e_ap05g quick guide_001 Schnellkochtopf-Anleitung Copyright © All rights reserved.
Failed to retrieve file