ADSP-214xx SHARC Processor Hardware Reference 20-23
UART Port Controller
3. Set up the appropriate control register to enable the UART trans-
mitter and receiver, chain pointer, and DMA (
UARTDEN,
UARTEN, UARTCHEN bits). Once chain pointer DMA is enabled, the
DMA engine fetches the index, modify, count, and chain pointer
values from the memory address specified in the chain pointer reg-
ister. Once the DMA parameters are fetched, normal DMA starts.
This process is continued until the chain pointer register contains
all zeros.
Notes on Using UART DMA
The following should be noted when performing DMA through the
UART.
• DMA can be interrupted by resetting the UARTDEN bit, but none of
the other control settings should be changed. If the UART is
enabled again, then interrupted DMA can be resumed by resetting
the UARTDEN bit.
• Disabling the UART by resetting the enable UARTEN bit flushes data
in the transmit/receive buffer. Resetting the UART during a DMA
operation is prohibited and leads to data loss.
• Do not disable chaining (UARTCHEN bit) when a chaining DMA is in
progress.
• During a receive DMA, a read of the receiver buffer (UARTRBR) is
not allowed. If needed, programs should read the receiver shadow
buffer (
UARTRBRSH).