English
Language : 

M30222 Datasheet, PDF (235/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
dUevnedloSeprpmeenctifications in this manual are tentative and subject to change
MITSUBISHI MICROCOMPUTERS
M30222 Group
Rev. G
Serial I/O Mode 2 (Flash Memory Version)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(16) Word Read Program
This command reads the word from the specific address. To execute the word read command:
(1) Transfer the "FE16" command code with the 1st byte.
(2) Transfer the 3 byte address starting with the A0-A8 with the next 3 bytes.
(3) The MCU transfers the byte at the specific address.
(4) The MCU transfers the byte at the specific address +1.
Note: The specified address may be odd or even (A0=0 or 1) and be any value withing the 1M address
space.
RxD0
FE16
Address Address Address
Low
Middle
High
TxD0
Figure 1.200. Timing for Word read program
1st half 2nd half
of word of word
(17) Word Program
This command writes the word in the flash memory. To execute the word program command:
(1) Transfer the "4016" with the 1st byte.
(2) Transfer the 3 byte address starting with the A0-A8 with the next 3 bytes.
(3) Transfer the 1st half of the word to be written in the lower address (A0=0).
(4) Transfer the 2nd half of the word to be written in the higher address (A0=1).
Note: The specified address must be even (A0=0).
RxD0
4016
Address Address Address 1st half 2nd half
Low
Middle
High
of word of word
TxD0
Figure 1.201. Timing for Word program
(18) Exit Command
This command does a software reset by writing a "1" to bit 3 of the Processor Mode register 0. To execute
the Exit command:
(1) Transfer "B916" with the 1st byte.
(2) Transfer the confirm command code "D016" in the 2nd byte.
If the CNVss line is low, the MCU will reset in normal mode and begin execution of the user code. If CNVss
is high, the MCU will reset back into boot mode and begin execution at 7E00016 again.
RxD1
B916 D016
TxD1
Figure 1.202. Timing for Exit command
1-236