Can I/O Mode; Id Code Check Function - Renesas M16C/6NK Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)

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
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_3,
P8_6, P8_7
P8_4
_______
P8_5/NMI
P9_0 to P9_4, P9_7
P9_5/CRX0
P9_6/CTX0
P10_0 to P10_7
(2)
P11_0 to P11_7
(2)
P12_0 to P12_7
(2)
P13_0 to P13_7
P14_0, P14_1
(2)
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
REJ09B0124-0200
Name
I/O
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
Connect to VCC1 pin.
I
Reset input
Reset input pin. While RESET pin is "L" level, input 20 cycles or
I
longer clock to XIN pin.
Connect a ceramic resonator or crystal oscillator between XIN and
Clock input
I
XOUT pins. To input an externally generated clock, input it to XIN
Clock output
O
pin and open XOUT pin.
Connect this pin to VCC1 or VSS.
BYTE
I
Connect AVCC to VCC1 and AVSS to VSS, respectively.
Analog power
supply input
Enter the reference voltage for A/D and D/A converters from this
Reference
I
pin.
voltage input
Input "H" or "L" level signal or open.
Input port P0
I
Input "H" or "L" level signal or open.
Input port P1
I
Input "H" or "L" level signal or open.
Input port P2
I
Input "H" or "L" level signal or open.
Input port P3
I
Input "H" or "L" level signal or open.
Input port P4
I
_____
CE input
Input "H" level signal.
I
Input "H" or "L" level signal or open.
Input port P5
I
________
Input "L" level signal.
EPM input
I
Input "H" or "L" level signal or open.
Input port P6
I
Input "L" level signal.
SCLK input
I
Input "H" level signal.
TXD output
O
Input "H" or "L" level signal or open.
Input port P7
I
Input "H" or "L" level signal or open.
Input port P8
I
P8_4 Input
Input "L" level signal.
I
________
Connect this pin to VCC1.
NMI input
I
Input "H" or "L" level signal or open.
Input port P9
I
Connect to a CAN transceiver.
CRX input
I
Connect to a CAN transceiver.
CTX output
O
Input "H" or "L" level signal or open.
Input port P10
I
Input "H" or "L" level signal or open.
Input port P11
I
Input "H" or "L" level signal or open.
Input port P12
I
Input "H" or "L" level signal or open.
Input port P13
I
Input port P14
Input "H" or "L" level signal or open.
I
page 288 of 378
21. Flash Memory Version
Description
____________
(1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents