REG10J0017-0200
Renesas Starter Kit
RSKM16C6NK User’s Manual
RENESAS SINGLE-CHIP MICROCOMPUTER
M16C FAMILY
Rev.2.00
Revision date:30.OCT.2007
Renesas Technology Europe Ltd.
i
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 1. Preface
Cautions
This document may be, wholly or partially, subject to change without notice.
All rights reserved. Duplication of this document, either in whole or part is prohibited 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 Solutions Corporation. 2007. All rights reserved.
© Renesas Technology Corporation. 2007. All rights reserved.
Website:
Glossary
CPU
HEW
LED
PC
Central Processing Unit
High-performance Embedded Workshop
Light Emitting Diode
RTE
RSO
RSK
E8a
Renesas Technology Europe Ltd.
Renesas Solutions Organisation.
Renesas Starter Kit
Program Counter
E8a On-chip debugger module
1
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 2. Purpose
This RSK is an evaluation tool for Renesas microcontrollers.
Features 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
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 3. Power Supply
3.1. Requirements
This RSK operates from a 5V power supply.
A diode provides reverse polarity protection only if a current limiting power supply is used.
RSK boards are supplied with an E8a debugger module. This product is able to power the RSK board with up to 300mA. When the RSK is
connected to another system then that system should supply power 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 powering up the board the user LEDs will start to flash. After 200 flashes, or after pressing a switch the LEDs
will flash at a rate controlled by the potentiometer.
3
Download from Www.Somanuals.com. All Manuals Search And Download.
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
115.00mm
86.36mm
Short Board = 85 mm
Corners x4
50.80 mm
3mm
43.18 mm
radius
35.56 mm
27.00mm
SW
1
SW
2
SW
3
POT
JA2
JA6
Other
E8
J1 - Applies to connector
with micriocontroller pin1
J4
J2
MCU
J3
Serial D9
SKT
JA5
JA1
R
E
S
45.00mm
Figure 4-2 : Board Dimensions
5
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 5. Block Diagram
Figure 5-1 is representative of the CPU board components and their connectivity.
Power Jack Option
LCD
Boot mode pins
Boot Circuitry
D-type latch
Application Board
Headers
Microcontroller
Microcontroller Pin
Headers
RESn
RESET pin
BOOT & BOOTn signals
IRQ pin
IRQ pin
IRQ pin
Debug Header Option
Serial Connector Option
ADC Input
SW2
SW3
RES
BOOT
Potentiometer
SWITCHES
LEDs
User: 4 LEDS
Power: Green
1Green, 1Orange, 2Red Boot: Orange
Figure 5-1: Block Diagram
Figure 5-2 : RSK Connections
6
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 6. User Circuitry
6.1. Switches
There are four switches located on the RSK. The function of each switch and its connection are shown in Table 6-1.
Switch
RES
Function
Microcontroller
RESn
When pressed the RSK microcontroller is reset.
SW1/BOOT* Connects to an IRQ input for user controls.
The switch is also used in conjunction with the RES switch to place
INT0 Pin18
(Port 8, pin 2)
the device in BOOT mode when not using the E8a module.
Connects to an IRQ line for user controls.
SW2*
SW3*
INT1 Pin17
(Port 8, pin 3)
ADTRG Pin 98
(Port 9, pin 7)
OR
Connects to the ADC trigger input. Option link allows connection to
IRQ line. The option is a pair of 0R links.
INT2 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 LED pin references and their corresponding microcontroller port pin connections.
LED Reference (As shown
Microcontroller Port Pin function
Microcontroller Pin Number
on silkscreen)
LED0
LED1
LED2
LED3
Port 4.0
Port 4.1
Port 4.2
Port 4.3
52
51
50
49
Table 6-2: LED Port
6.3. Potentiometer
A single turn potentiometer is connected to AN0.0 (P10.0) of the microcontroller. This may be used to vary the input analogue voltage value
to this pin between AVCC and Ground.
7
Download from Www.Somanuals.com. All Manuals Search And Download.
6.4. Serial port
The microcontroller programming serial port 1 is connected to the RS232 connector. A serial port can be used by moving option resistors
and fitting the D connector. This can be connected to serial channel 1 if the E8a is disabled from using channel 1; or serial channel 0 while
the E8a is enabled.
Description
Function
Fit For E8a
Remove for
E8a
Fit for
RS232
Remove for
RS232
Fit for
RS232
Remove for
RS232
Channel 0
Channel 0
R68
Channel 1
Channel 1
R69, R13
TxD1
RxD1
CLK1
Programming R13
Serial Port
R68
R44
NA
R69
R68
Programming R12
Serial Port
R47
NA
R44
NA
R44
NA
R47, R12
R14
Programming R14
Serial Port
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
R39
Fit For RS233
Disable
Remove for RS233 Disable
RS232
Disables/Enables
R42
R39
R42
Transceiver U3 RS232
Enable Transceiver
Table 6-4: RS232 enable
An additional serial port is connected to the application headers.
6.5. LCD Module
An LCD module is supplied to be connected to the connector J11. This should be fitted so that the LCD module lies over J3. Care should be
taken to ensure the pins are inserted correctly into J11.The LCD module uses a 4 bit interface to reduce the pin allocation. No contrast
control is provided; this is set by a resistor on the supplied display module. The module supplied with the RSK only supports 5V operation.
8
Download from Www.Somanuals.com. All Manuals Search And Download.
J11
Device Pin
Pin
Pin
Circuit Net Name
Circuit Net Name
Device
Pin
1
3
5
7
9
Ground
-
2
4
6
8
5V Only
DLCDRS
DLCDE
-
No Connection
-
70
69
-
R/W (Wired to Write only)
No Connection
-
-
No Connection
No Connection
-
10 No Connection
12 DLCD5
-
11 DLCD4
13 DLCD6
66
64
65
63
14 DLCD7
Table 6-5: LCD Module Connections
6.6. Option Links
Table 6-6 below describes the function of the option links associated with Power configuration. The default configuration is indicated by
BOLD text.
Option Link Settings
Reference
Function
Board VCC
Fitted
Alternative (Removed)
Fit Low ohm resistor to measure
current
Related To
R9
Supply to board from J5
R32
R33
R25
R28
R23
R26
R29
R24
Microcontroller
VCC1
Supply to microcontroller
VCC1
Fit Low ohm resistor to measure R33
current
Microcontroller
VCC2
Supply to microcontroller
VCC2
Fit Low ohm resistor to measure R32
current
Board VCC1
Board VCC1 connected to
Connector 3V3
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
R23,28
Board VCC1
Board VCC1
Board VCC2
Board VCC2
Board VCC2
Board VCC1 connected to
Connector 5V
R23,R25
R25,R28
R24,29
Board VCC1 connected to
Connector J5
Board VCC2 connected to
Connector 3V3
Board VCC2 connected to
Connector 5V
R24,R26
R26,R29
Board VCC2 connected to
Connector J5
Table 6-6: Power Configuration Links
9
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 6-7 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
R100
R96
External Oscillator Connects External Ring header Disconnects sensitive
pins to Microcontroller
microcontroller signals from
external pins.
R100
External Oscillator Connects External Ring header Disconnects sensitive
R96
pins to Microcontroller
microcontroller signals from
external pins.
R97
External Oscillator Parallel resistor for crystal
Not fitted
R103
External Subclock Connects External Ring header Disconnects sensitive
R105
R103
Oscillator
pins to Microcontroller
microcontroller signals from
external pins.
R105
R106
External Subclock Connects External Ring header Disconnects sensitive
Oscillator
pins to Microcontroller
microcontroller signals from
external pins.
External Subclock Parallel resistor for crystal
Oscillator
Not fitted
Table 6-7: Clock Configuration Links
10
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 6-8 below describes the function of the option links associated with Serial configuration. The default configuration is indicated by
BOLD text.
Option Link Settings
Reference
Function
Programming
Serial Port
Fitted
Alternative (Removed)
Related To
R14
Connects SCK to E8a
SCK disconnected from E8a
R12
R13
R44
R68
R42
R39
R41
R40
R55
R50
R72
R49
R69
R47
Programming
Serial Port
Connects E8a to
MUST be removed if R44 fitted. R44
Should be removed if R68 fitted. R68
Programming Serial port.
Connects E8a to
Programming
Serial Port
Programming Serial port.
Connects RS232 port to
Programming SCI port
Connects RS232 port to
Programming SCI port
Enables RS232 Serial
Transceiver
Programming
Serial Port
MUST be removed if R12, R47 R12, R47, R49
or R49 fitted.
Programming
Serial Port
MUST be removed if R13, R69 R13, R69, R72
or R72 fitted.
RS232 Driver
MUST be removed if R39
Fitted
R39
RS232 Driver
Disables RS232 Serial
Transceiver
MUST be removed if R42 Fitted R42
Serial Connector
Serial Connector
Alternate Serial
Alternate Serial
RS232 Serial on
Connects Alternate serial (CH2) Disconnects Alternate serial
to D connector
from D connector.
Connects Alternate serial (CH2) Disconnects Alternate serial
to D connector
from D connector.
Connects Alternate Serial (CH2 Should be removed if SCIb
- SCIb) to RS232 Transceiver
not used for RS232.
Connects Alternate Serial (CH2 Should be removed if SCIb
- SCIb) to RS232 Transceiver
not used for RS232.
Connects Application Header to MUST be removed if R68 or
R69 fitted.
Connects Application Header to MUST be removed if R44 or
R40
R41
R50
R55
R68, R69
R44, R47
R68, R72
R44, R49
Application Header RS232 Transceiver
RS232 Serial on
Application Header RS232 Transceiver
R47 fitted.
RS232 Serial on
SCIa CH0
Connects Serial Channel 0 to
MUST be removed if R68 or
R72 fitted.
RS232 Transceiver
RS232 Serial on
SCIa CH0
Connects Serial Channel 0 to
RS232 Transceiver
MUST be removed if R44 or
R49 fitted.
Table 6-8: Serial Configuration Links
11
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 6-9 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)
Analogue supply MUST be
provided from external interface
pins. (Fit R43)
Related To
JA1,R43
R31
Analogue Power
Connects Board VCC1
supply to Analogue supply
R43
Analogue Power
VREF
Connects AVCC supply to
Application headers
R31 must be fitted
R31
R109
Connects Board VCC1
supply to VREF
VREF can be provided from
external interface pins. (Fit
R110)
JA1,R110
R110
VREF
VREF to Application headers
R109 should be fitted
R109
Table 6-9: Analog Configuration Links
Table 6-10 below describes the function of the option links associated with microcontroller pin function select configuration. The default
configuration is indicated by BOLD text.
12
Download from Www.Somanuals.com. All Manuals Search And Download.
Option Link Settings
Fitted
Reference
Function
Alternative (Removed)
Related To
R82
Microcontroller pin Connects microcontroller pin MUST be removed if R80 fitted. R80
function select
28 to IICSDA
Microcontroller pin Connects microcontroller pin 28 Should be removed if R82
function select to TXD2 pin fitted.
Microcontroller pin Connects microcontroller pin MUST be removed if R80 fitted. R76
function select
27 to IICSCL
Microcontroller pin Connects microcontroller pin 27 Should be removed if R78
function select to RXD2 fitted.
Microcontroller pin Connects microcontroller pin MUST be removed if R115
function select fitted.
95 to ADPOT
Microcontroller pin Connects microcontroller pin 95 Should be removed if R114
function select to AN0 fitted.
Microcontroller pin Connects microcontroller pin 44 MUST be removed if R61
function select to Wrn pin
fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R60 fitted. R60
function select
44 to WRLn pin
Microcontroller pin Connects microcontroller pin 20 MUST be removed if R93
function select to TA4OUT pin fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R94 fitted. R94
function select
20 to Up pin
Microcontroller pin Connects microcontroller pin 19 MUST be removed if R92
function select to TA4IN pin fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R92 fitted. R92
function select
19 to Un pin
Microcontroller pin Connects microcontroller pin 26 MUST be removed if R83
function select to CLK2 pin
fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R84 fitted. R92
function select
26 to Vp pin
Microcontroller pin Connects microcontroller pin 24 MUST be removed if R85
function select to TA2OUT pin fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R87 fitted. R85
function select
24 to Wp pin
Microcontroller pin Connects microcontroller pin 23 MUST be removed if R86
function select to TA2IN pin fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R88 fitted. R88
function select
23 to Wn pin
R80
R78
R76
R114
R115
R60
R61
R94
R93
R92
R90
R84
R83
R87
R85
R88
R86
R82
R78
R115
R114
R61
R93
R90
R90
R87
R86
13
Download from Www.Somanuals.com. All Manuals Search And Download.
Option Link Settings
Fitted
Reference
Function
Alternative (Removed)
Related To
R130
R128
Microcontroller pin Connects microcontroller pin 47 MUST be removed if R130
function select to A21 pin fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R128
function select fitted.
47 to CS2N pin
Microcontroller pin Connects microcontroller pin 46 MUST be removed if R116
function select to A22 pin fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R118
function select fitted.
46 to CS1N pin
Microcontroller pin Connects microcontroller pin 90 MUST be removed if R129
function select to AN4 pin
fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R131
function select fitted.
90 to CAN0 EN pin
Microcontroller pin Connects microcontroller pin 89 MUST be removed if R117
function select to AN5 pin
fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R119
function select fitted.
89 to CAN0 STBn pin
Microcontroller pin Connects microcontroller pin 88 MUST be removed if R66
function select to AN6 pin
fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R67
function select fitted.
88 to CAN1 EN pin
Microcontroller pin Connects microcontroller pin 87 MUST be removed if R46
function select to AN7 pin
fitted.
Microcontroller pin Connects microcontroller pin Should be removed if R45 fitted. R45
R130
R118
R116
R131
R129
R117
R119
R67
R128
R116
R118
R129
R131
R119
R117
R66
R66
R67
R45
R46
R46
function select
87 to CAN1 STBn pin
Table 6-10: MCU Pin Function Select Configuration Links
Table 6-11 below describes the function of the option links associated with other options. The default configuration is indicated by BOLD
text.
Option Link Settings
Reference
Function
Fitted
Alternative (Removed)
Disconnected
Related To
R34
R35
SW3
Connects SW3 to Analogue
Trigger input
R34
SW3
Connects SW3 to INT2 input
Disconnected
R35
Table 6-11: Other Option Links
14
Download from Www.Somanuals.com. All Manuals Search And Download.
6.7.Oscillator Sources
A crystal oscillator is fitted on the RSK and used to supply the main clock input to the Renesas microcontroller. Table 6-12 details the
oscillators that are fitted and alternative footprints provided on this RSK:
Component
Crystal (X1)
Fitted
10MHz (HC/49U
package)
Subclock (X2) Fitted
32.768kHz (90SMX
package)
Table 6-12: Oscillators / Resonators
6.8. Reset Circuit
The CPU Board includes a simple latch circuit that links the mode selection and reset circuit. This provides an easy method for swapping
the device between Boot Mode, User Boot Mode and User mode. This circuit is not required on customers boards as it is intended for
providing easy evaluation of the operating modes of the device on the RSK. Please refer to the hardware manual for more information
on the requirements of the reset circuit.
The Reset circuit operates by latching the state of the boot switch on pressing the reset button. This control is subsequently used to
modify the mode pin states as required.
The mode pins should change state only while the reset signal is active to avoid possible device damage.
The reset is 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.
15
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 7. Modes
The RSK supports Boot mode and Single chip mode.
Details of programming the FLASH memory is described in the M16C/6NK Group Hardware Manual.
7.1. Boot mode
CNVSS P5.0 P5.5
LSI State after Reset
End
Boot Mode
1
1
0
Table 7-1: Boot Mode pin settings
The software supplied with this RSK only supports Boot mode using an E8a and HEW. However, hardware exists to enter boot mode
manually, do not connect the E8a in this case. Press and hold the SW1/BOOT. The mode pins above 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.
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 E8a is used these three pins are controlled by the E8a.
7.2. Single chip mode
This RSK is configured to always boot in Single Chip mode when the E8a is not connected and the boot switch is not depressed as CNVSS
is pulled down by a 100k resistor. Refer to M16C/6NK Group Hardware Manual for details of Single chip mode.
CNVSS P5.0 P5.5
LSI State after Reset
End
Single Chip Mode
0
1
1
Table 7-2: Single Chip Mode pin settings
16
Download from Www.Somanuals.com. All Manuals Search And Download.
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 pins. * Marked pins are subject to option links.
J1
Pin
Circuit Net Name
Device Pin
Pin
Circuit Net Name
Device
Pin
100
2
1
3
5
7
9
CAN1OUT
DA1
99
1
2
4
6
8
CAN1IN
DA0
TXD2
3
RXD2
BYTE
4
CLK3
5
6
E8_CNVSS
7
10 CON_XCIN
12 RESn
8
11 CON_XCOUT
13 CON_XOUT
15 CON_XIN
17 NMIn
9
10
12
14
16
18
20
22
24
26
28
11
13
15
17
19
21
23
25
27
14 GROUND
16 UC_VCC1
18 INT2
19 INT1
20 INT0
21 TA4IN_Un*
23 CAN0IN
25 TA2IN_Wn
27 Vn
22 TA4OUT_Up*
24 CAN0OUT
26 TA2OUT_Wp*
28 CLK2_Vp*
29 IIC_SCL_RXD2*
30 IICSDA_TXD2*
Table 9-1: J1
J2
Pin
Circuit Net Name
Device Pin
Pin
Circuit Net Name
Device
Pin
30
1
3
5
7
9
PTTX
PTCK
TXD0
CLK0
RDY
29
31
33
35
37
39
41
43
45
47
2
4
6
8
PTRX
E8_BUSY
RXD0
32
34
CTSRTS
36
10 ALE
38
11 E8_EPM
13 TRSTn
12 UD
40
14 RDn
42
15 WRHn
16 WRLn_WRn
18 A22_CS1n
20 A20_CS3n
44
17 A23n_CS0n
19 A21_CS2n
46
48
Table 9-2: J2
18
Download from Www.Somanuals.com. All Manuals Search And Download.
J3
Pin
Circuit Net Name
Device
Pin
49
Pin
Circuit Net Name
Device
Pin
50
1
A19_LED3
A17_LED1
A15_IO7
A13_IO5
A11_IO3
A9_IO1
2
A18_LED2
3
51
2
6
8
A16_LED0
A14_IO6
A12_IO4
A10_IO2
UC_VCC2
GROUND
A6_DLCD6
A4_DLCD4
A2
52
5
53
54
7
55
56
9
57
10
12
14
16
18
20
22
24
26
28
30
58
11
13
15
17
19
21
23
25
27
29
59
60
A8_IO0
61
62
A7_DLCD7
A5_DLCD5
A3
63
64
65
66
67
68
A1_DLCDE
D15
69
A0_DLCDRS
D14
70
71
72
D13
73
D12
74
D11
75
D10
76
D9
77
D8
78
Table 9-3: J3
J4
Pin
Circuit Net Name
Device
Pin
79
Pin
Circuit Net Name
Device
Pin
80
1
D7
2
4
6
8
D6
D4
D2
D0
3
D5
81
82
5
D3
83
84
7
D1
85
86
9
AN7_CAN1STBn
AN5_CAN0STBn
AN3
87
10
12
14
16
18
20
AN6_CAN1EN
AN4_CAN0EN
AN2
88
11
13
15
17
19
89
90
91
92
AN1
94
AVss
94
ADPOT_AN0
CON_AVCC
96
CON_AVREF
ADTRG
96
97
99
Table 9-4: J4
19
Download from Www.Somanuals.com. All Manuals Search And Download.
9.2. Application Headers
Table 9-5 and Table 9-6 below show the standard application connections. * Marked pins are subject to option links.
JA1
Pin Generic Header Name
RSK Signal
Name
Device
Pin
Pin
Header Name
RSK Signal
Name
Device
Pin
1
Regulated Supply 1
Regulated Supply 2
Analogue Supply
5V
2
Regulated Supply 1
Regulated Supply 2
Analogue Supply
ADTRG
GROUND
GROUND
AVss
3
3V3
4
5
AVcc
97
6
94
7
Analogue Reference
AVref
96
95
92
2
8
ADTRG
AN1
98
93
91
1
9
ADC0
I0
I2
ADPot_AN0*
AN2
10
12
14
16
18
20
22
24
26
ADC1
ADC3
DAC1
IOPort
IOPort
IOPort
IOPort
I1
I3
11
13
15
17
19
21
23
25
ADC2
AN3
DAC0
DA0
DA1
IOPort
IOPort
IOPort
IOPort
Interrupt
I²C Bus
A8_IO_0
A10_IO_2
A12_IO_4
A14_IO_6
61
58
56
54
73
28
A9_IO_1
A11_IO_3
A13_IO_5
A15_IO_7
NC
59
57
55
53
-
IRQAEC D13_INT3
IIC_SDA*
I²C Bus - (3rd pin)
I²C Bus
IIC_SCL*
27
Table 9-5: JA1 Standard Generic Header
JA2
Pin
Header Name
RSK Signal
Name
RESn
Device
Pin
Pin
Header Name
RSK Signal
Name
EXTAL
Vss1
Device
Pin
1
Reset
10
2
External Clock Input
Regulated Supply 1
Serial Port
-
3
Interrupt
SPARE
Interrupt
Interrupt
Motor control
Motor control
Output
NMIn
-
15
-
4
5
6
TxD0
33
34
35
36
19
25
23
20
19
41
7
INT0
INT1
UD
18
17
40
20
26
24
23
20
16
8
Serial Port
RxD0
9
10
12
14
16
18
20
22
24
26
Serial Port
CLK0
11
13
15
17
19
21
23
25
Serial Port Handshake
Motor control
Motor control
Motor control
Output
CTSRTS
Un*
Up*
Vp*
Vn
Input
Wp*
TA2OUT*
TA2IN*
INT2
-
Wn*
Output
TA4OUT
TA4IN
TRSTn
-
Input
Input
Open drain
SPARE
Tristate Control
SPARE
Table 9-6: JA2 Standard Generic Header
20
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 9-7 to Table 9-9 below show the optional generic header connections. * Marked pins are subject to option links.
JA3
Pin
Header Name
RSK Signal
Name
Device
Pin
Pin
Header Name
RSK Signal
Name
Device
Pin
1
A0
A0
70
2
A1
A1
69
3
A2
A2
68
66
64
61
58
56
54
86
84
82
80
42
45
78
76
74
72
52
50
48
46
47
43
---
4
A3
A3
67
65
63
59
57
55
53
85
83
81
79
44
46
77
75
73
71
51
49
47
---
38
44
---
5
A4
A4
6
A5
A5
7
A6
A6
8
A7
A7
9
A8
A8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
A9
A9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49
A10
A12
A14
D0
A10
A12
A14
D0
A11
A13
A15
D1
A11
A13
A15
D1
D2
D2
D3
D3
D4
D4
D5
D5
D6
D6
D7
D7
RDn
RDn
A23_CS0n
D8
WRn
CSbn
D9
WRn
CS1n
D9
CSan
D8
D10
D10
D12
D14
A16
A18
A20
A22
CS2n
WRHn
---
D11
D13
D15
A15
A19
A21
D11
D13
D15
A15
A19
A21
---
D12
D14
A16
A18
A20
A22
SDCLK
ALE
CScn
HWRn
CASn
ALE
WRLn
---
LWRn
RASn
Table 9-7: JA3 Optional Generic Header
21
Download from Www.Somanuals.com. All Manuals Search And Download.
JA5
Pin
Pin
Header Name
RSK Signal
Name
Device
Pin
Header Name
RSK Signal
Name
Device
Pin
1
ADC4
I4
I6
AN4*
90
2
ADC5
ADC7
CAN
CAN
I5
I7
AN5*
89
3
ADC6
AN6*
88
22
99
4
AN7*
97
5
CAN
CAN0OUT
CAN1OUT
6
CAN0IN
CAN1IN
21
7
CAN
8
100
9
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
10
12
14
16
18
20
22
24
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
11
13
15
17
19
21
23
Table 9-8: JA5 Optional Generic Header.
JA6
Pin
Header Name
RSK Signal Device
Name Pin
Pin
Header Name
RSK Signal
Name
DACK
Device
Pin
1
DMA
DMA
---
---
---
---
27
3
2
DMA
--
3
---
4
Standby (Open drain)
Host Serial SCIdRX
Serial Port
STBYn
RS232RX
TxD2*
---
---
28
26
4
5
Host Serial
Serial Port
SCIdTX
RS232TX
RXD2*
TXD3*
CLK3
6
7
8
9
Serial Port Synchronous
Serial Port Synchronous
Reserved
10
12
14
16
18
20
22
24
26
Serial Port
CLK2
11
13
15
17
19
21
23
25
5
Serial Port
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Synchronous
RxD3*
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Table 9-9: JA6 Optional Generic Header
22
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 9-10 below shows the CAN connections
J14
Pin
1
Function
CAN0 Positive
Signal Name
Device Pin
CAN0H
21
22
2
GROUND
3
CAN0 Negative
CAN0L
J15
Pin
1
Function
Signal Name
Device Pin
CAN1 Positive
GROUND
CAN1H
CAN1L
100
2
3
CAN1 Negative
99
Table 9-10: CAN Headers
23
Download from Www.Somanuals.com. All Manuals Search And Download.
Chapter 10. Code Development
10.1. Overview
Note: For all code debugging using Renesas software tools, the RSK board must be connected to a PC USB port via an E8a. An E8a is
supplied with 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.
24
Download from Www.Somanuals.com. All Manuals Search And Download.
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 from the web
site.
For information about the M16C/6NK series microcontrollers refer to the M16C/6NKGroup Hardware Manual
For information about the M16C/6NK assembly language, refer to the M16C SeriesSoftware Manual.
Online technical support and information is available at: http://www.renesas.com/renesas_starter_kits
Technical Contact Details
Europe: [email protected]
Japan:
General information on Renesas Microcontrollers can be found on the Renesas website at: http://www.renesas.com/
27
Download from Www.Somanuals.com. All Manuals Search And Download.
Renesas Starter Kit for M16C/6NK
User's Manual
Publication Date Rev.02.00 30.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.
Download from Www.Somanuals.com. All Manuals Search And Download.
Renesas Starter Kit for M16C/6NK
User's Manual
Renesas Technology Europe Ltd.
Duke’s Meadow, Millboard Road, Bourne End
Buckinghamshire SL8 5FH, United Kingdom
Download from Www.Somanuals.com. All Manuals Search And Download.
|