RL78/G1H CHAPTER 14 SERIAL ARRAY UNIT
R01UH0575EJ0120 Rev. 1.20 Page 404 of 920
Dec 22, 2016
14.5.8 Procedure for processing errors that occurred during 3-wire serial I/O
(CSIp) communication
The procedure for processing errors that occurred during 3-wire serial I/O (CSIp) communication is described in
Figure 14 - 70.
Figure 14 - 70 Processing Procedure in Case of Overrun Error
Software Manipulation Hardware Status Remark
Reads serial data register mn (SDRmn). The BFFmn bit of the SSRmn register is
set to 0 and channel n is enabled to
receive data.
This is to prevent an overrun error if the
next reception is completed during error
processing.
Reads serial status register mn (SSRmn). Error type is identified and the read value
is used to clear error flag.
Writes 1 to serial flag clear trigger
register mn (SIRmn).
Error flag is cleared. Error can be cleared only during reading,
by writing the value read from the SSRmn
register to the SIRmn register without
modification.