Host To Dsp-Internal Processing; Figure 4-36 Dma Transfer And Hi Interrupts - Motorola DSP56012 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

XFEREQ
DMA
CONTROLLER
XFERACK
24-BIT TRANSFER
(INTERNAL COUNTER)
16-BIT TRANSFER
(INTERNAL COUNTER)
8-BIT TRANSFER
(INTERNAL COUNTER)
4.4.8.3.1
Host to DSP—Internal Processing
The following procedure outlines the steps that the HI hardware takes to transfer
DMA data from the host data bus to DSP memory (see Figure 4-36 and Figure 4-37
on page 4-63).
1. Host asserts the HOREQ pin when TXDE = 1.
2. DMA controller enables data on H0–H7 and asserts HACK.
3. When HACK is asserted, the host deasserts HOREQ.
4. When the DMA controller deasserts HACK, the data on H0–H7 is latched into
the TXH, TXM, TXL registers.
5. If the byte register written was not TXL (i.e., not $7), the DMA address counter
internal to the HI increments and HOREQ is again asserted. Steps 2–5 are then
repeated.
6. If TXL ($7) was written, TXDE will be cleared and the address counter in the
HI will be loaded with the contents of HM1 and HM0. When TXDE = 0, the
contents of TXH:TXM:TXL are transferred to HORX (provided that
HRDF = 0). After the transfer to HORX, TXDE will be set, and HOREQ will be
asserted to start the transfer of another word from external memory to the HI.
MOTOROLA
H
M
(01)
(10)
M
L
(10)
(11)
L
L
(11)
(11)
FAST INTERRUPT ROUTINE
P:$0030 MOVE X:$FFE8, A READ HORX
P:$0031 MOVE A, Y:(R7)+; AND PUT INTO Y MEMORY

Figure 4-36 DMA Transfer and HI Interrupts

DSP56012 User's Manual
L
H
M
(11)
(01)
(10)
M
L
M
(10)
(11)
(10)
L
L
L
(11)
(11)
(11)
Parallel Host Interface
Host Interface (HI)
HOREQ
DSP56012
HACK
L
(11)
L
(11)
HOST
RECEIVE
INTERRUPT
L
(11)
AA0342.11
4-61

Advertisement

Table of Contents
loading

Table of Contents