Uartxmode Register; I/O Mode - Analog Devices SHARC ADSP-21368 Hardware Reference Manual

Hide thumbs Also See for SHARC ADSP-21368:
Table of Contents

Advertisement

For information on UART DMA registers, see
page
2-44.

UARTxMODE Register

The UART mode register controls miscellaneous settings such as packing
and address detection.
TxMODE)" on page A-126.

I/O Mode

In I/O mode, data is moved to and from the UART by the processor core.
To transmit a character, load it into the
can be read from the
one character at time.
To prevent any loss of data and misalignments of the serial data stream,
the UART line status register (
handshaking—
The
UARTTHRE
and cleared when the processor loads new data into the
Writing this register when it is not empty overwrites the register with the
new value and the previous character is never transmitted.
The
flag signals when new data is available in the
UARTDR
ter. This flag is cleared automatically when the processor reads from this
register. Reading the
viously received value. When the
newly received data overwrites the
) flag is set.
TOE
With interrupts disabled, these status flags can be polled to determine
when data is ready to move. Note that because polling is processor-inten-
sive, it is not typically used in real-time signal processing environments.
ADSP-21368 SHARC Processor Hardware Reference
For more information, see "Mode Registers (UAR-
register. The processor must write and read
UARTxRBR
UARTxLSR
and
UARTTHRE
UARTDR
flag is set when the
register when it is not full returns the pre-
UARTxRBR
UART Port Controller
"UART DMA" on
register. Received data
UARTxTHR
) provides two status flags for
.
register is ready for new data
UARTxTHR
register is not read in time,
UARTxRBR
register and the overrun (
UARTxRBR
register.
UARTxTHR
regis-
UARTxRBR
UAR-
11-13

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SHARC ADSP-21368 and is the answer not in the manual?

Table of Contents