Core Dma Access; Host Requests - Freescale Semiconductor DSP56311 User Manual

24-bit digital signal processor (dsp)
Hide thumbs Also See for DSP56311:
Table of Contents

Advertisement

Host Interface (HI08)
Note:
When the DSP enters Stop mode, the HI08 pins are electrically disconnected
internally, thus disabling the HI08 until the core leaves Stop mode. Do not issue a
STOP command via the HI08 unless some other mechanism for exiting this mode is
provided.

6.4.3 Core DMA Access

The DSP56300 family Direct Memory Access (DMA) controller permits transfers between
internal or external memory and I/O without any core intervention. A DMA channel can be set up
to transfer data to/from the HTX and HRX data registers, freeing the core to use its processing
power on functions other than polling or interrupt routines for the HI08. DMA may well be the
best method to use for data transfers, but it requires that one of the six DMA channels be
available for use. Two HI08 DMA sources are possible, as Table 6-4 shows. Refer to the
DSP56300 Family Manual to learn about DMA accesses.
Requesting Device
Host Receive Data Full (HRDF = 1)
Host Transmit Data Empty (HTDE = 1)
Note:
DMA transfers do not access the host bus. The host must determine when data is
available in the host-side data registers using an appropriate polling mechanism.

6.4.4 Host Requests

A set of signal lines allow the HI08 to request service from the host. The request signal lines
normally connect to the host interrupt request pins (IRQx) and indicate to the host when the DSP
HI08 port requires service. The HI08 can be configured to use either a single Host Request
(HREQ) line for both receive and transmit requests or two signal lines, a Host Transmit Request
(HTRQ) and a Host Receive Request (HRRQ), for each type of transfer.
Host requests are enabled on both the DSP-side and host-side. On the DSP side, the HPCR Host
Request Enable bit (HPCR[4] = HREN) is set to enable host requests. On the host side, clearing
the ICR Double Host Request bit (ICR[2] = HDRQ) configures the HI08 to use a single request
line (HREQ). Setting the ICR[2] = HDRQ bit enables both transmit and request lines to be used.
Further, the host uses the ICR Receive Request Enable bit (ICR[0] = RREQ) and the ICR
Transmit Request Enable bit (ICR[1] = TREQ) to enable receive and transmit requests,
6-8
Table 6-4. DMA Request Sources
DSP56311 User's Manual, Rev. 2
DCRx[15–11] = DRS[4–0]
10011
10100
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents