background image

REG10J0010-0300

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

Renesas Starter Kit

RSKM32C87 User’s Manual

RENESAS SINGLE-CHIP MICROCOMPUTER 

M32C FAMILY 

 

 
 
 

 

 
 
 
 
 

 

 
 
 

Rev.03.00   

Renesas Technology Europe Ltd.

Revision date

25.OCT.2007

 www.renesas.com

 

Summary of Contents for RSKM32C87

Page 1: ...REG10J0010 0300 Renesas Starter Kit RSKM32C87 User s Manual RENESAS SINGLE CHIP MICROCOMPUTER M32C FAMILY Rev 03 00 Renesas Technology Europe Ltd Revision date 25 OCT 2007 www renesas com i ...

Page 2: ...3 Potentiometer 7 6 4 Serial port 8 6 5 LCD Module 9 6 6 Option Links 10 6 7 Oscillator Sources 14 6 8 Reset Circuit 14 Chapter 7 Modes 15 7 1 Boot mode 15 7 2 Single chip mode 15 Chapter 8 Programming Methods 16 Chapter 9 Headers 17 9 1 Microcontroller Headers 17 9 2 Application Headers 19 Chapter 10 Code Development 23 10 1 Overview 23 10 2 Mode Support 23 10 3 Breakpoint Support 23 10 4 Memory ...

Page 3: ...ed 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 Website http www renesas eu Glossary CPU Central Processing Unit RTE Renesas Technology Europe Ltd HEW High performance Embedded Workshop RSO Renesas Solutions Organisation LED Light Emit...

Page 4: ...atures include Renesas Microcontroller Programming User Code Debugging User Circuitry such as Switches LEDs and potentiometer s User or Example Application Sample peripheral device initialisation code The RSK board contains all the circuitry required for microcontroller operation 2 ...

Page 5: ...ower to the RSK All RSK boards have an optional centre positive supply connector using a 2 1mm 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 po...

Page 6: ...Chapter 4 Board Layout 4 1 Component Layout The following diagram shows the top layer component layout of the board Figure 4 1 Board Layout 4 ...

Page 7: ...plication Header Expansion Bus Application Header LCD RING SW 1 SW 2 SW 3 R E S POT 120 00mm 100 00mm E8 Other Short Board 85 mm 35 56 mm Serial D9 SKT 115 00mm 14 00mm 86 36mm 85 00mm 80 01mm 3 81mm 5 00mm 50 80 mm 27 00mm 43 18 mm 45 00mm Corners x4 3mm radius JA1 JA2 JA3 JA4 JA6 JA5 J1 Applies to connector with micriocontroller pin1 J2 J4 J3 Figure 4 2 Board Dimensions 5 ...

Page 8: ...controller Pin Headers D type latch RESn RESET pin BOOT RES SWITCHES IRQ pin Power Jack Option SW3 SW2 Boot Circuitry BOOT BOOTn signals Power Green Boot Orange LEDs Boot mode pins Debug Header Option LCD IRQ pin IRQ pin ADC Input Serial Connector Option Figure 5 1 Block Diagram Error Reference source not found is representative of the connections required to the RSK Figure 5 2 RSK Connections 6 ...

Page 9: ...Pin16 Port 8 pin 4 Table 6 1 Switch Functions Refer to schematic for detailed connectivity 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 ...

Page 10: ... RS232 Channel 1 Remove for RS232 Channel 1 TxD1 Programming Serial Port R13 R68 R69 R68 R68 R69 R13 RxD1 Programming Serial Port R12 R44 R47 R44 R44 R47 R12 CLK1 Programming Serial Port R14 NA NA NA NA R14 Table 6 3 Serial port connections If a serial port is used the D connector U3 must be fitted and the RS232 transceiver enabled Description Function Fit For RS233 Enable Remove for RS233 Enable ...

