Home
Renesas Starter Kit for H8SX1582 User`s Manual
Contents
1. 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 1 sg uojsuedxa 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 D type latch amp BOOTn signals Serial Connector Option pe A ee 1 sw2 sw3 BOOT RES SEES Potentiometer SWITCHES LEDs User 4 LEDS Power Green 1Green 1Orange 2Red Boot Orange
2. 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 Port 2 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 below shows the LED pin references and their corresponding microcontroller port pin connections 6 3 Po
3. EX 119 25 2 Bus SDA 114 26 PC Bus 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 19 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 1 2 8 CAN2RX 9 Reserved 10 Reserved 11 Reserved 12 Reserved 13 Reserved 14 Reserved 15 Reserved 16 Reserved 17 Reserved 18
4. 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 234 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 J13 Pin Circuit 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
5. 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 d Display jo E A 21 device Operating Mode M Target files 12 LCD mot 2 Keyboard m 3 Comms mot D B sen BOOT Mod Device 1595 ETE 5 Dutputs i e Target files 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 85 1582 possesses two distinct areas of Flash User MAT 768KByte and User Boot MAT 8KByte 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
6. 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 MO 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 106 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 64 5 DLCDE 65 6 DLCD6 66 1 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 17 18 78 78 19 RESn 19 20 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 SCI
7. 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 Connector Connects Alternate serial to D Disconnects Alternate serial from D R36 connector connector R35 Alternate Serial Connects Al
8. 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 Mattherefore 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 1582 device provided on a CPU board for the H85X1582 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 0 Mode Forthe 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 The 85 1582 supports 4 user modes The memory map in all of these modes is 16Mbyte in size The default user mode for CPU board supporting H8SX1582 is 7 MD1
9. 24 NE SAS REG10J0001 0100 Everywhere you imagine Renesas Starter Kit for H8SX1582 User s Manual RENESAS SINGLE CHIP MICROCOMPUTER H8SX FAMILY Rev 1 00 Renesas Technology Europe Ltd Revision date 25 11 2005 www renesas com 0005961 11 Table of Contents Table of Contents RR hte Nee te e e i ee reed ere ete S EE eun 11 Chapter Pretaces 4 Chapter 2 Purposes sisscu eund e QUI be 5 Chapter 3 Powe r Supply uestre esistere te bled ches est res ie adn 6 SPER SQUIPSMENIES EET 6 3 2 Power A 6 Chapter 4 pe ER REDE IG ENS 7 41 Goimponent LayOUta ears eee 7 4 2 Board Dimensi0f8 e eet eee Lane eren ete estas basse debe oles ee er ie epit 8 Chapter 5 Block Dia gratin 2 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 ote ibt Ie a teet 10 6 3 Potentiometer eta ee n net etta re o re e E HORROR AREE TIER ERR NR Ere ERR 10 6 4 Serial DOE eere orbs Dect REDE Ses esed 11 6 5 LCD Module sei as
10. 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 Chapter 4 Layout 4 1 Component Layout The following diagram shows top layer component layout of the board
11. 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 N Target files E D B USER Mode 5 Outputs EER F 2081 DOSER Moser fal T 0 10 Setting USER Program Mode Setting 1 0x10 lt 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 SCKA PIN 8 CPU board Signal Name PTTX PTRX PTCK Table 8 1 Serial Port Boot Channel 8 1 Serial Port Programming This sequence is not required when debugging using the E8 supplied with the kit The microcontroller must enter boot mode for programming and the programming p
12. 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 SCIbCK 2 11 SerialPort 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 J 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 the microcontroller and control code execution Breakpoints may be set in memory to halt code execution at a specific point Unlike other em
13. bedded 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 Breakpoint Support The device does not include a user break controller No breakpoints can be located in ROM code However code located in RAM may hav
14. cCK 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 1 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 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
15. e 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 5 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 8 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 H 0000 0800 0x0004 CUser Vectors 27 10 7 The memory map shown in this section visually desc
16. e ome mea E re leaena 12 Options Oe ee UC PDE vestes ea a me dece 13 6 1 Oscillator Sources initio gn rr e ego 14 6 8 Reset Circuit ur RR HUE ER TH aec de e ete a opp 14 Chapter n eurer ta tassi rte 15 PDI RID D 15 VAD Boot MOE MEE 16 11 2 User Bootmode TEE RUFI EDI 17 T3E3 User Mode ice uite mta ete e D ee ed E mtl e hee eet oud 18 Chapter 8 Programmmg Methods amp ne Ret etri d eret torte sever Pesetear poo ree prese eoe RETE 19 8 1 Serial Port Programming iade rere e rede Ea VAE 19 8 2 ELOA Header iie ee HR Redi o e dec oe edid eet 19 Chapter 9 Headers tert 20 9 1 Microcontroller 20 9 2 Application Headers 2 osea eR aa vain tend 24 Chapter 10 Code Development x Bb elettrici lere ics ea e e 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 amete iei ter ieri 26 10 5 Gode located an e erepti ie taedio d c e aee Laub e emen det 26 10 6 HMon CodS eb e r
17. ement ES EE LER G E z nies 02 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 85 1582 series microcontrollers refer to the H85X 1582 Series Hardware Manual For information about the 85 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 85 1582 User s Manual 24 NE SAS Renesas Technology Europe Ltd Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH United Kingdom
18. es 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 in Boot mode Further details of programming the 5 are available the 85 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 not in 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 the following sections the tables identify the F DT settings required to connectto the board using the E8Direct debugger interface The A
19. f 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 the reset requirements carefully to ensure the reset circuit on the user s board meets all the reset timing requirements Chapter 7 Mod
20. ort must be connected to a hostfor 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 F DT 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 headerto J 7 To enable the E10A functions the user should also fita jumper link in position J 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 1 Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 SCIbRX 1 2 SCIbCK 2 3 PIN3 3 4 UC_VCC
21. ribes 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 F1 0280 H 028B On Chip FLASH ROM H BFFFF H FF9000 On Chip RAM H FFBBEO ae H FFBDFE 9 H FFBEOO mm H FFBFFF H FFFA00 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 orthe operating frequency of the microcontroller This value is defined in the hmonserialconfiguser h file as 5 CFG BRR 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 than this value 6 or below so that serial communications and debugging capability is maintained 29 Chapter 11 Component Plac
22. te 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 31 REVISION HISTORY 4 iet 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 is an evaluation tool for Renesas microcontrollers Features include e Renesas Microcontroller Programming e User Code Debugging e User
23. tentiometer 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 FitForE8 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 below Note these values are calculated from the frequency value of the main oscillating source fitted by default on this CPU board
24. ternate 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 6 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 inputto 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 LFXTAL017159 Table 6 8 Oscillators Resonators Warning When replacing the default oscillator with that o
Download Pdf Manuals
Related Search
Related Contents
STARTUP MANUAL - Oriental Motor Arat 1257.1 holder Manuale d`istruzioni Manuale d`istruzioni PRIMERGY Econel 100 Server System Copyright © All rights reserved.
Failed to retrieve file