381
Chapter 13
Serial Interface Function
Preliminary User’s Manual U15839EE1V0UM00
(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 ASISn register are set (1),
and a reception error interrupt (INTSERn) or a reception completion interrupt (INTSRn) is
generated at the same time. The ISRM bit of the ASIMn register specifies whether INTSERn or
INTSRn is generated.
The type of error that occurred during reception can be detected by reading the contents of the
ASISn register during the INTSERn or INTSRn interrupt servicing (n = 0, 1).
The contents of the ASISn register are reset (0) by reading it.
Table 13-3:
Reception Error Causes
(a) Separation of reception error interrupt
A reception error interrupt can be separated from the INTSRn interrupt and generated as an
INTSERn interrupt by clearing the ISRM bit of the ASIMn register to 0.
Figure 13-12:
When Reception Error Interrupt Is Separated from INTSRn Interrupt
(ISRM Bit = 0)
(a) No error occurs during reception (b) An error occurs during reception
Figure 13-13:
When Reception Error Interrupt Is Included in INTSRn Interrupt
(ISRM Bit = 1)
(a) No error occurs during reception (b) An error occurs during reception
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 (RXBn)
INTSR5n (output)
(Reception completion
interrupt)
INTSER5n (output)
(Reception error
interrupt)
INTSR5n (output)
(Reception completion
interrupt)
INTSER5n (output)
(Reception error
interrupt)
INTSR5n
does not occur
INTSR5n (output)
(Reception completion
interrupt)
INTSER5n (output)
(Reception error
interrupt)
INTSR5n (output)
(Reception completion
interrupt)
INTSER5n (output)
(Reception error
interrupt)
INTSER5n
does not occur
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......