Reception Errors; Table 12-4: Reception Error Causes - NEC V850E/RS1 User Manual

32-/16-bit single-chip microcontroller with can interface
Table of Contents

Advertisement

12.5.5 Reception errors

Reception errors are classified into three types: parity errors, framing errors, and overrun errors. As a
result of receiving data, an error flag is set in the UAnSTR register, and a reception complete interrupt
request signal (INTUAnR) is generated.
By reading the contents of the UAnSTR register in the reception error interrupt servicing, which error
has occurred during reception can be checked.
The reception error flag is cleared by writing 0 to it.
UAnPE
UAnFE
UAnOVE
Downloaded from
Elcodis.com
electronic components distributor
Chapter 12 Asynchronous Serial Interface A (UARTA)

Table 12-4: Reception Error Causes

Error Flag
Reception Error
Parity error
Framing error
Overrun error
Figure 12-14: Receive Data Read Flow
User's Manual U16702EE3V2UD00
Received parity bit does not match setting.
Stop bit is not detected.
Next data reception is completed before data is read from
receive buffer.
START
No
INTUAnR Signal
generated?
Yes
Read UAnRX register
Read UAnSTR register
No
Error occured?
Yes
Error processing
END
Cause
421

Advertisement

Table of Contents
loading

Table of Contents