01.08.2013 Views

Chapter 19 Universal Asynchronous Receiver-Transmitter (UART).pdf

Chapter 19 Universal Asynchronous Receiver-Transmitter (UART).pdf

Chapter 19 Universal Asynchronous Receiver-Transmitter (UART).pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Functional Description www.ti.com<br />

TX buffer maximum<br />

Programmable<br />

threshold<br />

Zero byte<br />

DMA active periods;<br />

this does not represent<br />

the DMA signaling.<br />

TX buffer maximum<br />

Programmable<br />

threshold<br />

Zero byte<br />

DMA active periods; this<br />

does not represent the<br />

DMA signaling.<br />

Figure <strong>19</strong>-9. Transmit FIFO DMA Request Generation (8 Spaces)<br />

1 character transmitted<br />

1 space<br />

Example: DMA is disabled to<br />

show the end of the transfer.<br />

Characters transmitted from<br />

the <strong>UART</strong><br />

8 spaces<br />

The next example shows the setting of one space that uses the DMA for each transfer of one character to<br />

the transmit buffer (see Figure <strong>19</strong>-10). The buffer is filled faster than the baud rate at which data is<br />

transmitted to the TX pin. Eventually, the buffer is completely full and the DMA operations stop transferring<br />

data to the transmit buffer.<br />

On two occasions, the buffer holds the maximum amount of data words; shortly after this, the DMA is<br />

disabled to show the slower transmission of the data words to the TX pin. Eventually, the buffer is emptied<br />

at the rate specified by the baud rate settings of the <strong>UART</strong>i.<strong>UART</strong>_DLL and <strong>UART</strong>i.<strong>UART</strong>_DLH registers.<br />

The DMA settings must correspond to the system LH DMA controller settings to ensure correct operation<br />

of this logic.<br />

Figure <strong>19</strong>-10. Transmit FIFO DMA Request Generation (1 Space)<br />

Time<br />

Example: DMA is disabled to show the<br />

end of the transfer and the TX buffer emptying.<br />

3644 <strong>Universal</strong> <strong>Asynchronous</strong> <strong>Receiver</strong>/<strong>Transmitter</strong> (<strong>UART</strong>) SPRUH73E–October 2011–Revised May 2012<br />

Submit Documentation Feedback<br />

Copyright © 2011–2012, Texas Instruments Incorporated<br />

uart-029<br />

Time<br />

uart-028

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

Saved successfully!

Ooh no, something went wrong!