background image

 

 

9.2. Application Headers 

Table 9-5 to Table 9-9 below show the standard application header connections. 

JA1 

Pin  Generic Header Name 

CPU board 

Signal Name 

Device 

Pin 

Pin 

Generic Header Name 

CPU board 

Signal Name 

Device 

Pin 

1 5V 

CON_5V 

2 0V 

GROUND 

3 3V3 

CON_3V3 

4 0V 

GROUND 

5 AVCC 

CON_AVCC  98 

6 AVss 

CON_AVSS  79 

7 AVref 

CON_AVREF  88 

8 ADTRG 

ADTRGn 

55 

9 AD0 

AN0 

97 

10 AD1 

AN1 

96 

11 AD2 

AN2 

95 

12 AD3 

AN3 

94 

13 DAC0 

NC 

14 DAC1 

NC 

15 IO_0 

IO0 

60 

16 IO_1 

IO1 

58 

17 IO_2 

IO2 

56 

18 IO_3 

IO3 

55 

19 IO_4 

IO4 

54 

20 IO_5 

IO5 

53 

21 IO_6 

IO6 

52 

22 IO_7 

IO7 

51 

23 IRQ3 

IRQ3 

63 

24 IIC_EX 

NC 

25 IIC_SDA 

SDA 

45 

26 IIC_SCL 

SCL 

46 

Table 9-5: JA1 Standard Generic Header 

 

27 

Содержание SH2/7137

Страница 1: ...ook 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 1st 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry ...

Страница 2: ...ct 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 office equipment communications equipment test and meas...

Страница 3: ...Renesas Starter Kit for SH2 7137 User s Manual User s Manual Rev 1 00 2008 02 RENESAS SINGLE CHIP MICROCOMPUTER SH2 FAMILY ...

Страница 4: ...7 Option Links 12 6 8 Oscillator Sources 20 6 9 Reset Circuit 20 Chapter 7 Modes 21 7 1 Boot mode 21 7 2 User Boot mode 21 7 3 User Program mode 21 7 4 Single chip mode 21 7 5 MCU extension mode 0 22 7 6 MCU extension mode 2 22 Chapter 8 Programming Methods 23 Chapter 9 Headers 24 9 1 Microcontroller Headers 24 9 2 Application Headers 27 Chapter 10 Code Development 31 10 1 Overview 31 10 2 Compile...

Страница 5: ... registered trademarks of their respective companies or organisations Copyright Renesas Technology Europe Ltd 2008 All rights reserved Renesas Technology Corporation 2008 All rights reserved Renesas Solutions Corporation 2008 All rights reserved Website http www eu renesas com Glossary CPU Central Processing Unit HEW High performance Embedded Workshop LED Light Emitting Diode RSK Renesas Starter K...

Страница 6: ...Tutorial Manual provide details of the software installation and debugging environment Features include Renesas Microcontroller Programming User Code Debugging User Circuitry such as Switches LEDs and potentiometer User or Example Application Sample peripheral device initialisation code The RSK board contains all the circuitry required for microcontroller operation 4 ...

Страница 7: ...ctor using a 2 0mm barrel power jack Warning The RSK is neither under nor over voltage protected Use a centre positive supply for this board 3 2 Power Up Behaviour When the RSK is purchased the RSK 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 After 200 flashes or a...

Страница 8: ... top layer component layout of the board User switches E8A Header Power RS232 Serial Application board interface LCD Display Microcontroller pin headers Application board interface Potentiometer User LEDs Reset switch JA1 J2 LCD Power LED MCU JA5 E10A Header JA2 JA6 JA3 Boot LED J4 J3 CAN J1 J7 6 ...

Страница 9: ...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 Figure 4 2 Board Dimensions 7 ...

Страница 10: ...Chapter 5 Block Diagram Figure 5 1 shows the CPU board components and their connectivity Figure 5 1 Block Diagram Figure 5 2 shows the connections to the RSK Figure 5 2 RSK Connections 8 ...

Страница 11: ...vity information 6 2 LEDs There are six LEDs on the RSK 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 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 Re...

Страница 12: ... J2 12 CRx0 Receive data output reads out data from the bus lines 41 J2 11 CAN_EN Enable control input 49 J2 19 CAN_ERRn Error and power on indication output 63 J3 13 CAN_STBn Standby control input 43 J2 13 Table 6 4 CAN module settings 6 6 Debug LCD Module A debug LCD module is supplied to be connected to the connector LCD This should be fitted so that the debug LCD module lies over J3 Care shoul...

Страница 13: ...5V Only 3 No Connection 4 DLCDRS PD10 28 5 R W Wired to Write only 6 DLCDE 100k pull down to ground PD9 29 7 No Connection 8 No connection 9 No Connection 10 No connection 11 DLCDD4 PE0 27 12 DLCDD5 PE1 26 13 DLCDD6 PE2 25 14 DLCDD7 PE3 24 Table 6 5 Debug LCD Module Connections 11 ...

