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 />

Packing <strong>and</strong> Padding Details<br />

For ZERO_INIT sections in a .dxe file, no data packing or padding in the<br />

.ldr file is required because only the header itself is included in the .ldr<br />

file. However, for other section types, additional data manipulation is<br />

required. It is important to note that in all cases, the word count placed<br />

into the block header in the loader file is the original number of words.<br />

That is, the word count does not include the padded word.<br />

SPI Port Boot Modes<br />

The ADSP-2126x/2136x/2137x SHARC processor supports booting from<br />

a host processor via serial peripheral interface slave mode (BOOT_CFG1–0 =<br />

00), <strong>and</strong> booting from an SPI flash, SPI PROM, or a host processor via<br />

SPI master mode (BOOT_CFG1–0 = 01). SPI slave boot mode is discussed<br />

on page 5-9, <strong>and</strong> SPI master boot modes are discussed on page 5-10.<br />

Both SPI boot modes support booting from 8-, 16-, or 32-bit SPI devices.<br />

In all SPI boot modes, the data word size in the shift register is hardwired<br />

to 32 bits. Therefore, for 8- or 16-bit devices, data words are packed into<br />

the shift register (RXSPI) to generate 32-bit words least significant bit<br />

(LSB) first, which are then shifted into internal memory.<br />

For 16-bit SPI devices, two words shift into the 32-bit receive shift register<br />

(RXSR) before a DMA transfer to internal memory occurs. For 8-bit SPI<br />

devices, four words shift into the 32-bit receive shift register before a<br />

DMA transfer to internal memory occurs.<br />

When booting, the ADSP-2126x/2136x/2137x processor expects to<br />

receive words into the RXSPI register seamlessly. This means that bits are<br />

received continuously without breaks in the CS link. For different SPI host<br />

sizes, the processor expects to receive instructions <strong>and</strong> data packed in a<br />

least significant word (LSW) format.<br />

5-8 <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!