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.11 Transmission start wait function<br />

The <strong>RL78</strong>/<strong>D1A</strong> is provided with a function to guarantee the stop bit length of reception when reception is switched to<br />

transmission to perform LIN communication.<br />

To delay starting of transmission until completion of the stop bit of reception, write data to the UFnWTX register which is<br />

a wait-dedicated register, instead of writing transmit data to the UFnTX register as a transmission start request.<br />

In this case, starting transmission is being waited for one bit until the stop bit of receive data has ended for sure.<br />

Note that only a wait of one bit is performed, even if the stop bit length has been set to two bits by using the stop bit<br />

length select bit (UFnSL).<br />

LTxDn pin<br />

LRxDn pin<br />

Sampling<br />

point<br />

LTxDn pin<br />

LRxDn pin<br />

Sampling<br />

point<br />

Figure 13-48. When Transmit Data Has Been Written During Stop Bit of Receive Data<br />

START<br />

Half the<br />

reception<br />

baud rate<br />

clock period<br />

Half the<br />

reception<br />

baud rate<br />

clock period<br />

Reception baud rate<br />

clock period<br />

BIT0<br />

UFnTX is written<br />

STOP<br />

START BIT0<br />

STOP<br />

Reception baud rate<br />

clock period<br />

START BIT0<br />

Half the<br />

reception<br />

baud rate<br />

clock period<br />

START BIT0<br />

STOP is shortened<br />

UFnWTX is written<br />

STOP length of 1 bit is guaranteed<br />

Reception baud rate<br />

clock period<br />

START<br />

START<br />

Half the<br />

reception<br />

baud rate<br />

clock period<br />

Cautions 1. When LIN communication is not performed, accessing the UFnWTX register is prohibited.<br />

2. Writing to the UFnWTX register is prohibited except when reception is switched to transmission<br />

(such as during transmission).<br />

Remark n = 0, 1<br />

R01UH0317EJ0004 Rev. 0.04 748<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!