beautypg.com

Figure419 hi initialization—dsp side, Figure 4-19, Hi initialization—dsp side -43 – Motorola DSP56012 User Manual

Page 123: Figure 4-19 hi initialization — dsp side

background image

Parallel Host Interface

Host Interface (HI)

MOTOROLA

DSP56012 User’s Manual

4-43

Figure 4-19 HI InitializationDSP Side

X:$FFE8

Host Control Register (HCR)
(Read/Write)

6.Select Port B For HI Port Operation:

X:$FFEC

Reserved; write as 0.

Note:

1.

The host flags are general-purpose semaphores. They are not required for host
port operation but can be used in some applications.

STEP 1 of HI Port Configuration

1.Enable/Disable
Host Receive Data Full Interrupt
Enable Interrupt:Bit 0 = 1
Disable Interrupt:Bit 0 = 0

2.Enable/Disable
Host Transmit Data Empty Interrupt
Enable Interrupt: Bit 1 = 1
Disable Interrupt: Bit 1 = 0

3.Enable/Disable
Host Command Pending Interrupt
Enable Interrupt: Bit 2 = 1
Disable Interrupt: Bit 2 = 0

4.Set/Clear
Host Flag 2 (Optional)
Enable Flag: Bit 3 = 1
Disable Flag: Bit 3 = 0

5.Set/Clear
Host Flag 3 (Optional)
Enable Flag: Bit 4 = 1
Disable Flag: Bit 4 = 0

HF3

HF2 HCIE HTIE HRIE

7

0

BC

1

BC

0

15

0

6

5

4

3

2

1

AA0327