Analog Devices SHARC ADSP-214 Series Hardware Reference Manual page 801

Table of Contents

Advertisement

16-Bit SPI Packing
Figure 23-7
shows how a 16-bit SPI host packs 48-bit instructions at PM
addresses PMaddr0 and PMaddr1. For 16-bit hosts, two 16-bit words are
packed into the shift register to generate a 32-bit word. The 32-bit word
shifts to internal program memory during the kernel load.
The following code shows a 48-bit instruction executed:
[PMaddr0] 0x112233445566
[PMaddr1] 0x7788AABBCCDD
SPI_MOSI_I/SPI_MISO_I
Figure 23-7. 16-Bit SPI Master/Slave Packing
The 16-bit SPI host packs or prearranges the data as:
SPI word 1 =
0x5566
SPI word 2 =
0x3344
SPI word 3 =
0x1122
SPI word 4 =
0xCCDD
SPI word 5 =
0xAABB
SPI word 6 =
0x7788
The initial boot of the 256-word loader kernel requires a 16-bit host to
transmit 768 16-bit words. Two packed 16-bit words comprise the 32-bit
word. The SPI DMA count value of 0x180 is equivalent to 384 words.
Therefore, the total number of 16-bit words loaded is 768.
ADSP-214xx SHARC Processor Hardware Reference
www.BDTIC.com/ADI
32
32
DMA
System Design
32
Internal
Memory
23-19

Advertisement

Table of Contents
loading

Table of Contents