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

When the LRxDn pin is sampled by using the operating clock and a falling edge is detected, data sampling of the<br />

LRxDn pin is started and is recognized as a start bit if it is at low level at a timing of half the reception baud rate clock<br />

period after the falling edge has been detected. When the start bit has been recognized, a reception operation is started<br />

and serial data is sequentially stored into the receive shift register according to the baud rate set. When a stop bit has<br />

been received, the data stored into the receive shift register is transferred to the receive data register (UFnRX) at the<br />

same time a reception complete interrupt request signal (INTLRn) is generated.<br />

When an overrun error has occurred (UFnOVE = 1), however, the receive data is not transferred to the UFnRX register<br />

but discarded. When any other error has occurred, the reception is continued up to the reception position of the stop bit<br />

and the receive data is transferred to the UFnRX register.<br />

After the occurrence of any reception error, INTLSn is generated after completion of the reception and INTLRn is not<br />

generated.<br />

fCLK<br />

Figure 13-27. Data Reception Timing Chart<br />

LRxDn pin START DT0 DTn STOP1<br />

Sampling point<br />

Prescaler clock<br />

Reception baud rate clock<br />

INTLRn (error-free)<br />

INTLSn (error)<br />

Note<br />

Reception baud rate<br />

clock period<br />

UFnRX register New data<br />

UFnRSF flag<br />

Note One-half the reception baud rate clock period<br />

Reception processing start<br />

Reception processing<br />

end<br />

Reception baud rate<br />

clock period<br />

Cleared upon detection of first stop bit<br />

Cautions 1. The start bit is not recognized when a high level is detected at a timing of half the reception baud<br />

rate clock period after the falling edge of the LRxDn pin was detected.<br />

2. A reception always operates with the number of stop bits as 1.<br />

At that time, the second stop bit is ignored.<br />

3. When a low level is constantly input to the LRxDn pin before an operation to enable reception is<br />

performed, the receive data is not identified as a start bit.<br />

4. For successive reception, the next start bit can be detected immediately after a stop bit of the first<br />

receive data has been detected (upon generation of a reception complete interrupt).<br />

5. Be sure to enable reception (UFnRXE = 1) after having changed the UFnRDL bit. If the UFnRDL<br />

bit is changed after having enabled reception, the start bit may be detected falsely.<br />

Remark n = 0, 1<br />

R01UH0317EJ0004 Rev. 0.04 724<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!