ADSP-BF535 Blackfin Processor Hardware Reference
12-17
UART Port Controller
DMA Mode
In this mode, separate receive (RX) and transmit (TX) DMA channels
move data between the UART and memory. The processor does not have
to move data, it just has to set up the appropriate transfers either through
the descriptor mechanism or through autobuffer mode.
No additional buffering is provided in the UART DMA channels, so the
latency requirements are the same as in non-DMA mode. However, the
latency is determined by the bus activity and arbitration mechanism and
not by the processor loading and interrupt priorities. For more informa-
tion, see
“Direct Memory Access” on page 9-1
.
The DMA interrupt mechanism works independently from the
UARTx_IER
and the
UARTx_IIR
registers. The TX DMA has its own dedicated inter-
rupt channel. The receive interrupt channel handles RX DMAs as well as
receive error conditions when enabled in the UARTx Receive DMA Con-
figuration register (
UARTx_CONFIG_RX
). DMA interrupt routines must
explicitly write ones to the corresponding DMA IRQ status registers
explicitly to clear the latched request of the pending interrupt.
Mixing Modes
Non-DMA and DMA modes use different synchronization mechanisms.
Consequently, any serial communication must be complete before switch-
ing from non-DMA to DMA mode or vice-versa. In other words, before
switching from non-DMA transmission to DMA transmission, make sure
that both
UARTx_THR
and the internal Transmit Shift register (
TSR
) are
empty by testing the
THRE
and the
TEMT
status bits in
UARTx_LSR
. Other-
wise, the processor must wait until the 2-bit DMA Buffer Status field
within the appropriate UARTx Transmit DMA Configuration register
(
UARTx_CONFIG_TX
) is clear.
Содержание ADSP-BF535 Blackfin
Страница 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Страница 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 908: ...SDRAM Controller External Bus Interface Unit B 36 ADSP BF535 Blackfin Processor Hardware Reference...