Страница 14: ... Port Configuration Routes serial port SCI2 Rx to microcontroller pins Disconnects serial port SCI2 Rx from microcontroller pins R25 R26 R30 R32 R36 R30 Serial Port Configuration Routes serial port SCI2 Tx to microcontroller pins Disconnects serial port SCI2 Tx from microcontroller pins R25 R26 R32 R36 R39 R32 Serial Port Configuration Routes serial port to JA6 pins Disconnects serial port from JA...

Страница 15: ...nterface R137 R128 Application board interface Use TCK of E10A debugger interface Use M2_Un of application board interface R132 R132 Application board interface Use M2_Un of application board interface Use TCK of E10A debugger interface R128 R129 Application board interface Use ASEBRKn of E10A debugger interface Use M2_Up of application board interface R125 R125 Application board interface Use M2_...

Страница 16: ...onboard LED1 R76 R77 Application board interface Use to connect to onboard LED0 Use D0 of application board interface R78 R78 Application board interface Use D0 of application board interface Use to connect to onboard LED0 R77 R62 Application board interface Use CS1n of application board interface Use CRx0 for onboard RCAN module R63 R63 Application board interface Use CRx0 for onboard RCAN module...

Страница 17: ...on board interface Use A10 of application board interface Use IO6 of application board interface R74 R88 Application board interface Use IO5 of application board interface Use A9 of application board interface R90 R90 Application board interface Use A9 of application board interface Use IO5 of application board interface R88 R84 Application board interface Use IO4 of application board interface Us...

Страница 18: ...ation board interface Use of CAN_ERRn for onboard RCAN module or A5 application board interface R104 R111 R111 Application board interface Use CAN_ERRn for onboard RCAN module Use IRQ3 or A5 of application board interface R104 R108 R104 Application board interface Use A5 of application board interface Use CAN_ERRn for onboard RCAN module or IRQ3 of application board interface R108 R111 R115 Applic...

Страница 19: ... module R124 Table 6 7 Application board interface links Table 6 8 below describes the function of the option links associated with E8A and E10A debuggers The default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R178 E8A If FWE or R178 is fitted the Flash is protected from writing If both FWE and R178 are removed writing to F...

Страница 20: ... be powered from E8A_VCC R29 R35 R35 Power source Board_VCC 3V3 or J5 2 3 Board_VCC 5V or J5 1 2 R24 R29 R40 Power source Board_VCC source signal will be powered from E8A_VCC Board_VCC source signal will not be powered from E8A_VCC Table 6 9 Power configuration links Table 6 10 below describes the function of the option links associated with clock configuration The default configuration is indicat...

Страница 21: ... Voltage Source Analog voltage source from external connector Analog voltage source from on board AVcc R71 R71 Analog Voltage Source Analog voltage source from on board AVcc Analog Voltage Source from external connector R72 Table 6 12 Analog power supply links Table 6 13 below describes the function of the option links associated with MCU modes The default configuration is indicated by BOLD text O...

Страница 22: ... links the mode selection and reset circuit This provides an easy method for swapping the device between Boot Mode and User mode This circuit is not required on customer s 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 ...

Страница 23: ...de Refer to SH2 7137 Group Hardware Manual for details of User Boot Mode The user mode settings for this RSK are shown in Table 7 2 user Mode pin settings below FWE MD2n MD1 LSI State after Reset End 1 0 1 User Boot Mode Table 7 2 User Boot Mode pin settings 7 3 User Program mode Refer to SH2 7137 Group Hardware Manual for details of User Program Mode The User Program Mode settings for this RSK ar...

Страница 24: ...D1 LSI State after Reset End 0 0 0 MCU Extension Mode 0 Table 7 5 MCU Extension Mode 0 pin settings 7 6 MCU extension mode 2 CS0 space becomes external memory spaces with 8 bit bus width in SH7137 The MCU Extension Mode 2 settings for this RSK are shown in Table 7 6 MCU Extension Mode 2 pin settings below FWE MD2n MD1 LSI State after Reset End 0 1 0 MCU Extension Mode 2 Table 7 6 MCU Extension Mod...

Страница 25: ... 8 Programming Methods The board is intended for use with HEW and the supplied E10A debugger Refer to SH2 7137 Group Hardware Manual for details of programming the microcontroller without using these tools 23 ...

Страница 26: ...ircuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 GROUND 2 TRSTn_M2_Wn 2 3 UC_VCC 4 TMS_M2_Vn 4 5 TDO_M2_Wp 5 6 TDI_M2_Vp 6 7 TCK_M2_Un 7 8 ASEBRKn_M2_Up 8 9 M1_Wn 9 10 M1_Vn 10 11 UC_VCC 12 M1_Wp 12 13 M1_Vp 13 14 GROUND 15 M1_Un 15 16 NC 17 M1_Up 17 18 CS0n 18 19 A15 19 20 A14_TRIGb 20 21 A13_TRIGa 21 22 A12_TMR1 22 23 A11_TMR0 23 24 DLCDD7 24 25 DLCDD6 25 26 DLCDD5 26 27 DLCDD4 27 28...

