AN2108 Freescale Semiconductor / Motorola, AN2108 Datasheet - Page 26

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
26
Application Examples
Figure 14. Processing Steps by firlms.c to Implement an Adaptive FIR Filter
Read x(n) and d(n) signals
transferring x(n) samples
Initialize FCM & FDM
No
Perform other tasks
Main program flow
Unmask interrupts
Set up DMA 0 for
Write output data
performs filtering
Initialize EFCOP
Error signal, e(k),
Output signal, y(k)
Coefficients, w(k)
Enable EFCOP
Enable DMA 0
while EFCOP
FDOIE=0?
Yes
from files
to FDIR
Programming the DSP56307/DSP56311 EFCOP in C
to file:
Start
End
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
FDOIE = 0
Yes
Read y(n) from FDOR
e(n) = d(n) - y(n)
Initialize EFCOP
Interupt routine
Last sample?
Ke = 2me(n)
No
lms_isr
RTI

Related parts for AN2108