fcr

Controls FIFO Operations when written.
Module Instance Base Address Register Address
uart0 0xFFC02000 0xFFC02008
uart1 0xFFC03000 0xFFC03008

Offset: 0x8

Access: WO

Important: To prevent indeterminate system behavior, reserved areas of memory must not be accessed by software or hardware. Any area of the memory map that is not explicitly defined as a register space or accessible memory is considered reserved.
Bit Fields
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reserved

rt

WO 0x0

tet

WO 0x0

dmam

WO 0x0

xfifor

WO 0x0

rfifor

WO 0x0

fifoe

WO 0x0

fcr Fields

Bit Name Description Access Reset
7:6 rt

This register is configured to implement FIFOs. Bits[7:6], Rx Trigger (or RT): This is used to select the trigger level in the receiver FIFO at which the Received Data Available Interrupt will be generated. In auto flow control mode it is used to determine when the uart_rts_n signal will be de-asserted. It also determines when the uart_dma_rx_req_n signal will be asserted when in certain modes of operation.

Value Description
0x0 one character in fifo
0x1 FIFO 1/4 full
0x2 FIFO 1/2 full
0x3 FIFO 2 less than full
WO 0x0
5:4 tet

This is used to select the empty threshold level at which the THRE Interrupts will be generated when the mode is active. It also determines when the uart DMA transmit request signal uart_dma_tx_req_n will be asserted when in certain modes of operation.

Value Description
0x0 FIFO empty
0x1 Two characters in FIFO
0x2 FIFO 1/4 full
0x3 FIFO 1/2 full
WO 0x0
3 dmam

This determines the DMA signalling mode used for the uart_dma_tx_req_n and uart_dma_rx_req_n output signals when additional DMA handshaking signals are not selected. DMA mode 0 supports single DMA data transfers at a time. In mode 0, the uart_dma_tx_req_n signal goes active low under the following conditions: -When the Transmitter Holding Register is empty in non-FIFO mode. -When the transmitter FIFO is empty in FIFO mode with Programmable THRE interrupt mode disabled. -When the transmitter FIFO is at or below the programmed threshold with Programmable THRE interrupt mode enabled. It goes inactive under the following conditions -When a single character has been written into the Transmitter Holding Register or transmitter FIFO with Programmable THRE interrupt mode disabled. -When the transmitter FIFO is above the threshold with Programmable THRE interrupt mode enabled. DMA mode 1 supports multi-DMA data transfers, where multiple transfers are made continuously until the receiver FIFO has been emptied or the transmit FIFO has been filled. In mode 1 the uart_dma_tx_req_n signal is asserted under the following conditions: -When the transmitter FIFO is empty with Programmable THRE interrupt mode disabled. -When the transmitter FIFO is at or below the programmed threshold with Programmable THRE interrupt mode enabled.

Value Description
0x0 Single DMA Transfer Mode
0x1 Multiple DMA Transfer Mode
WO 0x0
2 xfifor

Resets the control portion of the transmit FIFO and treats the FIFO as empty. This will also de-assert the DMA Tx request and single signals when additional DMA handshaking is used. Note that this bit is 'self-clearing' and it is not necessary to clear this bit.

Value Description
0x0 No Reset of Tx FIFO Control
0x1 Resets Tx FIFO Control
WO 0x0
1 rfifor

Resets the control portion of the receive FIFO and treats the FIFO as empty. This will also de-assert the DMA Rxrequest and single signals. Note that this bit is self-clearing' and it is not necessary to clear this bit.

Value Description
0x0 No Reset of Rx FIFO Control
0x1 Resets of Rx FIFO Control
WO 0x0
0 fifoe

Enables/disables the transmit (Tx) and receive (Rx ) FIFO's. Whenever the value of this bit is changed both the Tx and Rx controller portion of FIFO's will be reset.

Value Description
0x0 FIFOs disabled
0x1 FIFOs enabled
WO 0x0