Страница 27: ...9 UD_CAN_EN 49 20 GROUND Table 9 2 J2 J3 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 IO7 51 2 A10_IO6 52 3 A9_IO5 53 4 A8_IO4 54 5 A8_ADTRGn_IO3 55 6 A6_IO2 56 7 UC_VCC 8 TXD2_IO1 58 9 NC 10 WRLn_WRn_RXD2_IO0 60 11 SCK2 61 12 RDn 62 13 A5_IRQ3_CAN_ERRn 63 14 GROUND 15 A4_PTTX 65 16 A3_PTRX 66 17 A2_SCK0 67 18 A1_TXD0 68 19 A0_RXD0 69 20 RESn 70 21 CON_XTAL 71 22 CON_EXTAL 72 ...

Страница 28: ...e Device Pin 1 AN14 81 2 AN13 82 3 AN12 83 4 PIN84 84 5 PIN85 85 6 PIN86 86 7 ADPOT 87 8 CON_AVREF 88 9 AN7 89 10 AN6 90 11 AN5 91 12 AN4 92 13 CON_AVSS 93 14 AN3 94 15 AN2 95 16 AN1 96 17 AN0 97 18 CON_AVCC 98 19 UC_VCC 99 20 WDT_OVFn 100 Table 9 4 J4 26 ...

Страница 29: ... CON_5V 2 0V GROUND 3 3V3 CON_3V3 4 0V GROUND 5 AVCC CON_AVCC 98 6 AVss CON_AVSS 79 7 AVref CON_AVREF 88 8 ADTRG ADTRGn 55 9 AD0 AN0 97 10 AD1 AN1 96 11 AD2 AN2 95 12 AD3 AN3 94 13 DAC0 NC 14 DAC1 NC 15 IO_0 IO0 60 16 IO_1 IO1 58 17 IO_2 IO2 56 18 IO_3 IO3 55 19 IO_4 IO4 54 20 IO_5 IO5 53 21 IO_6 IO6 52 22 IO_7 IO7 51 23 IRQ3 IRQ3 63 24 IIC_EX NC 25 IIC_SDA SDA 45 26 IIC_SCL SCL 46 Table 9 5 JA1 S...

Страница 30: ...RIGa TRIGa 21 22 TRIGb TRIGb 20 23 IRQ2 IRQ2 44 24 TRISTn TRISTn 30 25 NC 26 NC Table 9 6 JA2 Standard Generic Header JA5 Pin Generic Header Name CPU board Signal Name Device Pin Pin Generic Header Name CPU board Signal Name Device Pin 1 AD4 AN4 92 2 AD5 AN5 91 3 AD6 AN6 90 4 AD7 AN7 89 5 CAN1TX CTx0 42 6 CAN1RX CRx0 41 7 CAN2TX NC 8 CAN2RX NC 9 AD8 AN12 83 10 AD9 AN13 82 11 AD10 AN14 81 12 AD11 A...

Страница 31: ...Name CPU board Signal Name Device Pin 1 DREQ NC 2 DACK NC 3 TEND NC 4 STBYn NC 5 RS232TX RS232TX 6 RS232RX RS232RX 7 SCIbRX NC 8 SCIbTX NC 9 SCIcTX TXD2 58 10 SCIbCK NC 11 SCIcCK SCK2 61 12 SCIcRX RXD2 60 13 14 15 16 17 18 19 20 21 22 23 24 Table 9 8 JA6 Standard Generic Header 29 ...

Страница 32: ... A13 21 15 A14 A14 20 16 A15 A15 19 17 D0 D0 40 18 D1 D1 38 19 D2 D2 37 20 D3 D3 35 21 D4 D4 34 22 D5 D5 33 23 D6 D6 32 24 D7 D7 31 25 RDn RDn 62 26 WRn WRn 60 27 CS0n CS0n 18 28 CS1n CS1n 41 29 D8 NC 30 D9 NC 31 D10 NC 32 D11 NC 33 D12 NC 34 D13 NC 35 D14 NC 36 D15 NC 37 A16 A16 46 38 A17 A17 45 39 A18 A18 44 40 A19 A19 43 41 A20 NC 42 A21 NC 43 A22 NC 44 SDCLK NC 45 CS2n NC 46 ALE NC 47 WRHn NC ...

Страница 33: ...ompiler with programs greater than this size you 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 HEW connects to the Microcontroller and programs it via the E10A Mode support is handled transparent...

Страница 34: ...10 5 Memory Map Figure 10 1 Memory Map 32 ...

Страница 35: ...Chapter 11 Component Placement Figure 11 1 Component Placement Front view 33 ...

Страница 36: ...37 Group hardware manual For information about the SH2 7137 assembly language refer to the SH2 Series 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 tools support eu renesas com Japan csc renesas com General information on Renesas Microcontrollers can be found on...

Страница 37: ...anual Publication Date Rev 1 00 14 02 2008 Published by Renesas Technology Europe Ltd Duke s Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH United Kingdom 2008 Renesas Technology Europe and Renesas Solutions Corp All Rights Reserved ...

Страница 38: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan Renesas Starter Kit for SH2 7137 REG10J0109 0100 User s Manual ...

Отзывы: