
R01UH0336EJ0102 Rev.1.02
Page 1265 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 22 Synchronous/Asynchronous Serial Interface H (UARTH)
22.6.13
Reception Errors
Errors during a receive operation are of 3 types: parity errors, framing errors,
and overrun errors. Data reception result error flags are set in the
URTHnSTR1 register and a status interrupt request signal URTHnTIS is
generated when an error occurs.
It is possible to ascertain which error occurred during reception by reading the
contents of the URTHnSTR1 register.
Clear a reception error flag by writing 1 to its associated bit in the status clear
register URTHnSTC.
Note
Even in case of a parity or framing error, data are transferred from the
reception shift register to the receive data register URTHnRX. Consequently
the data from URTHnRX must be read. Otherwise an overrun error
(URTHnSTR1.URTHnOVE = 1) will occur when reception of the next data is
completed.
In case of an overrun error, data in the reception shift register are not
transferred to the URTHnRX register, so the previous data are not overwritten.
Table 22-30
Sources of Reception Errors
Error Flag in
URTHnSTR1
Reception Error
Source
URTHnPE
Parity error
Received parity bit does not match
the setting
URTHnFE
Framing error
Stop bit is not detected
URTHnOVE
Overrun error
Reception of next data completed
before data was read from receive
buffer
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...