Mitsubishi microcomputers
M16C / 6N0 / 6N1 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Appendix CAN I/O Mode (Flash Memory Version)
278
When a configuration remote frame (see Table 1.30.2) transmitted from an external equipment (program-
mer) is received and CAN baud rate configuration is completed, the M16C/6N group microcomputer with
the internal flash memory transmits a configuration data frame.
Table 1.30.2. List of CAN frame at the time of baudrate selection
In CAN I/O mode, input and output of software commands, address, and data are performed between the
microcomputer and the external equipment using a CAN interface.
Moreover, the data in a memory, status register, etc. can be read by read operation after a software com-
mand input. Status, such as operating status of the flash memory and whether program operation or erase
operation is completed successfully or ended up in error, can be checked by reading the status register. An
explanation of the software commands, status register, etc. are given below.
Upon entering CAN I/O mode, the microcomputer with the internal flash memory selects automatically the
CAN baud rate. Table 1.30.1 lists baud rate that can be automatically selected.
Table 1.30.1. List of selectable CAN baudrate
Table 1.30.3 lists IDs for the CAN data transfer that the external equipment uses. Here, all are standard
data frames.
Table 1.30.3. ID for CAN data transfer that the external equipment uses
Baud rate
16MHz
10MHz
8MHz
5MHz
4MHz
Clock frequency of M16C/6N group microcomputer with the internal flash memory
√ : Selectable
√
1000kbps
500kbps
250kbps
125kbps
100kbps
83.3kbps
80kbps
40kbps
20kbps
10kbps
√
—
——
—
2.5MHz
√
—
2MHz
√
—
——
—
——
—
Frame
Note 1: DLC indicates the number of the transfer data byte.
Note 2: The shadowed part is a transfer frame from the microcomputer with the internal flash memory to an external equipment.
Otherwise a transfer frame from the external equipment to the microcomputer with the internal flash memory.
Type
Format
ID
DLC (Note 1)
Data contents
Configuration remote frame
Remote Standard 7F016
0
Transmit at the time of baud rate selection
Configuration data frame
Data
Standard 7F016
0
Transmit when M16C/6N group
completes automatic baud rate selection
Frame
ID
DLC (Note 1)
Data contents
Command
7FE16
1 to 5
Command that an external equipment issues
Write data
7FF16
0 to 8
Data that an external equipment transmits
Busy
7F116
0
To transmit when M16C/6N group accepts a command
Ready
7F216
0 to 8
To transmit when M16C/6N group is waiting for a command
Read data
7F316
0
Data that M16C/6N group transmits
Note 1: DLC indicates the number of the transfer data byte.
Note 2: The shadowed part is a transfer frame from the microcomputer with the internal flash memory to an external equipment.
Otherwise a transfer frame from the external equipment to the microcomputer with the internal flash memory.