Page 11: ...rovided this is set by a resistor on the supplied display module The module supplied with the RSK only supports 5V operation Table 6 5 shows the pin allocation and signal names used on this connector J11 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 Ground 2 5V Only 3 No Connection 4 DLCDRS 70 5 R W Wired to Write only 6 DLCDE 69 7 No Connection 8 No Connection 9 No Connection ...

Page 12: ...Alternate serial CH2 to D connector Disconnects Alternate serial from D connector R40 R40 Serial Connector Connects Alternate serial CH2 to D connector Disconnects Alternate serial from D connector R41 R55 Alternate Serial Connects Alternate Serial CH2 SCIb to RS232 Transceiver Should be removed if SCIb not used for RS232 R50 R50 Alternate Serial Connects Alternate Serial CH2 SCIb to RS232 Transce...

Page 13: ...om J5 Fit Low ohm resistor to measure current R32 Microcontroller VCC1 Supply to microcontroller VCC1 Fit Low ohm resistor to measure current R33 R33 Microcontroller VCC2 Supply to microcontroller VCC2 Fit Low ohm resistor to measure current R32 R25 Board VCC1 Board VCC1 connected to Connector 3V3 Disconnected R23 28 R28 Board VCC1 Board VCC1 connected to Connector 5V Disconnected R23 R25 R23 Boar...

Page 14: ...roller pin function select Connects microcontroller pin 95 to AN0 Should be removed if R114 fitted R114 R60 Microcontroller pin function select Connects microcontroller pin 44 to Wrn pin MUST be removed if R61 fitted R61 R61 Microcontroller pin function select Connects microcontroller pin 44 to WRLn pin Should be removed if R60 fitted R60 R94 Microcontroller pin function select Connects microcontr...

Page 15: ...er pin 46 to CS1N pin Should be removed if R118 fitted R118 R131 Microcontroller pin function select Connects microcontroller pin 90 to AN4 pin MUST be removed if R129 fitted R129 R129 Microcontroller pin function select Connects microcontroller pin 90 to CAN0 EN pin Should be removed if R131 fitted R131 R117 Microcontroller pin function select Connects microcontroller pin 89 to AN5 pin MUST be re...

Page 16: ...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 mo...

Page 17: ... released Release the boot button The BOOT LED will be illuminated to indicate that the microcontroller is in boot mode When neither the E8a is connected nor the board is placed in boot mode with CNVSS and P5 5 being pulled low during reset as above the P5 5 pin is pulled high by a 10k resistor the P 5 0 pin is pulled high by a 100k resistor and the CNVSS is pulled low by a 100k resistor When an E...

Page 18: ...8 Programming Methods The board is intended for use with HEW and the supplied E8a debugger Refer to the M32C 87 Group Hardware Manual for details of programming the microcontroller without using these tools 16 ...

Page 19: ...10 CON_XCIN 8 11 CON_XCOUT 9 12 RESn 10 13 CON_XOUT 11 14 GROUND 12 15 CON_XIN 13 16 UC_VCC1 14 17 NMIn 15 18 INT2 16 19 INT1 17 20 INT0 18 21 TA4IN_Un 19 22 TA4OUT_Up 20 23 CAN0IN 21 24 CAN0OUT 22 25 TA2IN_Wn 23 26 TA2OUT_Wp 24 27 Vn 25 28 CLK2_Vp 26 29 IIC_SCL_RXD2 27 30 IICSDA_TXD2 28 Table 9 1 J1 J2 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 PTTX 29 2 PTRX 30 3 PTCK 31 4...

Page 20: ...17 A5_DLCD5 65 18 A4_DLCD4 66 19 A3 67 20 A2 68 21 A1_DLCDE 69 22 A0_DLCDRS 70 23 D15 71 24 D14 72 25 D13 73 26 D12 74 27 D11 75 28 D10 76 29 D9 77 30 D8 78 Table 9 3 J3 J4 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 D7 79 2 D6 80 3 D5 81 4 D4 82 5 D3 83 6 D2 84 7 D1 85 8 D0 86 9 AN7_CAN1STBn 87 10 AN6_CAN1EN 88 11 AN5_CAN0STBn 89 12 AN4_CAN0EN 90 13 AN3 91 14 AN2 92 15 AN1 9...

