
Operating Modes
20-8
ADSP-214xx SHARC Processor Hardware Reference
Operating Modes
The two UART operation modes are described in the following sections.
Data Packing
The UART provides packed and unpacked modes of data transfer to and
from the internal memory of the processors. This mode is set using the
UARTPACK
bit (bit 0) in the
UARTMODE
register. In unpacked mode, the data
word is appended to the left with 24 zeros during transmission or recep-
tion. In packed mode, two words of data are transmitted or received with
their corresponding higher bytes filled with zeros. For example, consecu-
tive data words 0xAB and 0xCD are packed as 0x00CD 00AB in the
receiver, and 0x00CD 00AB is transmitted as two words of 0xAB and
0xCD successively from the transmitter. Packing is available in both I/O
and DMA modes. A control bit,
UARTPKSYN
, can be used to re synchronize
the packing. For information on using the UART for DMA transfers, see
The packed feature is provided to use the internal memory of the
processor in a more efficient manner.
Note that in packed mode, both the transmitter and receiver operate with
an even number of words. A transmit-buffer-empty or receive-buffer-full
interrupt is generated only after an even number of words are transferred.
Programs must use care when using the packing feature in 9-bit
mode.
9-Bit Transmission Mode
To select 9-bit transmission mode in the transmitter, set the
TX9
bit in the
UART_MODE
register and the
UAEN
bit in the
UART_TXCTL
register (to enable
transmission). The 9-bit data (TX9D) can be directly written to the
UART_THR
buffer – either in packed or unpacked format. The UART
www.BDTIC.com/ADI
Summary of Contents for SHARC ADSP-214 Series
Page 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...