CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U14492EJ3V0UD
434
Figure 10-7. Asynchronous Serial Interface Reception Completion Interrupt Timing
Start
D0
D1
D2
D6
D7
RXD0 (input)
INTSR0 (output)
RXB0 register
Parity
Stop
Cautions 1. Even if a reception error occurs, be sure to read reception buffer register 0 (RXB0). If
RXB0 is not read, an overrun error will occur at the next data reception, and the reception
error state will continue indefinitely.
2. Reception is always performed with the stop bit length set to 1.
A second stop bit is ignored.
(5) Reception error
The three types of error that can occur during a receive operation are a parity error, framing error, or overrun
error. The data reception result is that the various flags of the ASIS0 register are set (1), and a reception
error interrupt (INTSER0) or a reception completion interrupt (INTSR0) is generated at the same time. The
ISRM bit of the ASIM0 register specifies whether INTSER0 or INTSR0 is generated.
The type of error that occurred during reception can be detected by reading the contents of the ASIS0
register during the INTSER0 or INTSR0 interrupt servicing.
The contents of the ASIS0 register are reset (0) by reading the ASIS0 register.
Table 10-2. Reception Error Causes
Error Flag
Reception Error
Cause
PE
Parity error
The parity specification during transmission did not match
the parity of the reception data
FE
Framing error
No stop bit was detected
OVE
Overrun error
The reception of the next data was completed before data
was read from the reception buffer register 0 (RXB0)
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...