464
CHAPTER 19 SERIAL INTERFACE CHANNEL 2
(d) Reception
When the bit 6 (RXE) of the asynchronous serial interface mode register (ASIM) is set (1), a receive
operation is enabled and sampling of the RxD pin input is performed.
RxD pin input sampling is performed using the serial clock specified by ASIM.
When the RxD pin input becomes low, the 5-bit counter of the baud rate generator (refer to Figure 19-
2) starts counting, and at the time when the half time determined by specified baud rate has passed, the
data sampling start timing signal is output. If the RxD pin input sampled again as a result of this start
timing signal is low, it is identified as a start bit, the 5-bit counter is initialized and starts counting, and
data sampling is performed. When character data, a parity bit and one stop bit are detected after the
start bit, reception of one frame of data ends.
When one frame of data has been received, the receive data in the shift register is transferred to the receive
buffer register (RXB), and a reception completion interrupt request (INTSR) is generated.
Even if an error is generated, the receive data in which the error was generated is transferred to RXB.
If bit 1 (ISRM) of ASIM is cleared (0) when the error is generated, INTSR will be generated. If ISRM is
set (1), INTSR will not be generated.
If the RXE bit is reset (0) during the receive operation, the receive operation is stopped immediately. In
this case, the contents of RXB and ASIS are not changed, and INTSR and INTSER are not generated.
Figure 19-9. Asynchronous Serial Interface Reception Completion
Interrupt Request Generation Timing
Caution
The receive buffer register (RXB) must be read even if a receive error is generated. If
RXB is not read, an overrun error will be generated when the next data is received, and
the receive error state will continue indefinitely.
D1
D2
D6
D7
Parity
D0
RxD (Input)
INTSR
STOP
START
Summary of Contents for PD78052
Page 2: ...2 MEMO ...
Page 8: ...8 MEMO ...
Page 16: ...16 MEMO ...
Page 36: ...36 MEMO ...
Page 158: ...158 MEMO ...
Page 174: ...174 MEMO ...
Page 240: ...240 MEMO ...
Page 260: ...260 MEMO ...
Page 340: ...340 MEMO ...
Page 392: ...392 MEMO ...
Page 438: ...438 MEMO ...
Page 482: ...482 CHAPTER 20 REAL TIME OUTPUT PORT MEMO ...
Page 510: ...510 MEMO ...
Page 524: ...524 MEMO ...
Page 560: ...560 MEMO ...
Page 576: ...576 MEMO ...
Page 598: ...598 MEMO ...
Page 602: ...602 MEMO ...