English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (586/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 14 SERIAL ARRAY UNIT
Figure 14-102. Processing Procedure in Case of Parity Error (ACK error) in Simplified I2C Mode
Software Manipulation
Reads SDRmn register.
Reads SSRmn register.
Writes SIRmn register.
Sets STmn bit to 1.
Creates stop condition.
Creates start condition.
Sets SSmn bit to 1.
Hardware Status
BFF = 0, and channel n is enabled to
receive data.
Error flag is cleared.
SEmn = 0, and channel n stops
operation.
SEmn = 1, and channel n is enabled to
operate.
Remark
This is to prevent an overrun error if
the next reception is completed
during error processing.
Error type is identified and the read
value is used to clear error flag.
Error can be cleared only during
reading, by writing the value read
from the SSRmn register to the
SIRmn register without modification.
Slave is not ready for reception
because ACK is not returned.
Therefore, a stop condition is
created, the bus is released, and
communication is started again from
the start condition. Or, a restart
condition is generated and
transmission can be redone from
address transmission.
Remark m: Unit number (m = 0, 1), n: Channel number (n = 0, 2), mn = 02, 10
R01UH0004EJ0501 Rev.5.01
570
Jun 20, 2011