www.ti.comRegisters

 

 

 

Figure 13. FIFO Control Register (FCR)

 

 

31

 

 

 

 

 

 

 

16

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R-0

 

 

 

15

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R-0

 

 

 

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

RXFIFTL

 

Reserved

 

DMAMODE1(1)

TXCLR

RXCLR

FIFOEN

 

W-0

 

R-0

 

W-0

W1C-0

W1C-0

W-0

LEGEND: R = Read only; W = Write only; W1C = Write 1 to clear (writing 0 has no effect); -n= value after reset

(1)Always write 1 to the DMAMODE1 bit. After a hardware reset, change the DMAMODE1 bit from 0 to 1. DMAMODE1 = 1 is required for proper communication between the UART and the DMA controller.

 

 

 

Table 12. FIFO Control Register (FCR) Field Descriptions

 

 

 

 

Bit

Field

Value

Description

 

 

 

 

31-8

Reserved

0

Reserved

 

 

 

 

7-6

RXFIFTL

0-3h

Receiver FIFO trigger level. RXFIFTL sets the trigger level for the receiver FIFO. When the trigger level

 

 

 

is reached, a receiver data-ready interrupt is generated (if the interrupt request is enabled). Once the

 

 

 

FIFO drops below the trigger level, the interrupt is cleared.

 

 

0

1 byte

 

 

1h

4 bytes

 

 

2h

8 bytes

 

 

3h

14 bytes

 

 

 

 

5-4

Reserved

0

Reserved

 

 

 

 

3

DMAMODE1

 

DMA MODE1 enable if FIFOs are enabled. Always write 1 to DMAMODE1. After a hardware reset,

 

 

 

change DMAMODE1 from 0 to 1. DMAMOD1 = 1 is a requirement for proper communication between

 

 

 

the UART and the EDMA controller.

 

 

0

DMA MODE1 is disabled.

 

 

1

DMA MODE1 is enabled.

 

 

 

 

2

TXCLR

 

Transmitter FIFO clear. Write a 1 to TXCLR to clear the bit.

 

 

0

No effect.

 

 

1

Clears transmitter FIFO and resets the transmitter FIFO counter. The shift register is not cleared.

 

 

 

 

1

RXCLR

 

Receiver FIFO clear. Write a 1 to RXCLR to clear the bit.

 

 

0

No effect.

 

 

1

Clears receiver FIFO and resets the receiver FIFO counter. The shift register is not cleared.

 

 

 

 

0

FIFOEN

 

Transmitter and receiver FIFOs mode enable. FIFOEN must be set before other FCR bits are written to

 

 

 

or the FCR bits are not programmed. Clearing this bit clears the FIFO counters.

 

 

0

Non-FIFO mode. The transmitter and receiver FIFOs are disabled, and the FIFO pointers are cleared.

 

 

1

FIFO mode. The transmitter and receiver FIFOs are enabled.

 

 

 

 

SPRU997C –December 2009

Universal Asynchronous Receiver/Transmitter (UART)

27

Submit Documentation Feedback

 

 

Copyright © 2009, Texas Instruments Incorporated

Page 27
Image 27
Texas Instruments TMS320DM643X DMP Fifo Control Register FCR Field Descriptions, Rxfiftl, DMAMODE11 Txclr Rxclr Fifoen