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

The following table shows examples of processing corresponding to statuses when performing LIN communication.<br />

Table 13-4. Examples of Processing Corresponding to Statuses During LIN Communication (When in BF<br />

Reception Enable Mode During Communication (UFnMD1, UFnMD0 = 10B) and When UFnDCS = 1)<br />

UFnBSF UFnDCE UFnFE UFnOVE Status Processing Example<br />

1 1 A mismatch is detected between transmit<br />

and receive data during BF transmission in<br />

master operation. Successive low levels of<br />

at least 11 bits are received. The<br />

transmission is not performed even if the<br />

next data transmission has been prepared.<br />

1 0 <br />

0 1 <br />

BF transmission and BF reception are<br />

performed successfully in master operation.<br />

BF reception is performed successfully in<br />

slave operation.<br />

BF transmission or data (including an SF or<br />

a PID) transmission has failed in master<br />

operation.<br />

Even if transmission of the next data or BF<br />

has been prepared, the transmission will<br />

not be performed.<br />

Data transmission has failed in slave<br />

operation.<br />

Even if transmission of the next data has<br />

been prepared, the transmission will not be<br />

performed.<br />

0 0 1 A framing error has been detected during<br />

data reception.<br />

0 0 1 An overrun error has been detected during<br />

data reception.<br />

The single data that was received<br />

immediately before has been discarded.<br />

The next data (Sync field) transmission is<br />

not performed and waiting for the next<br />

time schedule is performed, because the<br />

other party of communication may not<br />

have been able to recognize the BF.<br />

The other party of communication may<br />

not have been able to recognize the BF,<br />

but all status flags are cleared and the<br />

next data is written to transmit the next<br />

data (Sync field).<br />

Processing to transmit the next data (Sync<br />

field) is performed.<br />

Processing to receive the next data (Sync<br />

field) is performed.<br />

Subsequent transmit and receive data is<br />

discarded, all status registers are cleared,<br />

and the system waits for the next time<br />

schedule.<br />

Subsequent transmit and receive data is<br />

discarded, all status registers are cleared,<br />

and the system waits for the next time<br />

schedule.<br />

Processing when a framing error has been<br />

detected is performed.<br />

Processing when an overrun error has<br />

been detected is performed.<br />

Cautions 1. Clear all status flags that have been set for any processing.<br />

2. When an error is detected in LIN communication (including when BF reception has been<br />

performed successfully when BF reception enable mode during communication (UFnMD1,<br />

UFnMD0 = 10B) has been set), a status interrupt request signal (INTLSn) is generated instead of a<br />

reception complete interrupt request signal (INTLRn) and a status flag is set according to the<br />

communication status.<br />

Remarks 1. : don’t care<br />

2. n = 0, 1<br />

R01UH0317EJ0004 Rev. 0.04 747<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!