Motorola DSP56012 User Manual

Page of 270
 
4-42
DSP56012 User’s Manual 
MOTOROLA
Parallel Host Interface
Host Interface (HI)
4.4.8
Host Interface Application Examples
The following paragraphs describe examples of initializing the HI, transferring data 
with the HI, bootstrapping via the HI, and performing DMA transfers through the 
HI.
4.4.8.1
HI Initialization
Initializing the HI takes two steps (see 
DSP side of the HI, which requires that the options for interrupts and flags be 
selected and then the HI be selected (see 
is for the host processor to clear the HC bit by writing the CVR, select the data 
transfer method-polling, interrupts, or DMA (see 
processor). 
general description of how to initialize the HI. Later paragraphs in this section 
provide more detailed descriptions of specific examples. These subsections include 
some code fragments illustrating how to initialize and transfer data using the HI.
Figure 4-18  HI Initialization Flowchart
Step 1
The DSP CPU initializes the DSP side 
of the HI by writing:
1) HCR at X:$FFE8 and
2) PBC at X:$FFE0
STEP 2
The Host Processor initializes the host 
side of the HI by writing:
1) ICR at $0 and/or
2) CVR at $1 and/or
3) IVR at $3
AA0326k