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-21161 SHARC Processors<br />

Table 4-4 shows how the DMA channel 10 parameter registers are initialized<br />

at reset for host boot. The internal count register (CEP0) is initialized<br />

to 0x0100 to transfer 256 words to internal memory. The DMAC10 control<br />

register is initialized to 0000 0161.<br />

The default value sets up external port transfers as follows:<br />

DEN = 1, external port enabled<br />

MSWF = 0, LSB first<br />

PMODE = 101, 8-bit to 48-bit packing<br />

DTYPE = 1, three column data<br />

Table 4-4. DMA Channel 10 Parameter Register for Host Boot<br />

Parameter Register Initialization Value<br />

IIEP0 0x0004 0000<br />

IMEP0 Uninitialized (increment by 1 is automatic)<br />

CEP0 0x0100 (256-instruction words)<br />

CPEP0 Uninitialized<br />

GPEP0 Uninitialized<br />

EIEP0 Uninitialized<br />

EMEP0 Uninitialized<br />

ECEP0 Uninitialized<br />

At system start-up, when the processor RESET input goes inactive, the following<br />

sequence occurs.<br />

1. The processor goes into an idle state, identical to that caused by the<br />

IDLE instruction. The program counter (PC) is set to address<br />

0x40004.<br />

2. The DMA parameter registers for channel 10 are initialized as<br />

shown in Table 4-4.<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 4-11

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

Saved successfully!

Ooh no, something went wrong!