Chain Assignment - Analog Devices SHARC ADSP-214 Series Hardware Reference Manual

Table of Contents

Advertisement

Table 2-27. Principal TCB Allocation for a Serial Peripheral (Cont'd)
Address
CPx + 0x2 (IMx)
CPx + 0x3 (IIx)

Chain Assignment

The structure of a TCB is conceptually the same as that of a traditional
linked-list. Each TCB has several data values and a pointer to the next
TCB. Further, the chain pointer of a TCB may point to itself to continu-
ously re run the same DMA. The I/O processor reads each word of the
TCB and loads it into the corresponding register.
Programs must assign the TCB in memory in the order shown in
Figure 2-3
and
pointed to by the chain pointer register of the previous DMA operation of
the chain. The end of the chain (no further TCBs are loaded) is indicated
by a TCB with a chain pointer register value of zero.
T CB 1
I I x
IMx
C x
C P x
Figure 2-3. Chaining in the SPI and Serial Ports
The address field of the chain pointer registers is only 19 bits wide. If a
program writes a symbolic address to bit 19 of the chain pointer there may
be a conflict with the
address then AND the
Clear the chain pointer register before chaining is enabled.
ADSP-214xx SHARC Processor Hardware Reference
www.BDTIC.com/ADI
Register
Internal modify register
Internal index register
Listing
2-1, placing the index parameter at the address
T CB 2
I I x
I M x
Cx
C P x
bit. Programs should clear the upper bits of the
PCI
bit separately, if needed, as shown below.
PCI
I/O Processor
Description
Stride for internal buffer
Internal memory buffer
If pointing to zero,
chain operation ends
2-33

Advertisement

Table of Contents
loading

Table of Contents