English
Language : 

M16C6K9 Datasheet, PDF (280/292 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C/6K9 Group
Standard Serial I/O Mode
Clear status register command
The command clears the bits (SR4–SR5), which are set when operation ended in error. When command
code “5016” is sent in the 1st byte, the aforementioned bits are cleared. When the clear status register
operation ends, the RTS10 (BUSY) signal changes from “H” to “L”.
CLK10
RxD10
(M16C reception data)
TxD10
(M16C transmit data)
RTS10(BUSY)
5016
Fig.EE-4 Timing of clear status register
Page program command
The command programs the specified page (256 bytes) of flash memory sequentially one byte a time. Execute
the command as follows:
(1) Transfer the command code “4116” in the 1st byte.
(2) Transfer addresses A15–A8 and A23–A16 in the 2nd and 3rd bytes respectively.
(3) From the 4th byte onward, after inputting 256 bytes program data (A7–A0) from the smallest address of
the specified page, the page program operation will be executed automatically.
When the reception for the next 256 bytes is setup, the RTS10 (BUSY) signal changes from “H” to “L”.
The result of the page program can be known by reading the status register. For more detail, see the
section on the status register.
CLK10
RxD10
(M16C reception data)
TxD10
(M16C transmit data)
RTS10(BUSY)
4116
A8 to
A15
A16 to
A23
Data0
Fig.EE-5 Timing of page program
Data255
Rev.1.00 Jun 06, 2003 page 280 of 290