|
3822_03 Datasheet, PDF (203/328 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPLICATION
2.5 Serial I/O
(4) Processing upon occurrence of an errors
sParity error, framing error, or summing error
If a parity error, a framing error, or a summing error occurs, the flag corresponding to each error in
the serial I/O status register is set to â1.â These flags cannot be cleared to â0â automatically, so set
them to â0â by software.
The parity error flag, framing error flag, and summing error flag is set to â0â by setting the receive
enable bit to â0â or writing dummy data into the serial I/O status register.
sOverrun error
An overrun error occurs when data is already input in the receive buffer register and yet all data is
input in the receive shift register.
If an overrun error occurs, the data of the receive shift register is not transferred and the data of the
receive buffer register is held. At this time, even if the data of the receive buffer register is read out,
the data of the receive shift register is not transferred.
Consequently, the data of the receive shift register becomes unreadable, so that the receive data
becomes invalid.
If an overrun error occurs, after set the overrun error flag of the serial I/O status register to â0â,
perform a receive operation again.
The overrun error flag is set to â0â by one of the following operations.
â¢Set the serial I/O enable bit to â0â
â¢Set the receive enable bit to â0â
â¢Write data (arbitrary) into the serial I/O status register
3822 GROUP USERâS MANUAL
2â137
|
▷ |