Toshiba TX49 TMPR4937 Manual page 416

64-bit tx system risc
Table of Contents

Advertisement

14.3.6.2 DMA Channel Mapping
ACLC uses four DMA request channels. These DMA channels are allocated to four out of
seven data-streams, or slots, on the AC-link frame, according to ACLC DMA Channel Selection
Register (ACDMASEL) setting as shown in Table 14.3.1. The pin configuration register allocates
these DMA channels of ACLC to the DMAC (DMA controller) channels according to Pin
Configuration Register (PCFG)'s DMA Request Selection (DMASEL[7:0]) bits as described in
section 8.3.1.
Table 14.3.1 DMA Channel Mapping Modes
AC-link Slot Number
PCM L&R out (3&4)
Surround L&R out (7&8)
Center out (6)
LFE out (9)
PCM L&R in (3&4) or Mic in (6)
Modem Line1 out (5)
Modem Line 1 in (5)
14.3.6.3 Sample-data Format
ACLC transmits/receives 16 bits per sample for each data slot shown in Table 14.3.1. The data
resides on the first 16 bits of the 20 bits assigned to each slot on AC-link. Each sample-data
register allows access by word (32-bit) unit only. Therefore the DMA count must be a multiple of
word. Note that the transmit-data DMA count also must be the FIFO depth (refer to Table 14.3.8)
or more for a reason described later.
For audio PCM front and surround streams, every data-word is loaded with a couple of left and
right samples. For audio MIC stream, valid data is loaded in the same field as the left sample
while the other field is filled with '0'. For audio center, LFE, and modem line 1 streams, two
consecutive samples are packed into every word.
The data format at the sample-data register is arranged so that the data format on the DMA
buffer follows the rules below.
Each sample data is put in the byte order in which the CPU operates (big- or little-endian).
Samples are put in the time-sequential order at increasing addresses on memory.
For a DMA channel which couples left and right samples, each left sample precedes the
corresponding right sample.
Refer to the sections 14.4.16 and later for the register format.
Chapter 14 AC-link Controller
ACDMASEL
0
1
ACLC ch0
ACLC ch0
ACLC ch1
ACLC ch1
ACLC ch2
ACLC ch2
ACLC ch3
ACLC ch3
14-10
2
3
ACLC ch0
ACLC ch0
ACLC ch1
ACLC ch1
ACLC ch2
ACLC ch3
ACLC ch3
ACLC ch2

Advertisement

Table of Contents
loading

Table of Contents