25.12.2012 Views

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Loader</strong> for ADSP-2126x/2136x/2137x SHARC Processors<br />

See the manual for the target SHARC processor peripherals for information<br />

on how data is packed into internal memory during SPI booting for<br />

SPI devices with widths of 32, 16, or 8 bits.<br />

SPI Slave Boot Mode<br />

In SPI slave boot mode, the host processor initiates the booting operation<br />

by activating the SPICLK signal <strong>and</strong> asserting the SPIDS signal to the active<br />

low state. The 256-word boot kernel is loaded 32 bits at a time, via the<br />

SPI receive shift register. To receive 256 instructions (48-bit words) properly,<br />

the SPI DMA initially loads a DMA count of 384 32-bit words,<br />

which is equivalent to 256 48-bit words.<br />

� The<br />

processor’s SPIDS pin should not be tied low. When in SPI<br />

slave mode, including booting, the SPIDS signal is required to transition<br />

from high to low. SPI slave booting uses the default bit<br />

settings shown in Table 5-5.<br />

Table 5-5. SPI Slave Boot Bit Settings<br />

Bit Setting Comment<br />

SPIEN Set (= 1) SPI enabled<br />

MS Cleared (= 0) Slave device<br />

MSBF Cleared (= 0) LSB first<br />

WL 10, 32-bit SPI Receive Shift register word length<br />

DMISO Set (= 1) MISO MISO disabled<br />

SENDZ Cleared (= 0) Send last word<br />

SPIRCV Set (= 1) Receive DMA enabled<br />

CLKPL Set (= 1) Active low SPI clock<br />

CPHASE Set (= 1) Toggle SPICLK at the beginning of the first bit<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 5-9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!