Home
Renesas Starter Kit for SH7124 User`s Manual
Contents
1. ENESAS REG10J0043 0200 Everywhere you imagine Renesas Starter Kit for SH7124 User s Manual RENESAS SINGLE CHIP MICROCOMPUTER SuperH RISC engine Rev 2 00 Renesas Technology Europe Ltd Revision date 21 11 2006 www renesas com Table of Contents Chapter Prefacio a a cine eh Acie eden ia 1 Gh pter 2 PUrPose tz ate iii agas as daigh ada at T na 2 Chapter 3 Power Supply amhain amanna nim iain iii mi rear 3 ST AOQUINCIMOMIS 2 aa ee AEE 3 3 2 Power Up BehaVIOU Fui dd dd dude die 3 Chapter 4 Board La Vota satte sanne at 4 441 Component Layout nense A an ae 4 4 2 Board DIMENSIONS caian endene Ares utsatt 5 Chapter 5 Block Diagram sauunian skineasidunadndsa landa E ead eet dag 6 Gh pter 6 User Girl iia iia lat 7 Gre SWICHSS Lae 7 62 lB NN NE 7 6 3 Potentiomet runuanad ann i a ee aa ed i A a ad s is 7 6 4 his iar No ala AE E EAA 8 65 LED Module ran niende adieed 8 A arts 9 6 7 Oscillator SOUurces 20 A A ea eee Ed dv eiet 11 6 9 Reset CIreut unde ee eten 11 Ghapter Modest ean ikie 12 EDT SUN EN 12 FAA Boot MOE tt ar nd dd Ae Se A nime 13 7 1 2 Us r MOS A EAT 14 Chapter 8 Programming Methods ccccccceeseeceeeeeceeeeeeaaeeeeeeeeceaeeeeaaeseaaeeceaeeecaaeegeaeeseeeeesaaeeesaaeeseeeesaeessaeeeenees 15 Bil Serial Port PrOGFAMIMING trans idad hoe een nddle 15 8 2 ETOA Header iii i ovate avd edd Me ovat gg avd eed da tee tc 15 Chapter 9 HeaderS Linns mete sanne derunder ica 16 9 1 Mic
2. 21 Input TRIGa 10 22 Input TRIGb 13 23 Open drain NC 24 Tristate Control TRISTn 38 25 PF6 41 26 PF7 40 Table 9 6 J A2 Standard Generic Header 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 portvia a serial cable ora PC USB port via an E8 An 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 ata 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
3. FDT Settings In the 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 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 1 below FWE MD1 LSI State after Reset FDT Settings End A B 1 0 Boot Mode 0 1 Table 7 1 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 y Y Work Acer Industhai c EN Display LI Device 1 gt ce Image a Target Files iS LCD mot E Keyboard 3 Comms mot C D B Device Image BOOT Mode j mf IV 0x11 m fai 3 Target files Dutputs fe Drive mot BOOT Mode SJ Datas mot ee A Algorithm lt Back Cancel Figure 7 1 Boot Mode FDT configuration 7 1 2 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 p
4. 3 CPU board Signal Name E8_TTX TMS E8 TRX TRST 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 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 Modifications to support E10A Debugger J9 Fit J11 Fit connect jumper between pins 2 amp 3 R51 Remove R54 Remove R55 Fit OR Resistor R56 Remove R57 Fit OR Resistor R58 Remove R59 Do not fit R60 Fit OR Resistor Table 8 2 E10A connections 15 9 1 Microcontroller Headers Table 9 1 to Table 9 4 show the microcontroller pin headers and th
5. ES gt Os Fad Van CD Na J Im Potentiometer SWITCHES LEDs User 4 LEDS Power Green 1Green 1Orange 2Red Boot Orange BOOT amp BOOTn signals Figure 5 1 Block Diagram Figure 5 2 shows the connections to the RSK ml USB Cable Pint gt MCU O0OOOO o Le o o o E8 emulator User Interface Cable CPU Board Figure 5 2 RSK Connctions 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 IRQ1 Pin 37 The switch is also used in conjunction with the RES switch to place PortB pin 3 the device in BOOT mode when not using the E8 debugger SW2 Connects to an IRQ line for user controls IRQ3 Pin 36 Port B pin 5 SW3 Connects to the ADC analogue input AN3 Pin 44 Port F pin 3 Table 6 1 Switch Functions 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 four user LEDs are connec
6. and 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 Board Layout 4 1 Component Layout The following diagram shows top layer component layout of the board Application Board Interface Reset Switch RS232 Serial Power Power LED LCD Display Microcontrolle Pin Headers 41 to J4 E8 Header User LED Boot LED User Boot Switch User Switches Application Board Interface Potentiometer 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 WUIQQ G WUILG E 45 00mm WUIZ 36 WWQ0 00 WUIQ0 98 JA2 Figure 4 2 Board Dimensions Chapter 5 Block Diagram Application Board Headers Microcontroller Pin Headers Debug Header Option Serial Connector Option Figure 5 1 shows the CPU board components and their connectivity Power Jack Option Boot mode pins Boot Circuitry Microcontroller RESn RESET pin D type latch IRQ pin IRQ pin ADC Input IRQ pin sw2 sw3 BOOT R
7. 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 256k 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 SH7124 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 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 t
8. echsupport rta renesas com Europe tools support eufW renesas com Japan cSc 0 renesas com General information on Renesas Microcontrollers can be found on the Renesas website at http www renesas com 24 Renesas Starter Kit for SH7124 User s Manual Publication Date Rev 2 00 21 Nov 2006 Published by Renesas Technology Europe Ltd 2006 Renesas Technology Europe and Renesas Solutions Corp All Rights Reserved Renesas Starter Kit for SH7124 User s Manual s eNesAs Renesas Technolooy Europe Ltd Dukes Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH United Kingdom
9. eir corresponding microcontroller connections The header pins connect directly to the microcontroller pin unless otherwise stated Chapter 9 Headers J1 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 MO_Wn 1 2 MO Vn 2 3 MO Wp 3 4 UC VCC 4 17 5 MO Vp 5 6 Ground 6 19 7 MO_Un 7 8 INC 9 IMO Up 9 10 TRIGa 10 11 TMRO 11 12 107 12 Table 9 1 J 1 J2 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 TRIGD IO_6 13 2 1105 14 3 TMR1 10_4 15 4 SClaTx TDO 16 5 UC_VCC 4 17 6 SClaRx TDI 18 7 Ground 6 19 8 SClaCK IO 3TCK 20 9 1102 21 10 8 TTX TMS 22 11 E8_TRX TRST 23 12 1101 24 Table 9 2 J 2 J3 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 NC 2 10 0 26 3 RESn 27 4 WDTOVF 28 5 CON XTAL via R5 when fitted 29 6 CON EXTAL via R4 when fitted 30 7 ASEMDO 31 8 NMI 32 9 FWE_E8B ASEBRK 33 10 MD1_E8A 34 11 Ground 6 19 12 IRQ3 36 Table 9 3 J 3 J4 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 IRQ1 37 2 MO UD TRISTn 38 3 AVss 39 4 PF7 40 5 PF6 41 6 AD3 42 7 AD1 43 8 User SW3 4 9 AD POT 45 10 AD2 46 11 ADO 47 12 AVcc 48 Table 9 4 J 4 9 2 Application Headers Table 9 5 and Table 9 6 below
10. eserved 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 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 st
11. g 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 11 Chapter 7 Modes The CPU board supports User Program mode and Boot mode User P rogram 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 Both modes access the User MAT the main area of 64Kbytes of Flash ROM on the device Further details of programming the MAT are available in the SH7124 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 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
12. he CPU board and used to supply the main clock input to the Renesas microcontroller Table 6 details the oscillators that are fitted and alternative footprints provided on this CPU board Component Value Package Manufacturer Crystal X1 Fitted 10Mhz Approved See www renesas com for details CPU board Table 6 6 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 pressin
13. he pin allocation No contrast control is provided this must be set on the display module Table 6 4 shows the pin allocation and signal names used on this connector The module supplied with the CPU board only supports 5V operation J 13 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 Ground 2 5V Only 3 No Connection 4 LCD RS 26 5 R W Wired to Write only 6 LCD_E 24 7 No Connection 8 No connection 9 No Connection 10 11 LCD D4 11 12 LCD D5 9 13 LCD D6 10 14 LCD D7 7 Table 6 4 LCD Module Connections 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 Function Fitted Alternative Removed Related To R1 Oscillator Feedback Resistor across X1 No feedback R2 Oscillator Connects X1 to Microcontroller Disconnects X1 from Microcontroller R3 4 5 R3 Oscillator Connects X1 to Microcontroller Disconnects X1 from Microcontroller R2 4 5 R4 Oscillator Connects external clock to Disconnects external clock from R2 3 5 Microcontroller Microcontroller R5 Oscillator Connects external clock to Disconnects external clock from R2 3 4 Microcontroller Microcontroller R10 Power Connect 5 to CON 5V Disconnect 5 R11 Power UC_VCC Connected Disconnect to enable Microcontrolle
14. in states during reset The 5H7124 supports 4 user modes The memory map in all of these modes is 16Mbyte in size The default user mode for CPU board supporting SH7124 is 6 FWE MD1 LSI State after Reset FDT Settings End A B 1 1 User Program Mode 1 1 Table 7 2 Mode pin settings xi Please select the pin settings USER Mode using Clock Mode fo z KG oter Ic EA Display b Dedede Operating Mode r Image A ete Files i LCD mot ES Keyboard mm a 3 Comms M t C D B A pe Device Image USER Mode EI El Vv Out g Target files leiss 37 Drive mot USER Mode pop IV 0x01 is Datas mot Setting i algorithm USER Program r r Vv 0x11 v a Mode Setting i us lt Back Cancel Figure 7 2 User mode FDT configuration Chapter 8 Programming Methods All of the Flash ROM on the device 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 ts associated pins Programming Port Table Programming port pins and their CPU board signal names SCI TXD1 Pin 22 RXD1 PIN 2
15. o the map fi e when building code Section Description Start Size Location H bytes RESET VECTOR HMON Reset Vector Vector 0 H 0000 0000 0x0004 Required for Startup of HMON SCI VECTORS HMON Serial Port Vectors Vector 220 221 222 223 H 0000 0370 0x0010 PHMON HMON Code H 0000 3000 Ox20EA CHMON HMON Constant Data H 0000 50EC 0x013C BHMON HMON Un initialised data Variable 0x0259 UG enU FDT Kernel H 0000 1000 0x1004 This is ata fixed location and must not be moved Should the kernel need to be moved it must be re compiled CUser Vectors Pointer used by HMON to point to the start of user code H 0000 0800 0x0004 Table 10 1 HMON Code size 20 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 HOOD mm H0000 H0803 CUser_Vectors H ieee UGenU FDT Kernel Jc a H 3000 H5227 H 037F On Chip FLASH ROM HU FFFF H FFFFADOO On Chip RAM o _BAMON H FFFFBDSE PT H FFFFBFFF H FFFFC000 Internal lO REGISTERS H FFFFFFFF Figure 10 1 Memory Map 21 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
16. of the microcontroller This value is defined in the hmonserialconfiguser h file as SCI 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 14 The serial port has an interrupt priority of 15 Modules using interrupts should be setto lower than this value 14 or below so that serial communications and debugging capability is maintained 22 Chapter 11 Component Placement v H aa an NO s I SBEBB JE SDE e dd Ja JE er mm 5 al aa gt H TE ROKET T9421000ER a PRODUCT LABEL Eu E i l s 7 su A a i U IE En EE LE y hi EH SS Pa e E E1DA Figure 11 1 Component Placement 23 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 SH7124 series microcontrollers refer to the SH7125 Group SH7124 Group Hardware Manual For information about the SH7124 assembly language refer to the SH Series Programming Manual Online technical support and information is available at http www renesas com rsk Technical Contact Details America t
17. r supply current to be measured R12 Power Connect Board_VCC to Disconnect Board VCC from CON_5V CON_5V R13 Power Connect AVCC to CON_5V Disconnect AVCC from CON_5V R14 Power Connect AVSS to GND Disconnect AVSS from GND R15 Power Connect AVSS to GND Disconnect AVSS from GND R47 RS232 Serial Shutdown RS 232 Transceiver Do not shutdown RS 232 Transceiver R48 RS232 Serial Connect TTX to RS232 Serial port Only E8 connected R49 E8 remains connected Option Link Settings Reference Function Fitted Alternative Removed Related To R49 RS232 Serial Connect TRX to RS232 Serial Only E8 connected R48 port E8 remains connected R50 E8 E8 enabled E8 disabled R51 E8 E8 connected to FWE E8 not connected to FWE R54 Application Connect SClaTX of application DisconnectSClaTX of application board R55 Board Interface board interface to PA_9 interface R55 Application Connect TDO of application board Disconnect TDO of application board R54 Board Interface interface to PA 9 interface R56 Application Connect SCIaRX of application DisconnectSClaRX of application board R57 Board Interface board interface to PA_8 interface R57 Application Connect TDI of application board Disconnect TDI of application board R56 Board Interface interface to PA 8 interface R58 Application Connect SClaCK of application DisconnectSClaCK of application board R59 60 Board Interface boa
18. rd interface to PA_7 interface R59 Application Connect 10 3 of application board Disconnect 10 3 of application board R58 60 Board Interface interface to PA 7 interface R60 Application Connect TCK of application board Disconnect TCK of application board R58 59 Board Interface interface to PA 7 interface R61 Application Connect TMR1 of application Disconnect TMR1 of application board R62 Board Interface board interface to PE 0 interface R62 Application Connect 10 4 of application board Disconnect 10_4 of application board R61 Board Interface interface to PE 0 interface R63 Application Connect TRIGb of application Disconnect TRIGb of application board R64 Board Interface board interface to PE 2 interface R64 Application Connect 10 6 of application board Disconnect 10_6 of application board R63 Board Interface interface to PE 2 interface R65 Application Connect MO UD of application Disconnect MO UD of application board R66 Board Interface board interface to PB 1 interface R66 Application Connect TRISTn of application Disconnect TRISTn of application R65 Board Interface board interface to PB 1 board interface R68 LCD module Connect LCD_E of application Disconnect LCD E board interface to PA_1 R69 LCD module Connect LCD_D5 of application Disconnect LCD D5 board interface to PE 9 Table 6 5 Option Links 6 7 Oscillator Sources A crystal oscillator is fitted on t
19. rocontroller lead Of ist avis iec eit atie ee er nd one eddie dd re feat 16 9 2 Application ASAS eee ie eiet 17 Chapter 10 Code Development arrnnannvnnnnrvnnnrrnannvnnnnnvnnnr renn nrnnanannnennennnrrrsnnrnnsnnnnnenrenannrnsannnnnenresenrrrennrenenneenenrene 19 TOO VVS ur d tie em HAGA uekte 19 102 Gompil er REStricthOns ia A A adh as Sea do agas Gas Aa ela Eana e Daa arikan ti aan 19 10 3Mode Support sr hunter Mee aS 19 10 4 Breakpoint SUpport isni 2 andet A eae 19 10 5 Code located In RAM musa ito rias 19 10 6 nl ONKO CES 20 T07 Memory Maps cul D E S E E A tasted 21 10 8 Baud Rate Setting iin een ei i GA le a a Gere enn 22 10 9 Interrupt mask Seccions netat A a a a a a a a o aie 22 Chapter 11 Component PlaceMent ooccccccinncnconncconncconn con nccn na nncc rn Chapter 12 Additional Information 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 2006 All rights reserved Renesas Technology Corporation 2006 All rights reserved Renesas Solutions Corporation 2006 All rights r
20. 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 Supply2 NC 4 Regulated Supply 2 GROUND 5 Analogue Supply AVcc 48 6 Analogue Supply AVss 39 7 Analogue Reference NC 8 ADTRG NC 9 ADCO 10 ADO 47 10 ADC1 11 AD1 43 11 ADC2 12 AD2 46 12 ADC3 13 AD3 42 13 DACO NC 14 DAC1 NC 15 IOPort 10 0 26 16 IOPort lo 1 24 17 IOPort 10_2 21 18 IOPort 10_3 20 19 IOPort lo 4 15 20 lOPort 10 5 14 21 IOPort 10 6 13 22 IOPort 10 7 12 23 Opendrain IROAEC IRO3 36 24 PC Bus 3rd pin NC 25 1 2C Bus NC 26 PC Bus NC Table 9 5 J Al 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 27 2 External Clock Input CON EXTAL 30 3 Open drain NMI 32 4 Regulated Supply 1 Vss1 6 5 Open drain output WDTOVF 28 6 Serial Port SClaTX 16 1 Open drain WUP NC 8 Serial Port SClaRX 18 9 Open drain IRQ1 37 10 Serial Port SClaCK 20 11 Up down MO UD 38 12 Serial Port Handshake NC 13 Motor control MO Up 9 14 Motor control MO Un 7 15 Motor control MO Vp 5 16 Motor control MO Vn 2 17 Motor control MO Wp 3 18 Motor control MO Wn 1 19 Output TMRO 11 20 Output TMR1 15
21. ted to an IO port and will light when their corresponding port pin is set low Table 6 2 below shows the LED pin references and their corresponding microcontroller port pin connections LED Reference As Microcontroller Port Pin Microcontroller Pin Polarity shown on silkscreen function Number LEDO Port E12 5 Active Low LED1 Port E13 3 Active Low LED2 Port E14 2 Active Low LED3 Port E15 1 Active Low Table 6 2 LED Port 6 3 Potentiometer A single turn potentiometer is connected to AN2 of the microcontroller This may be used to vary the input analog voltage value to this pin between AVCC and Ground 6 4 Serial port The microcontroller programming serial port SCI is connected to the E8 connector This serial port can optionally be connected to the RS232 transceiver by fitting option resistors and the D connector in position J 7 The connections to be fitted are listed in the following table Description Function Fitfor RS232 TxD1 Programming Serial Port R48 RxD1 Programming Serial Port R49 Table 6 3 Serial Options Links N B Do not connect an E8 if the RS232 port is used The board is designed to accept a straight through RS 232 cable 6 5 LCD Module A LCD module can be connected to the connector J 8 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 t
Download Pdf Manuals
Related Search
Related Contents
Sony DS-2 DVD Recorder User Manual Impex OLYMPIAN Owner's Manual Istruzioni per l`uso GIGA W3 Professional C-2 Zoom D-520 ZOOM C-220 ZOOM SES-ASA ENGINEERING Srl de l`espace adhérent Proyección de una imagen CS CL4-A Instruction Manual French Copyright © All rights reserved.
Failed to retrieve file