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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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.2 Data transmission<br />

Figure 13-22 shows the procedure for transmitting data.<br />

Figure 13-22. Transmission Processing Flow<br />

START<br />

Baud rate setting<br />

(UFnCTL1 register)<br />

Transmit data level setting<br />

(UFnOPT0 register)<br />

Various mode settings<br />

(UFnOPT1 register)<br />

INTLTn timing setting<br />

(UFnOPT2 register)<br />

Various mode settings,<br />

enabling transmission<br />

(UFnCTL0 register)<br />

Write UFnTX register<br />

INTLTn signal generated?<br />

END<br />

Yes<br />

All transmit data written?<br />

Yes<br />

Cautions 1. When initializing (UFnTXE = 0) the transmission unit, be sure to confirm that the transmission<br />

status flag has been reset (UFnTSF = 0). When initialization is performed while UFnTSF is “1”,<br />

transmission is aborted midway.<br />

2. During LIN communication, confirm that a status interrupt request signal (INTLSn) has been<br />

generated, because reception is performed simultaneously with transmission.<br />

3. When data consistency error detection has been set (UFnDCS = 1) and a data consistency error<br />

has been detected during LIN communication, transmission of the next data frame or BF is<br />

stopped at the same as when a status interrupt request signal (INTLSn) is generated and a data<br />

consistency error flag is set (UFnDCE = 1).<br />

Remarks 1. See (2) of 13.11 Cautions on Use for details of starting LIN-UART.<br />

2. n = 0, 1<br />

R01UH0317EJ0004 Rev. 0.04 720<br />

Feb. 22, 2013<br />

No<br />

No

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

Saved successfully!

Ooh no, something went wrong!