Renesas M16C/6NL Computer Hardware User Manual


 
Rev.1.02 Jul 01, 2005 page 262 of 314
REJ09B0126-0102
M16C/6N Group (M16C/6NL, M16C/6NN) 20. Flash Memory Version
Under development
This document is under development and its contents are subject to change.
20.6 CAN I/O Mode
In CAN I/O mode, the CAN programmer supporting the M16C/6N Group (M16C/6NL, M16C/6NN) can be
used to rewrite the flash memory user ROM area in the microcomputer mounted on a board. For more
information about the CAN programmer, contact your CAN programmer manufacturer. Refer to the user's
manual included with your CAN programmer for instructions.
Table 20.8 lists pin functions for CAN I/O mode. Figures 20.17 and 20.18 show pin connections for CAN I/O
mode.
20.6.1 ID Code Check Function
The ID code check function determines whether the ID codes sent from the CAN programmer matches
those written in the flash memory. (Refer to 20.2 Functions to Prevent Flash Memory from Rewriting.)
Table 20.8 Pin Functions for CAN I/O Mode
Apply the voltage guaranteed for Program and Erase to VCC1 pin
and VCC2 to VCC2 pin. The VCC apply condition is that VCC2 =
VCC1. Apply 0 V to VSS pin.
Connect to VCC1 pin.
____________
Reset input pin. While RESET pin is L level, input 20 cycles or
longer clock to XIN pin.
Connect a ceramic resonator or crystal oscillator between XIN and
XOUT pins. To input an externally generated clock, input it to XIN
pin and open XOUT pin.
Connect this pin to VCC1 or VSS.
Connect AVCC to VCC1 and AVSS to VSS, respectively.
Enter the reference voltage for A/D and D/A converters from this
pin.
Input H or L level signal or open.
Input H or L level signal or open.
Input H or L level signal or open.
Input H or L level signal or open.
Input H or L level signal or open.
Input H level signal.
Input H or L level signal or open.
Input L level signal.
Input H or L level signal or open.
Input L level signal.
Input H level signal.
Input H or L level signal or open.
Input H or L level signal or open.
Connect this pin to VCC1.
Input H or L level signal or open.
Connect to a CAN transceiver.
Connect to a CAN transceiver.
Input H or L level signal or open.
Input H or L level signal or open.
Input H or L level signal or open.
Input H or L level signal or open.
Input H or L level signal or open.
VCC1, VCC2, VSS
CNVSS
_____________
RESET
XIN
XOUT
BYTE
AVCC, AVSS
VREF
P0_0 to P0_7
P1_0 to P1_7
P2_0 to P2_7
P3_0 to P3_7
P4_0 to P4_7
P5_0
P5_1 to P5_4,
P5_6, P5_7
P5_5
P6_0 to P6_4, P6_6
P6_5/CLK1
P6_7/TXD1
P7_0 to P7_7
P8_0 to P8_4,
P8_6, P8_7
_______
P8_5/NMI
P9_0 to P9_4, P9_7
P9_5/CRX0
P9_6/CTX0
P10_0 to P10_7
P11_0 to P11_7
(1)
P12_0 to P12_7 (1)
P13_0 to P13_7 (1)
P14_0, P14_1 (1)
I
I
I
O
I
I
I
I
I
I
I
I
I
I
I
I
O
I
I
I
I
I
O
I
I
I
I
I
Pin Name I/O
Description
Power supply
input
CNVSS
Reset input
Clock input
Clock output
BYTE
Analog power
supply input
Reference
voltage input
Input port P0
Input port P1
Input port P2
Input port P3
Input port P4
_____
CE input
Input port P5
________
EPM input
Input port P6
SCLK input
TXD output
Input port P7
Input port P8
________
NMI input
Input port P9
CRX input
CTX output
Input port P10
Input port P11
Input port P12
Input port P13
Input port P14
NOTE:
1. The pins P11 to P14 are only in the 128-pin version.