Texas Instruments TMS320TCI648x 사용자 설명서

다운로드
페이지 256
www.ti.com
CPPI block
CPU
DMA
Config bus access
L2 memory
Buffer
descriptor
dual-port
SRAM
(Nx20B)
Data buffer
Peripheral boundary
32
32
32
128
CPPI control
registers
2.3.4.2
TX Operation
SRIO Functional Description
Figure 21. CPPI Boundary Diagram
Outgoing messages are handled similarly, with buffer descriptor queues that are assigned by the CPUs.
The queues are configured and initialized upon reset. When a CPU wants to send a message to an
external RapidIO device, it writes the buffer descriptor information via the configuration bus into the
SRAM. Again, there is a single buffer descriptor per RapidIO message. Upon completion of writing the
buffer descriptor, the OWNERSHIP bit is set to give control to the peripheral. The CPU then writes the TX
DMA State HDP register to initiate the queue transmit. For TX operation, PortID is specified to direct the
outgoing packet to the appropriate port.
and
describe the TX DMA state registers.
shows the TX buffer descriptor fields and
describes them. A TX buffer descriptor is a
contiguous block of four 32-bit data words aligned on a 32-bit boundary.
Table 19. TX DMA State Head Descriptor Pointer (HDP) (Address Offset 500h–53Ch)
Bit
Name
Description
31–0
TX Queue Head
TX Queue Head Descriptor Pointer: This field is the DSP core memory address for the first buffer
Descriptor Pointer
descriptor in the transmit queue. This field is written by the DSP core to initiate queue transmit
operations and is zeroed by the port when all packets in the queue have been transmitted. An error
condition results if the DSP core writes this field when the current field value is nonzero. The
address must be 32-bit word aligned.
SPRUE13A – September 2006
Serial RapidIO (SRIO)
51