Texas Instruments TMS320DM643X DMP manual Fifo Control Register FCR Field Descriptions, Rxfiftl

Page 27

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

Image 27
Contents Users Guide Submit Documentation Feedback Appendix a Revision HistoryList of Figures List of Tables Read This First Purpose of the Peripheral FeaturesIndustry Standards Compliance Statement Functional Block DiagramUart Supported Features/Characteristics by Instance Feature SupportFifo Uart Block DiagramBclk Clock Generation and ControlUart DlhdllBaud Rate Divisor Value Actual Baud Rate Error % Baud Rate Examples for 27 MHz Uart Input ClockStart Parity STOP1 STOP2 Signal Descriptions Pin MultiplexingProtocol Description Parity Endianness ConsiderationsData Format Parity STOP1Operation Fifo Modes Character Time for Word LengthsCharacter Time Four Character Times Autoflow Control Uart Interface Using Autoflow DiagramLoopback Control Autoflow Functional Timing Waveforms for RTSReset Considerations InitializationInterrupt Support Comment Enable bitsUart Interrupt Requests Descriptions Uart Interrupt Request Interrupt SourcePower Management DMA Event SupportEmulation Considerations Uart Registers Changing Operating Mode During Busy Serial CommunicationException Processing Divisor Latch Not ProgrammedBit Field Access considerationsReceiver Buffer Register RBR Receiver Buffer Register RBR Field DescriptionsTransmitter Holding Register THR Transmitter Holding Register THR Field DescriptionsBit Field Value Description Elsi Interrupt Enable Register IERInterrupt Enable Register IER Field Descriptions Elsi Etbei ErbiAccess consideration Interrupt Identification Register IIRInterrupt Identification Register IIR Field Descriptions Interrupt Type Interrupt Source Fifo Control Register FCRInterrupt Identification and Interrupt Clearing Information IIR BitsDMAMODE1 Fifo Control Register FCR Field DescriptionsRxfiftl DMAMODE11 Txclr Rxclr FifoenDlab Line Control Register LCRLine Control Register LCR Field Descriptions Dlab EPS PEN STB WLSSTB Bit Relationship Between ST, EPS, and PEN Bits in LCRNumber of Stop Bits Generated ST Bit EPS Bit PEN Bit Parity OptionAFE Modem Control Register MCRModem Control Register MCR Field Descriptions LoopLine Status Register LSR Field Descriptions Non-FIFO modeFifo mode Line Status Register LSRSet Elsi = 1 in IER, an interrupt request is generated Register RBR Divisor Latches DLL and DLHDivisor MSB Latch DLH Field Descriptions Divisor LSB Latch DLL Field DescriptionsTYP Peripheral Identification Registers PID1 and PID2CLS REV CLSUtrst Power and Emulation Management Register PwremumgmtUtrst Urrst FreeReference Additions/Modifications/Deletions Document Revision HistoryImportant Notice
Related manuals
Manual 120 pages 29.22 Kb