ADSP-214xx SHARC Processor Hardware Reference
10-45
Serial Ports
Each transmitter and receiver has its own DMA registers. The same DMA
channel drives the left and right I
2
S channels for the transmitter or the
receiver. The software application must stop multiplexing the left and
right channel data received by the receive buffer, because the left and right
data are interleaved in the DMA buffers.
Channel A and B on each SPORT share a common interrupt vector. The
DMA controller generates an interrupt at the end of DMA transfer only.
shows the relationship between frame sync
(word select), serial clock, and I
2
S data. Timing for word select is the same
as for frame sync.
The value of the
SPTRAN
bit in
SPCTLx
(0 =
RX
, 1 =
TX
) determines whether
the receive or transmit register for the SPORT becomes active.
The SPORT DMA channels are assigned higher priority than all other
DMA channels (for example, the SPI port) because of their relatively low
service rate and their inability to hold off incoming data. Having higher
priority causes the SPORT DMA transfers to be performed first when
multiple DMA requests occur in the same cycle. The serial port DMA
channels are numbered and prioritized as shown in
Although the DMA transfers are performed with 32-bit words, serial ports
can handle word sizes from 3 to 32 bits, with 8 to 32 bits for I
2
S mode. If
serial words are 16 bits or smaller, they can be packed into 32-bit words
for each DMA transfer. DMA transfers are configured using the
PACK
bit
in the
SPCTLx
registers. When serial port data packing is enabled (
PACK
=
1), the transmit and receive interrupts are generated for the 32-bit packed
words, not for each 16-bit word.
External Memory DMA Transfers
In previous SHARC processors, transferring data from a SPORT to exter-
nal memory required placing that data temporarily in internal memory
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...