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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ADSP-2126x/2136x/2137x Processor Booting<br />

SPI Master <strong>and</strong> SPI Slave. When loading to other slave devices, the SPI<br />

master <strong>and</strong> SPI slave boot types do not need bit reversing necessarily. For<br />

SPI slave <strong>and</strong> SPI master boots to non-PROM devices, the same default<br />

exists (bit-reversed); however, the host (master or slave) can simply be<br />

configured to transmit LSB first.<br />

Initial Word Option for SPI Master Boot Modes<br />

Before final formatting (binary, include, etc.) the loader must prepends<br />

the word 0xA5 to the beginning of the byte stream. During SPI master<br />

booting, the SPI port discards the first byte read from the SPI.<br />

SPI PROM. For the SPI PROM boot type, the word 0xA5 prepended to<br />

the stream is one byte in length. SPI PROMs receives a 24-bit read comm<strong>and</strong><br />

before any data is sent to the processor, the processor then discards<br />

the first byte it receives after this 24-bit opcode is sent (totaling one 32-bit<br />

word).<br />

SPI Master. For the SPI master boot type, the word 0xA5000000<br />

prepended to the stream is 32 bits in length. An SPI host configured as a<br />

slave begins sending data to the processor while the processor is sending<br />

the 24-bit PROM read opcode. These 24-bits must be zero-filled because<br />

the processor discards the first 32-bit word that it receives from the slave.<br />

� The<br />

0xA5 byte is only required for SPI master boot mode.<br />

Figure 5-2 <strong>and</strong> Table 5-9 illustrates the first 32-bit word for both the SPI<br />

PROM <strong>and</strong> SPI master cases.<br />

With bit reversing for SPI master boot mode, the 32-bit word is h<strong>and</strong>led<br />

according to the host width. With bit reversing for SPI PROM boot, the<br />

8-bit word is reversed as a byte <strong>and</strong> prepended (see Table 5-10).<br />

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

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

Saved successfully!

Ooh no, something went wrong!