AN2269 Freescale Semiconductor / Motorola, AN2269 Datasheet - Page 8

no-image

AN2269

Manufacturer Part Number
AN2269
Description
Interconnecting MPC8260 and MSC8101 ADS Boards Using DMA Transfers Across a 60x Bus
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
HDI16 Device Configuration, Synchronization, and Set-Up
3.1 Device Synchronization
8
1
2
3
4
5
6
7
8
Destination
32 Bytes
32 Bytes
SDRAM
Figure 3. DMA Transfer Interaction Between the Host MPC8260 and the HDI16 MSC8101 Devices
Source
An Rx FIFO empty (HTRQ) write request is issued.
IDMA1:DREQ assertion: DMA write request triggers transfer.
When 8 bytes are in the DPR buffer and HTRQ is asserted, the IDMA transfers data to the 60x system bus.
An HDI16 write triggers a DMA transfer to memory.
When a 32-byte buffer is full, an interrupt triggers a DMA transfer to the Tx FIFO.
A Tx FIFO not empty (HRRQ) DMA read request is issued.
IDMA2:DREQ assertion triggers a transfer.
When 32 bytes are in the DPR buffer, the IDMA transfers data to SDRAM.
MPC8260 Host
Destination
8
32 Bytes
To synchronize the host and HDI16 software communications, we use host flags to monitor the status of
the communications. We can access eight HDI16 Host Flags (HF) by polling from the host and HDI16
devices. Either the SC140 core or the host can set or clear these “general-purpose flags” for
HDI16-to-host communications. If any of
may indicate an application-specific state within the HDI16 or host requiring intervention by the host
processor or the HDI16 processor. The values of
• For the HDI16 SC140 core side, in the Host Control (HCR) and Host Status (HSR) registers
• For the host side, in the Interface Control (ICR) and in the Interface Status (ISR) registers
For example, if the HDI16 MSC8101 software modifies these HF values, the host MPC8260 can read the
modified values by reading the ISR.
HDI16-to-host communication protocol, implemented in both the HDI16 MSC8101 software and host
IDMA DPR Buffers
2
IDMA 1
IDMA 2
32 Bytes
32 Bytes
Freescale Semiconductor, Inc.
For More Information On This Product,
32 Bytes
32 Bytes
Source
Go to: www.freescale.com
7
HF[0–7]
6
HF[0–7]
3
can be used individually or as encoded pairs in a simple
HF[0–3]
is set, depending on how the host flags are used, this
1
and
HF[4–7]
HDI16
Rx Register
Tx Register
Rx FIFO
Tx FIFO
HDI16 (DSP-Side) MSC8101
are reflected as follows:
5
4
Internal
32 Bytes
SRAM
Source

Related parts for AN2269