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 />

Figure 13-7. Format of LIN-UARTn Status Register (UFnSTR) (5/6)<br />

UFnBSF Successful BF reception flag<br />

0 BF reception is not successfully performed.<br />

1 BF reception is successfully performed.<br />

<br />

When successive low levels (BF) of at least 11 bits have been received<br />

The UFnBSF bit is a flag indicating that receiving a BF has been performed successfully. It<br />

becomes “1” when successive low levels (BF) of at least 11 bits have been received when in BF<br />

reception enable mode during communication (UFnMD1, UFnMD0 = 10B) (This occurs at the<br />

same time as the status interrupt (INTLSn) is issued upon the detection of the rising edge of the<br />

LRXDn pin.).<br />

The start of a new frame slot must be checked by reading the UFnBSF bit via status interrupt<br />

servicing, because the BF may also be received during data communication when in BF<br />

reception enable mode during communication.<br />

The UFnBSF bit will not be cleared until “1” is written to the UFnCLBSF bit of the UFnSTC<br />

register, because the UFnBSF bit is a cumulative flag. It will not be set when not in BF reception<br />

enable mode during communication (UFnMD1, UFnMD0 = 10B).<br />

UFnDCE Data consistency error flag<br />

0 No data consistency error has occurred.<br />

1 A data consistency error has occurred.<br />

<br />

When transmit data and receive data do not match in LIN communication<br />

When the data consistency check select bit is set (UFnDCS = 1), the transmit data and receive<br />

data are compared upon data transmission. The UFnDCE bit becomes “1” at the same time as<br />

the status interrupt (INTLSn) is issued when a mismatch has been detected.<br />

The UFnDCE bit will not be cleared until “1” is written to the UFnCLDCE bit of the UFnSTC<br />

register, because the UFnDCE bit is a cumulative flag. When UFnDCS is “0”, the UFnDCE bit will<br />

not be set.<br />

Caution The next transfer will not be performed if a data consistency error is detected. See<br />

13.5.8 Data consistency check for details.<br />

UFnPE Parity error flag<br />

0 No parity error has occurred.<br />

1 A parity error has occurred.<br />

<br />

When parity of data and parity bit do not match during reception<br />

The operation of the UFnPE bit depends on the settings of the UFnPS1 and UFnPS0 bits.<br />

The UFnPE bit will not be cleared until “1” is written to the UFnCLPE bit of the UFnSTC register<br />

or “0” is written to the UFnRXE bit of the UFnCTL0 register, because the UFnPE bit is a<br />

cumulative flag. When UFnPS1 and UFnPS0 are “0xB”, the UFnPE bit will not be set. (x: Don’t<br />

care)<br />

R01UH0317EJ0004 Rev. 0.04 699<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!