Page 21: ...ort A13_IO_5 55 21 IOPort A14_IO_6 54 22 IOPort A15_IO_7 53 23 Interrupt IRQAEC D13_INT3 73 24 I C Bus 3rd pin NC 25 I C Bus IIC_SDA 28 26 I C Bus IIC_SCL 27 Table 9 5 JA1 Standard Generic Header JA2 Pin Header Name RSK Signal Name Device Pin Pin Header Name RSK Signal Name Device Pin 1 Reset RESn 10 2 External Clock Input EXTAL 3 Interrupt NMIn 15 4 Regulated Supply 1 Vss1 5 SPARE 6 Serial Port T...

Page 22: ... A12 A12 56 14 A13 A13 55 15 A14 A14 54 16 A15 A15 53 17 D0 D0 86 18 D1 D1 85 19 D2 D2 84 20 D3 D3 83 21 D4 D4 82 22 D5 D5 81 23 D6 D6 80 24 D7 D7 79 25 RDn RDn 42 26 WRn WRn 44 27 CSan A23_CS0n 45 28 CSbn CS1n 46 29 D8 D8 78 30 D9 D9 77 31 D10 D10 76 32 D11 D11 75 33 D12 D12 74 34 D13 D13 73 35 D14 D14 72 36 D15 D15 71 37 A16 A16 52 38 A15 A15 51 39 A18 A18 50 40 A19 A19 49 41 A20 A20 48 42 A21 A...

Page 23: ...ed Table 9 8 JA5 Optional Generic Header JA6 Pin Header Name RSK Signal Name Device Pin Pin Header Name RSK Signal Name Device Pin 1 DMA 2 DMA DACK 3 DMA 4 Standby Open drain STBYn 5 Host Serial SCIdTX RS232TX 6 Host Serial SCIdRX RS232RX 7 Serial Port RXD2 27 8 Serial Port TxD2 28 9 Serial Port Synchronous TXD3 3 10 Serial Port CLK2 26 11 Serial Port Synchronous CLK3 5 12 Serial Port Synchronous ...

Page 24: ...nnections J14 Pin Function Signal Name Device Pin 1 CAN0 Positive CAN0H 21 2 GROUND 3 CAN0 Negative CAN0L 22 J15 Pin Function Signal Name Device Pin 1 CAN1 Positive CAN1H 100 2 GROUND 3 CAN1 Negative CAN1L 99 Table 9 10 CAN Headers 22 ...

Page 25: ...th the RSK product 10 2 Mode Support HEW connects to the Microcontroller and programs it via the E8a Mode support is handled transparently to the user 10 3 Breakpoint Support HEW supports breakpoints on the user code both in RAM and ROM Double clicking in the breakpoint column in the code sets the breakpoint Breakpoints will remain unless they are double clicked to remove them 23 ...

Page 26: ...00F000 H 000000 Program RAM E8a Work RAM H 000400 H 00C300 H 00C3FF H F00000 Internal ROM data area External Area Internal ROM program area Program ROM E8a Work ROM Vectors Unused H FFFFFF H FFFE00 H FFF000 H F00000 H FFF7FF H FFFFFF H 010000 Figure 10 1 Memory Map 24 ...

Page 27: ...Chapter 11 Component Placement Figure 11 1 Component Placement 25 ...

Page 28: ... M32C 87Group Hardware Manual For information about the M32C 87 assembly language refer to the M32C 80SeriesSoftware Manual Online technical support and information is available at http www renesas com rsk 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 the Renesa...

Page 29: ...nual Publication Date Rev 03 00 25 OCT 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 ...

Page 30: ...Renesas Starter Kit for M32C 87 User s Manual Renesas Technology Europe Ltd Duke s Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH United Kingdom ...

Reviews: