English
Language : 

M16C6NK Datasheet, PDF (306/404 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
21. Flash Memory Version
21.6 CAN I/O Mode
In CAN I/O mode, the CAN programmer supporting the M16C/6N Group (M16C/6NK, M16C/6NM) 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 21.8 lists pin functions for CAN I/O mode. Figures 21.17 and 21.18 show pin connections for CAN I/O
mode.
21.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 21.2 Functions to Prevent Flash Memory from Rewriting.)
Table 21.8 Pin Functions for CAN I/O Mode
Pin
Name
I/O
Description
VCC1, VCC2, VSS Power supply
Apply the Flash Program, Erase Voltage to VCC1 pin and VCC2 to
input
VCC2 pin. The VCC apply condition is that VCC2 = VCC1. Apply 0
V to VSS pin.
CNVSS
_____________
RESET
CNVSS
Reset input
I Connect to VCC1 pin.
____________
I Reset input pin. While RESET pin is “L” level, input 20 cycles or
longer clock to XIN pin.
XIN
Clock input
I Connect a ceramic resonator or crystal oscillator between XIN and
XOUT
Clock output
O XOUT pins. To input an externally generated clock, input it to XIN
pin and open XOUT pin.
BYTE
BYTE
I Connect this pin to VCC1 or VSS.
AVCC, AVSS
Analog power
Connect AVCC to VCC1 and AVSS to VSS, respectively.
supply input
VREF
Reference
I Enter the reference voltage for A/D and D/A converters from this
voltage input
pin.
P0_0 to P0_7
Input port P0
I Input “H” or “L” level signal or open.
P1_0 to P1_7
Input port P1
I Input “H” or “L” level signal or open.
P2_0 to P2_7
Input port P2
I Input “H” or “L” level signal or open.
P3_0 to P3_7
Input port P3
I Input “H” or “L” level signal or open.
P4_0 to P4_7
P5_0
Input port P4
_____
CE input
I Input “H” or “L” level signal or open.
I Input “H” level signal.
P5_1 to P5_4,
Input port P5
I Input “H” or “L” level signal or open.
P5_6, P5_7
P5_5
________
EPM input
I Input “L” level signal.
P6_0 to P6_4, P6_6 Input port P6
P6_5/CLK1
SCLK input
I Input “H” or “L” level signal or open.
I Input “L” level signal.
P6_7/TXD1
TXD output
O Input “H” level signal.
P7_0 to P7_7
Input port P7
I Input “H” or “L” level signal or open.
P8_0 to P8_3,
Input port P8
I Input “H” or “L” level signal or open.
P8_6, P8_7
P8_4
_______
P8_5/NMI
P8_4 Input
________
NMI input
I Input “L” level signal. (1)
I Connect this pin to VCC1.
P9_0 to P9_4, P9_7 Input port P9
I Input “H” or “L” level signal or open.
P9_5/CRX0
CRX input
I Connect to a CAN transceiver.
P9_6/CTX0
CTX output
O Connect to a CAN transceiver.
P10_0 to P10_7
P11_0 to P11_7 (2)
P12_0 to P12_7 (2)
P13_0 to P13_7 (2)
Input port P10
Input port P11
Input port P12
Input port P13
I Input “H” or “L” level signal or open.
I Input “H” or “L” level signal or open.
I Input “H” or “L” level signal or open.
I Input “H” or “L” level signal or open.
P14_0, P14_1 (2)
Input port P14 I Input “H” or “L” level signal or open.
NOTES:
1. When using CAN I/O mode, the P0_0 to P0_7, P1_0 to P1_7 pins may become indeterminate while the P8_4 pin
____________
is “H” and the RESET pin is “L”. If this causes a problem, apply “L” to the P8_4 pin.
2. The pins P11 to P14 are only in the 128-pin version.
Rev.2.00 Nov 28, 2005 page 288 of 378
REJ09B0124-0200