04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 13 ASYNCHRONOUS SERIAL INTERFACE LIN-UART (UARTF)<br />

13.5.9 BF reception mode select function<br />

A mode for BF (break field) reception, which can be selected by using the LIN-UART operation mode selection bits<br />

(UFnMD1, UFnMD0), is provided.<br />

(1) Normal UART mode (UFnMD1 and UFnMD0 = 00B)<br />

In normal UART mode (UFnMD1 and UFnMD0 = 00B), a new BF is only recognized when the system is waiting for<br />

a BF to be successfully received (UFnBRF = 1).<br />

If the system is not waiting for a BF to be successfully received (UFnBRF = 0), framing or overrun errors are<br />

detected at the data’s stop bit position (bit 10) (see Figure 13-42). If an overrun error has not occurred, the<br />

received data is stored in the UFnRX register. If the system is waiting for a BF to be successfully received<br />

(UFnBRF = 1), framing or overrun errors are not detected and the received data is not stored in the UFnRX register.<br />

If UFnBRF = 0 and reception is stopped when data or the BF stop bit is transmitted, the data consistency error<br />

interrupt is issued and the flag is changed when transmission of the bit following the stop bit starts (see 13.5.8 (2)).<br />

If reception is in progress when the stop bit is transmitted, the data consistency error interrupt is issued and the<br />

flag is changed when transmission of the stop bit starts (see 13.5.8 (1)). On the other hand, if UFnBRF = 1 and<br />

reception is stopped when the stop bit is transmitted, the data consistency error interrupt is issued and the flag is<br />

changed when transmission of the bit following the stop bit starts (see Figure 13-43) and if reception is in progress<br />

when the stop bit is transmitted, the data consistency error interrupt is issued and the flag is changed when the<br />

rising edge of the input data following the stop bit is detected (see Figure 13-44).<br />

LRxDn input<br />

Data sampling<br />

UFnFE flag,<br />

UFnOVE flag<br />

INTLSn<br />

Caution The successful BF reception flag (UFnBSF) is not set in normal UART mode.<br />

Figure 13-40. Timing of Judging Framing or Overrun Error in Normal UART Mode<br />

Start<br />

bit<br />

D0 D1 D4 D5 D6 D7<br />

R01UH0317EJ0004 Rev. 0.04 740<br />

Feb. 22, 2013<br />

Stop<br />

bit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!