AN2108 Freescale Semiconductor / Motorola, AN2108 Datasheet - Page 35

no-image

AN2108

Manufacturer Part Number
AN2108
Description
AN2108 Programming the DSP56307/DSP56311 EFCOP in C Using Taskings Tool Suite
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
DCR1.B.DE
DCR0.B.DE
FCSR.B.FEN = 0x1;/* Enable EFCOP
/* -------------------------------------------------- *
/* Other processing tasks are performed here */
/* -------------------------------------------------- *
while ( DSTR.B.DTD1 == 0x0 )
{} /* Wait here until output DMA (Ch1) finishes */
/* ------------------------------------------------------------- *
*
*
*
* -------------------------------------------------------- */
*
* -------------------------------------------------- */
*
* -------------------------------------------------- */
*
*
*
*
*
* ------------------------------------------------------------- */
Check FCONT for contention between EFCOP and Core.
N.B. If it is known that the core’s activities cannot cause
/* -------------------------------------------------------- *
Core can now perform other processing tasks
Enable EFCOP and DMA channels.
(DMA Ch1 first, to allow at least 2 cycles to
Wait for output DMA transfer to finish
occur before checking DTD1 bit.)
contention between the EFCOP and the core, the above
checking of FCONT can be omitted.
/* DPR
/* DCON = 0
/* DRS
/* D3D
/* DAM
/* DDS
/* DSS
= 0x1;/* Enable DMA Channel 1
= 0x1;/* Enable DMA Channel 0
= 10
= 10110
= 0
= 101100 (DMA Addressing Mode:
= 00
= 01
Programming the DSP56307/DSP56311 EFCOP in C
Freescale Semiconductor, Inc.
For More Information On This Product,
(Priority = 2)
(Continuous mode not needed
(DMA Request is MDRQ12: EFCOP FDOBF) */
(Disable 3D mode)
(Dest (output[]) is in X memory)
(Source (FDOR) is in Y memory)
Go to: www.freescale.com
Source = 100 (No update)
Dest
= 101 (Post Inc by 1)
*/
*/
*/
*
*
Code Listing for FIR Filtering Example
*
*
*
) */
*/
*/
*/
*/
*/
*
*
*
*
**
35

Related parts for AN2108