Home
Renesas Starter Kit for SH7211 User`s Manual
Contents
1. eraj 8 6 5 ay sadist A A AGE a NDA 8 FKD oji ola I EA E E LEE LN CUm 9 6 7 Oscillator SOUIGES 2 Aine E ON LL 13 6 8 56 13 2 umo ela i 14 V2 cect reer reer 14 7121 Boot mode re eid tu A No ondo ANO 15 7 1 2 User KA a EE UR Ce ERR NGE 15 Chapter 8 Programming rsen neret rennen innen nenas 17 81 Programming with tlie ia petet eode i e e tai def 17 8 2 E10A Header vii idc eet AL LALA a He NIAM AJ 17 8 3 Serial Port Programming uu rtr Ri itc rr TTT TTT I 17 Chapter 9 Headers aiite ee i KALA KO IS KAO Soja tei nrbt e dr aes 18 9 1 Microcoritroller Headers ea E e 18 9 2 Application Headers 5 ene AA DAO Fe ELA DA VO dd ue A eda A A AJ 22 Chapter 10 Code 26 DTE 26 10 2 aan 26 10 32 Mode Support
2. 14 Al 122 32 GND 140 15 A2 123 33 14 141 16 VCCQ 124 34 15 142 17 GND 125 35 16 143 18 126 36 17 144 Table 9 4 4 microcontroller header 21 9 2 Application Headers Table 9 5 to Table 9 9 below show the standard application header connections marks pins where a link to the microcontroller pin is via a fitted OR link marks pins where a link to the microcontroller pin is via a fitted 100R link 1 Pin Header Name CPU board Device Pin Pin Header Name CPU board Device Pin Signal Name Signal Name 1 5V CON 5V 14 DAC1 DAI 95 2 OV 5V GROUND 15 10 0 3 3V3 CON 3V3 16 101 4 0V 3V3 GROUND 17 102 5 AVcc CON AVCC 94 18 10 3 6 AVss AVSS 93 19 104 7 AVref CON VREF 105 20 105 8 ADTRG ADTRGn 81 21 10 6 9 ADO ANO 97 22 107 10 AD1 AN1 98 23 IRQ3 IRQ7 70 11 AD2 AN2 99 24 IIC EX 12 AD3 AN3 100 25 IIC SDA IIC SDA 108 13 DACO DAO 96 26 IIC SCL IIC SCL 107 Table 9 5 Memory for HMON Components 22 JA2 Pin Header Name CPU board Device Pin Pin Header Name CPU board Device Pin Signal Name Signal Name 1 RESn RESn 22 14 Un M1 Un 120 2 EXTAL CON EXTAL 26 15 Vp 1 116 3 NMIn NMI 11 16 Vn M1 Vn 115 4 Vssl GROUND 14 17 Wp MI Wp 10 5 WDT_OVF WDT_OVFn 19 18 Wn M1 Wn 69 6 SClaTX TxD0 60 1
3. n tdt pee E et wg Hee 26 10 4 Breakpoint SUDDOYTE s ee t tente tee nde fec dor erede eae ae 26 10 5 Code located in 26 10 6 MON Components rt ttai ta ean haue dte ia alc dete Ee cds 27 10 7 Memory Map iie e dece uie RNI MG A 28 10 8 Baud Rate Setting us re IM tu tete MTA e Re ent 29 10 9 Interrupt mask sections Chapter 11 Component 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 2007 All rights reserved Renesas Technology Corporation 2007 All rights reserved Renesas Solutions Corporation 2007 All rights reserved Website htto www renesas com Glossary BRR Baud Rate Register CPU Central Processing Unit HMON Embedded Monitor LCD Liquid Crystal Display LED Light Emitting Diode RSK Renesas Starter Kit Chapter 2 Purpose This RSK is an evaluation tool for Renesas microcontrollers Fea
4. Layout The following diagram shows top layer component layout of the board Application Board Reset Switch BUS Interface Interface JAS 1 99232 Serial LCD Display 7 Power ower J1 E8 Header Microcontroller Pin Headers J4 ope E10A Header l User LEDs JAG JA2 p o o gt Boot Le User Switches Potentiometer Application Board 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 120 00mm gt 115 00mm gt 86 36mm Short Board 85 mm 50 80 mm Corners x4 43 18 mm 3mm radius 35 56 mm 27 00mm 1 E 5 gt Y 8 Y 3 45 00mm Y Y 3 81mm Figure 4 2 Board Dimensions Chapter 5 Block Diagram Figure 5 5 1 shows the CPU board components and thei r connectivity Power Jack Option Application Board Headers Microcontroller Pin Headers Debug Header Option Serial Connector Option Boot mode pins Microcontroller Boot Circuitry Figure 5 5 2 shows
5. 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 Elect
6. 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 HMON Boot Mode and User mode This circuitis not required on customers boards as itis 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 SW1 on pressing the reset button This control is subsequently used to modify a port pin state to select which code is executed 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 Modes This CPU board supports four MCU operating modes and three on chip flash memory programming modes umpers can be used to set the appropriate modes while E8 is not in use User Program mode Mode 6 may be used to run and debug user code while Boot mode may only be used to program the Renesas microcontroller
7. the connections to the RSK RESET pin RES D type latch IRQ pin IRQ pin ADC Input IRQ pin SWT SW2 SW3 RES BOOT OIO Potentiometer SWITCHES LEDs User 4 LEDS Power Green 1Green 1Orange 2Red Boot Orange Figure 5 5 1 Block Diagram USB Cable E8 emulator EN User Interface Cable Pini gt MCU Le o o O ceu Board Figure 5 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 Pin 22 SW1 BOOT Connects to an IRQ input for user controls IRQO Pin 92 The switch is also used in conjunction with the RES switch to place PortB bit21 the device in BOOT mode when not using the E8 debugger SW2 Connects to an IRQ line for user controls IRQ4 Pin 87 Port B bit 18 SW3 Connects to an IRQ line for user controls Same pin functions as ADC IRQ6 Pin 88 trigger input Port bit 19 Table 6 1 Switch Functions R efer to schematic for detailed connectivity information 6 2 LEDs There a
8. tools support euQ renesas com Japan csc renesas com General information on Renesas Microcontrollers can be found on the Renesas website at hittp www renesas com 31 Renesas Starter Kit for SH7211 User s Manual Publication Date Rev 1 00 08 March 2007 Published by Renesas Technology Europe Ltd Duke s Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH United Kingdom 2007 Renesas Technology Europe and Renesas Solutions Corp All Rights Reserved Renesas Starter Kit for SH7211 User s Manual 5 5 Renesas Electronics Corporation 1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan REG10J0034 0100
9. 000 0000 0x0004 Required for Start up of HMON 5 VECTORS HMON Serial Port Vectors Vector 244 245 246 247 H 000003D0 0x0010 PHMON HMON Code H 00004000 0x29A4 CHMON HMON Constant Data H 0000 69A4 0x0148 BHMON HMON Un initialised data H FFF87600 0 055 UGenU FDT User Mode Micro Kernel H 00001000 0x17D0 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 Memory Map for HMON Components 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 Ho0000000 1199000000 H 0000040B meters H 00000800 H 00000803 CUser Vectors H 00001000 UGenU FDT Kernel H 000027CF H 00004000 PHMON H 000003D0 H 00006AEB SCI Vectors H 000003DF On Chip FLASH ROM H 0007FFFF H FFF80000 On Chip RAM H FFF87600 H FFF87B5C SHMON H FFF87CO0 H FFF87FFF H FFFC0000 Internal I O H FFFFFFFF REGISTERS Figure 10 1 Memory Map 28 10 8 Baud Rate Setting HMON is initially set to connect at 250000 Baud The value set in the baud rate register for the microcontroller must be altered if the user wishes to chan
10. 83 R91 R113 Pin function select Connects PIN 116 to DTENDO A6 Disconnects PIN 116 from DTENDO R86 R96 R116 Pin function select Connects PIN 76 to M2 Vp on 5 Disconnects PIN 76 from M2 Vp R66 R117 Pin function select Connects PIN 81 to M2 TRISTn on Disconnects PIN 81 from R76 JA5 M2 TRISTn R118 Pin function select Connects PIN 75 to M2 Vn on J A5 Disconnects PIN 75 from M2 Vn R67 R119 Pin function select Connects PIN 110 to TCLKC A5 Disconnects PIN 110 from TCLKC R62 R120 Pin function select Connects PIN 8 to PTTX A6 Disconnects PIN 8 from PTTX R80 R122 Pin function select Connects PIN 60 to WRn Disconnects PIN 60 from WRn R72 R123 Pin function select Connects PIN 59 to RDn on Disconnects PIN 59 from RDn R74 R124 Pin function select Connects PIN 6 to 5 A6 Disconnects PIN 6 from SCK1 R75 R125 Pin function select Connects PIN 72 to 2 Wp 5 Disconnects PIN 72 from M2_Wp R69 R126 Pin function select Connects PIN 109 to TCLKD J A5 Disconnects PIN 109 from TCLKD R61 R127 Pin function select Connects PIN 7 to PTRX J A6 Disconnects PIN 7 from PTRX R81 R128 Pin function select Connects PIN 71 to WEOn J Disconnects PIN 71 from WEOn R132 R132 Pin function select Connects PIN 71 to M2 Wn 5 Disconnects PIN 71 from M2 Wn R128 Table 6 8 Pin function select links Table 6 9 below describes the function of the option l
11. 9 TMRO TMRO 117 7 IRQO IRQO 92 20 TMR1 TMR1 120 8 SClaRX RXDO 59 21 TRIGa TRIGa 115 9 IRQ IRQ1n 87 22 TRIGb TRIGb 116 10 SClaCK SCKO 23 IRQ2 IRQ6 88 11 UD UD 82 24 TRISTn 1 TRISTn 91 12 CTSRTS 25 Reserved 13 Up M1 Up 117 26 Reserved Table 9 6 J A2 Standard Generic Header 23 Header Name CPU board Device Pin Pin Header Name CPU board Device Pin Signal Name Signal Name 1 Address Bus 0 121 26 Read Write Control WRn 60 2 Address Bus Al 122 27 Memory Select CS1n 83 3 Address Bus A2 123 28 Memory Select 53 84 4 Address Bus A3 126 29 Data Bus D8 49 5 Address Bus 4 127 30 Data Bus D9 50 6 Address Bus A5 128 31 Data Bus D10 51 7 Address Bus 6 129 32 Data Bus D11 52 8 Address Bus AT 130 33 Data Bus D12 53 9 Address Bus A8 133 34 Data Bus D13 56 10 Address Bus 9 134 35 Data Bus D14 57 11 Address Bus 10 135 36 Data Bus D15 58 12 Address Bus All 136 37 Address Bus 16 143 13 Address Bus A12 137 38 Address Bus A17 144 14 Address Bus A13 138 39 Address Bus A18 1 15 Address Bus Al4 141 40 Address Bus 19 2 16 Address Bus Al5 142 41 Address Bus A20 3 17 Data Bus DO 37 42 Address Bus 21 4 18 Data Bus 01 38 43 Address Bus 22 5 19 Data Bus D2 39 44 External Device Clock 20 Data Bus D3 40 45
12. Memory Select CS5n 82 21 Data Bus D4 43 46 Bus Control 22 Data Bus D5 44 47 Data Bus Strobe WE 1 72 23 Data Bus D6 45 48 Data Bus Strobe WEOn 71 24 Data Bus D7 46 49 Reserved 25 Read Write Control RDn 59 50 Reserved Table 9 7 Standard Generic Header 24 5 Header CPU board Device Pin Pin Header Name CPU board Device Pin Signal Name Signal Name 1 AD4 AN4 101 13 TIOCOA TIOCOB 6 2 AD5 AN5 102 14 TIOCOB TIOCOC 7 3 AD6 AN6 103 15 TIOCOC TIOCOD 8 4 AD7 AN7 104 16 M2_TRISTn M2_TRISTn 81 5 17 110 6 CANIRX 18 TCLKD TCLKD 109 7 CAN2TX 19 M2 Up M2 Up 80 8 CAN2TX 20 M2 Un M2 Un 79 9 AD8 21 M2 Vp M2 Vp 16 10 AD9 22 M2 Vn M2 Vn 75 11 AD10 23 M2 Wp M2 Wp 72 12 AD11 24 M2 Wn M2 Wn n Table 9 8 J A5 Standard Generic Header JA6 Pin Header Name CPU board DevicePin Pin Header Name CPU board Device Pin Signal Name Signal Name 1 DREQ DREQO 120 13 Reserved 2 DACK DACKO 117 14 Reserved 3 TEND DTENDO 116 15 Reserved 4 STBYn 16 Reserved 5 RS232TX RS232TX 17 Reserved 6 RS232RX RS232RX 18 Reserved 7 SCIbRX RxD2 109 19 Reserved 8 SCIbTX TxD2 110 20 Reserved 9 SCIcTX PTTX 8 21 Reserved 10 SCIbCX 22 Reserved 11 SCIcCK SCK1 6 23 Reserved 12 SCICR
13. 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 19 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 gr
14. VCCQ 42 24 WRn 00 60 7 D4 43 25 GND 61 8 D5 44 26 VCC 62 9 D6 45 27 DLCD4 63 10 D7 46 28 DLCD5 64 1 VCC 47 29 DLCD6 65 12 GND 48 30 DLCD7 66 13 08 49 31 VCCQ 67 14 09 50 32 GND 68 15 D10 51 33 M1 Wn 69 16 D11 52 34 M1Wp_IRQ7 70 17 D12 53 35 WEOn M2Wn 71 18 VCCQ 54 36 WE1n M2Wp 72 Table 9 2 2 microcontroller header J3 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 VCC 73 19 1 TRISTn 91 2 GND 74 20 IRQO 92 3 LEDO M2Vn 75 21 AVSS 93 4 LED1 M2Vp 76 22 AVCC 94 5 GND 77 23 DAI 95 6 VCCQ 78 24 DAO 96 7 LED2 M2Un 79 25 ADPOT ANO 97 8 LED3 M2Up 80 26 ANI 98 9 ADTRGn_M2TRISTn 81 27 AN2 99 10 CS5n UD 82 28 AN3 100 11 CS1n 83 29 AN4 101 12 CS3n 84 30 ANS 102 13 VCC 85 31 AN6 103 4 GND 86 32 AN7 104 15 IRQ4 87 33 AN8 105 16 IRQ6 88 34 AVSS 106 17 GND 89 35 PIN107 107 18 VCCQ 90 36 PIN108 108 Table 9 3 J 3 microcontroller header 20 14 Circuit Net Device Pin Pin Circuit Net Name Device Pin 1 RXD2_TCLKD 109 19 4 127 2 TXD2_TCLKC 110 20 5 128 3 DLCDE 111 21 A6 129 4 DLCDRS 112 22 7 130 5 GND 113 23 GND 131 6 VCCQ 114 24 VCC 132 7 M1Vn_TRIGa 115 25 8 133 8 M1Vp DTENDO TRIGb 116 26 A9 134 9 M1Up DACKO TMRO 117 21 10 135 10 GND 118 28 All 136 11 VCC 119 29 12 137 12 M1Un DREQO TMR1 120 30 A13 138 13 A0 121 31 VCCQ 139
15. X PTRX 7 24 Reserved Table 9 9 J A6 Standard Generic Header 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 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 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 day
16. anted 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 b
17. ce 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 under
18. de in the E8Direct configuration dialog from HEW Pin Settings Please select the pin settings BOOT Mode using Clock Mode Operating Mode 4 Boot Mode BOOT Mode Outputs BOOT Mode Setting 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 pin states during reset FWE MD1 MDO LSI State after Reset End FDT Settings A B D 1 1 0 User Program Mode 0 1 1 Table 7 3 User Mode pin settings Pin Settings Please select the pin settings USER Mode using Clock Mode EA Display Qa oe Operating Mode ETEN JI Device Image Target files LCD mot Keyboard fme MOt 1 Device Image USER Mode H E Target files utputs ag Drive mot USER Mode 2 Datarmot Setting A rithm AE USER Program Mode Setting lt Back Cancel Figure 7 2 User mode FDT configuration 16 Chapter 8 Programming Methods All of the Flash ROM on the device can be programmed when the device is in Boot mode In boot mode the boot loader program pre programmed into the microcontroller executes and attempts a connection with the host for example a PC On establishing a connection with the microcontroller the ho
19. e 6 3 Serial Option Links The board is designed to accept a straight through RS 232 cable 6 5 LCD Module The LCD module supplied with the RSK can be connected to the connector LCD for use with the tutorial code Any module that conforms to the pin connections and has a KS0066u compatible controller can be used The LCD module uses a 4 bit interface to reduce the 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 LCD Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 Ground 2 5V Only 3 No Connection 4 DLCDRS 112 5 R W Wired to Write only 6 DLCDE 111 7 No Connection 8 No connection 9 No Connection 10 No connection 11 DLCD4 63 12 DLCD5 65 13 DLCD6 66 14 DLCD7 67 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 R20 Serial Port Connects programming port Disconnects programming port Rx from R38 R42 Configuration Rx to E8 connector E8 connector R48 R21 Serial Port Co
20. ge 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 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 15 Modules using interrupts should be set to lower than this value 14 or below so that serial communications and debugging capability is maintained 29 Chapter 11 Component Placement FRONT gt D gO aR Rel 0 RE LED D EE gt R51 iN jmoj moj i j 90 R94 R97 C33 Figure 11 1 Component Placement Top Layer 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 SH7211 microcontrollers refer to the SH7211 Group Hardware Manual For information about the SH7211 assembly language refer to the 5 2 SH2A FPU Software Manual Online technical support and information is available at http Www renesas com renesas starter kits Technical Contact Details America techsupport rta renesas com Europe
21. inks associated with Clock configuration The default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R75 Clock Oscillator Parallel resistor for crystal Not fitted R76 Clock Oscillator Connects on board clock to MCU External Clock Source can be connected R74 R77 R108 R108 Clock Oscillator Connects on board clock to MCU External Clock Source can be connected R74 R77 R76 R74 Clock Oscillator Connects external clock to MCU Disconnects external clock connection R77 R76 to MCU R77 Clock Oscillator Connects external clock to MCU Disconnects external clock connection R74 R76 to MCU Table 6 9 Clock configuration links 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 10 Oscillators Resonators details the oscillators that are fitted and alternative footprints provided on this CPU board Component Crystal X1 Fitted LOMHz HC49 4H package Table 6 10 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
22. made from Table 6 3 Serial Option Links 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 Chapter 9 Headers 9 1 Microcontroller Headers Table 9 1 to Table 9 4 show the microcontroller pin headers and their corresponding microcontroller connections The header pins connect directly to the microcontroller pin unless otherwise stated jl Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 18 1 19 WDT OVFn 19 2 19 2 20 VCC 20 3 A20 3 21 GND 21 4 21 4 22 RESn 22 5 A22 5 23 FWE 23 6 SCK1 TIOCOB 6 24 GND 24 j PTRX TIOCOC 7 25 CON XTAL 25 8 PTTX TIOCOD 8 26 CON EXTAL 26 9 VCCQ 9 27 GND 27 10 GND 10 28 VCCQ 28 1 NMI 1 29 ASEMDn 29 12 TDI 12 30 ASEBRKn 30 13 VCC 13 31 MD 31 14 GND 14 32 MD CLK2 32 15 TDO 15 33 MDO 33 16 TCK 16 34 MDI 34 17 TMS 17 35 VCC 35 18 TRSTn 18 36 GND 36 Table 9 1 1 microcontroller header 12 Circuit Net Device Pin Pin Circuit Net Name Device Pin 1 DO 37 19 GND 55 2 01 38 20 013 56 3 02 39 21 D14 57 4 D3 40 22 D15 58 5 GND 41 23 RDn RxDO 59 6
23. nnects PIN 110 to TxD2 Disconnects PIN 110 from TxD2 R119 R63 Pin function select Connects 80 to LED3 Disconnects PIN 80 from LED3 R105 R64 Pin function select Connects PIN 115 to M1 2 Disconnects PIN 115 from M1 Vn R93 R65 Pin function select Connects PIN 79 to LED2 Disconnects PIN 79 from LED2 R108 R66 Pin function select Connects PIN 76 to LED1 Disconnects PIN 76 from LED1 R116 R67 Pin function select Connects PIN 75 to LEDO Disconnects PIN 75 from LEDO R118 R68 Pin function select Connects PIN 82 to CS5n Disconnects PIN 82 from CS5n R78 R69 Pin function select Connects PIN 72 to WE1n J Disconnects PIN 72 from WE1n R125 R72 Pin function select Connects PIN 60 to TXDO J A2 Disconnects PIN 60 from TxDO R122 R74 Pin function select Connects PIN 59 to RxDO J 2 Disconnects PIN 59 from RxDO R123 R75 Pin function select Connects PIN 6 to TIOCOB on J 5 Disconnects PIN 6 from TIOCOB R124 R76 Pin function select Connects PIN 81 to ADTRGn 1 Disconnects PIN 81 from ADTRGn R117 R79 Pin function select Connects PIN 97 to ANO on J Al Disconnects 97 from ANO R84 R80 Pin function select Connects PIN 8 to TIOCOD J 5 Disconnects PIN 8 from TIOCOD R120 R81 Pin function select Connects PIN 7 to TIOCOC 5 Disconnects PIN 7 from TIOCOC R127 R82 Pin function select Connects PIN 117 to 1 Upon A2 Disconnects PIN 117 f
24. nnects programming port Disconnects programming port Tx from R47 R55 Configuration Tx to E8 connector E8 connector R56 R32 Serial Port Connects serial port RXDO to Disconnects serial port RXDO from R52 Configuration RS232 Buffer SERIAL D type connector R38 Serial Port Connects programming port Disconnects programming port Rx to R20 R42 Configuration to external serial connectors external serial connectors R48 R40 Serial Port Disables RS 232 Serial Enables RS232 Serial Configuration Transceiver Transceiver R42 Serial Port Routes RS 232 serial port Rx to Disconnects RS232 serial port Rx from R48 R38 Configuration application connector J A6 application connector J A6 R47 Serial Port Connects programming port Tx Disconnects programming port Tx to R34 R20 Configuration to external connectors external serial connectors R22 R48 Serial Port Connects Alternate serial CH2 Disconnects Alternate serial from D R20 R38 Configuration to D connector connector R42 R52 Serial Port Connects serial port TXDO to Disconnects serial port TXDO from R32 Configuration RS232 Buffer SERIAL D type connector R55 Serial Port Routes RS 232 serial port Tx to Disconnects RS232 serial port Tx from R4 R56 Configuration application connector J A6 application connector J A6 R56 Serial Port Connects Alternate serial CH2 Disconnects Alternate serial from D R21 R47 Configuration to D connector connector R57 R58 Se
25. re 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 HMON BOOT mode when lit The four user LEDs are connected 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 B bit 10 15 Active Low LED1 Port B bit 11 76 Active Low LED2 Port B bit 12 79 Active Low LED3 Port B bit 13 80 Active Low Table 6 2 LED Port 6 3 Potentiometer A single turn potentiometer is connected to pin ANO 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 5 11 is connected to the E8 connector SCI2 is connected to the RS 232 connector SERIAL SCI1 can optionally be connected to 5232 transceiver by fitting option resistors The connections to be fitted are listed in Table 6 3 Serial Option Links E8 connector and SCI 2 are then disconnected Description Function Fit for RS232 Remove for Fit for E8 Remove for E8 RS232 TxD1 Programming Serial Port R47 R21 R56 R21 R47 R56 RxD1 Programming Serial Port R38 R20 R48 R20 R38 R48 Tabl
26. rial Port Connects Alternate serial CHO to Disconnects Alternate serial from D R59 Configuration D connector connector R59 Serial Port Connects Alternate serial CHO to Disconnects Alternate serial from D R58 Configuration D connector connector Table 6 5 Serial configuration links Table 6 6 below describes the function of the option links associated with P ower configuration The default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R4 Power Source Board can be powered from Disconnects the supply from PWR R11 R28 PWR connector connector R11 Power Source Board can be powered by E8 Disconnects the supply from E8 RA R8 connector R22 Microcontroller E8A VCC2 can drive E8A VCC2 disconnected from R27 Power Supply microcontroller core microcontroller core R27 Microcontroller Regulated 1V5 can drive Regulated 1V5 disconnected from R22 Power Supply microcontroller core microcontroller core R28 Power Board input power connected Disconnects the supply from Con 5V R4 11 to CON 5V R44 Microcontroller 1 0 Supply power to Fit Low ohm resistor to measure current R53 Power Supply Microcontroller R45 Power Connects Board VCC to Disconnect Board VCC from CON R49 CON 3V3 R49 Power Source Connects regulated 3V3 voltage Disconnects regulated 3V3 voltage R45 source to Board source f
27. rom Board R53 Microcontroller Core Supply power to FitLow ohm resistor to measure current R44 Power Supply Microcontroller Table 6 6 Power configuration links Table 6 7 below describes the function of the option links associated with Analog configuration The default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R60 Analog Voltage Connects AVCC to Board_5V Disconnects AVCC from CON_VREF R71 Source R70 Analog Voltage Links analog ground to digital Isolates analog ground from digital Source ground ground R71 Analog Voltage Connects AVCC to CON VREF Disconnects AVCC from CON VREF R60 Source R73 Voltage Reference Connects Board 5V to VREF Disconnects Board 5V from VREF R77 Source R77 Voltage Reference Connects CON_VREF Disconnects CON_VREF from VREF R73 Source to VREF Table 6 7 Analog configuration links 10 Table 6 8 below describes the function of the option links associated with Clock configuration The default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R61 Pin function select Connects PIN 109 to RxD2 on J A6 Disconnects PIN 109 from RxD2 R126 R62 Pin function select Co
28. rom M1 Up R88 R103 R83 Pin function select Connects PIN 120 to M1_UnonJA2 Disconnects PIN 120 from M1 Un R91 111 R84 Pin function select Connects PIN 97 to AD_POT Disconnects PIN 97 from AD_POT R79 R86 Pin function select Connects PIN 116 to 1 VponJA2 Disconnects PIN 116 from M1 Vp R96 R113 R87 Pin function select Connects PIN 70 to 1 Wp 2 Disconnects PIN 70 from M1_Wp R95 R88 Pin function select Connects PIN 117 to TMRO on J 2 Disconnects PIN 117 from TMRO R82 R103 R91 Pin function select Connects PIN 120 to TMR1 on J A2 Disconnects PIN 120 from TMR1 R83 R111 R93 Pin function select Connects PIN 115 to TRIGa 2 Disconnects PIN 115 from J A2 R64 R95 Pin function select Connects PIN 70 to IRQ7 on J Al Disconnects PIN 70 from 07 R87 R96 Pin function select Connects PIN 116 to TRIGb 2 Disconnects PIN 116 from TRIGb R86 R113 R103 Pin function select Connects PIN 117 to DACKO on J A6 Disconnects PIN 117 from DACKO R82 R88 R105 Pin function select Connects PIN 80 to M2 Upon Disconnects PIN 80 from M2_Up R63 R108 Pin function select Connects PIN 79 to M2 Unon A5 Disconnects PIN 79 from M2 Un R65 11 Option Link Settings Reference Function Fitted Alternative Removed Related To 111 Pin function select Connects PIN 120 to DREQ0 Disconnects PIN 120 from DREQO R
29. ronics 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 5 5 Renesas Starter Kit for 5 7211 User s Manual RENESAS SINGLE CHIP MICROCOMPUTER SuperH RISC engine Renesas Electronics Rev 1 00 2007 03 www renesas com Table of Contents TGhapter 1 Preface ss sss eite e EN a SA eee eta 1 2 ii kama kuka a ta t called ads 2 Chapter 3 Power Supply 3 Regulremientss o t e dem ra n d erm AA WA Eten 3 3 2 Power Up Behaviour e de e reet IIN eee NISA aO 3 Chapter 4 Board n tit Eee tatu ip ee Aid tiae E 4 41 Component Layout avis GE LISA GAS AAA 4 4 2 Board Dimensions eite di t d ec P d ap i Pul d epee eds 5 Chapter 5 Block Diagram i rt rg a pet dra edd AFA 6 Ghapter MI OPI A 7 SABE M prn e stent eens oa ato gr Lj BM DA Ya 7 cored EDS rikura rr eem ke kur am AA AAA WAA WAA e A eke kam IA o re err mO AA 7 6 3 Potentlomete ts a ee IA ed a OM AM AJ 7
30. s 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 Single Chip mode only for the SH7211 family 10 4 Breakpoint Support Limited breakpoints can be located in ROM code However code located in RAM may have unlimited breakpoints To debug with less intrusion 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 26 10 6 HMON Components HMON is built along with the user s code Certain elements of the HMON code must remain at a fixed location in memory Table 10 1 details the HMON components and their size and location in memory For more information refer to the map file when building the code Section Description Start Size Location H bytes RESET VECTOR HMON Reset Vector Vector 0 0
31. st may then transmit program data to the microcontroller via the appropriate programming port Table 8 1 Serial Port Boot Channel 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 5 TXDI Pin 8 RXDI Pin7 CPU board Signal Name PTTX PTRX Table 8 1 Serial Port Boot Channel 8 1 Programming with the E8 The Flash Development Toolkit is supplied to allow programs to be loaded directly on to the board using the E8 The E8 resets the CPU invoking the User Program mode described above This starts the FDT User Program mode programming kernel For further information see the User program sample code and the FDT kernel code 8 2 E10A Header This device supports 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 8 3 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 Ensure the relevant option links are
32. tures 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 Pressing any switch will cause the LEDs to flash ata rate controlled by the potentiometer Chapter 4 Board Layout 4 1 Component
33. ut 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 offi
34. with program code When using the E8 debugger supplied with the RSK the mode transitions between Boot mode and User Program mode are executed automatically The CPU board provides the capability of changing between User mode and HMON Boot mode using a latch circuit This is only to provide a simple boot control on this board when the E8 is in use with HMON To manually enter HMON 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 HMON boot mode In this mode the E8 can be used to make an HMON connection in HEW More information on SH7211 operating modes can be found in the device hardware manual 7 1 FDT Settings In the following sections the tables identify the settings required to connect to the board using the E8Direct debugger interface 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 Boot mode pin settings below FWE MD1 MDO LSI State after Reset End FDT Settings A B D 1 0 0 Boot Mode 0 0 Table 7 2 Boot mode pin settings The following picture shows these settings ma
Download Pdf Manuals
Related Search
Related Contents
知っていると安心 - 東京都健康安全研究センター Manuel d`utilisation de KF-Ray 1.0.1, raytracer paralléle ACCUEIL DE GROUPES SCOLAIRES TRENDnet TK-802R Computer Hardware User Manual Montage-, Betriebs- und Wartungsanleitung für die Stickmaschine Turck Ethernet Industrial Communication LA Audio Electronic EQX20 User's Manual Sony DCR-HC1000 Notes 取扱説明書 Copyright © All rights reserved.
Failed to retrieve file