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
Figure 4-18
). The first step is to initialize the
DSP side of the HI, which requires that the options for interrupts and flags be
selected and then the HI be selected (see
Figure 4-19
on page 4-43). The second step
is for the host processor to clear the HC bit by writing the CVR, select the data
transfer method-polling, interrupts, or DMA (see
Figure 4-25
on page 4-48 and
Figure 4-26
on page 4-50), and write the IVR (in the case of an MC680XX family host
processor).
Figure 4-19
on page 4-43 through
Figure 4-22
on page 4-46 provide a
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
Содержание DSP56012
Страница 12: ...xii Motorola ...
Страница 20: ...xx Motorola ...
Страница 21: ...MOTOROLA DSP56012 User s Manual 1 1 SECTION 1 OVERVIEW ...
Страница 40: ...1 20 DSP56012 User s Manual MOTOROLA Overview DSP56012 Architectural Overview ...
Страница 41: ...MOTOROLA DSP56012 User s Manual 2 1 SECTION 2 SIGNAL DESCRIPTIONS ...
Страница 61: ...SECTION 3 MEMORY OPERATING MODES AND INTERRUPTS ...
Страница 81: ...MOTOROLA DSP56012 User s Manual 4 1 SECTION 4 PARALLEL HOST INTERFACE ...
Страница 148: ...4 68 DSP56012 User s Manual MOTOROLA Parallel Host Interface Host Interface HI ...
Страница 149: ...MOTOROLA DSP56012 User s Manual 5 1 SECTION 5 SERIAL HOST INTERFACE ...
Страница 179: ...MOTOROLA DSP56012 User s Manual 6 1 SECTION 6 SERIAL AUDIO INTERFACE ...
Страница 205: ...MOTOROLA DSP56012 User s Manual 7 1 SECTION 7 GPIO ...
Страница 210: ...7 6 DSP56012 User s Manual MOTOROLA GPIO GPIO Register GPIOR ...
Страница 211: ...MOTOROLA DSP56012 User s Manual 8 1 SECTION 8 DIGITAL AUDIO TRANSMITTER ...
Страница 226: ...8 16 DSP56012 User s Manual MOTOROLA Digital Audio Transmitter DAX Programming Considerations ...
Страница 233: ...MOTOROLA DSP56012 User s Manual B 1 APPENDIX B PROGRAMMING REFERENCE ...