AN2108 Freescale Semiconductor / Motorola, AN2108 Datasheet - Page 21

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
6.1 Software Installation and Concepts
6.2 FIR Filter
Create a directory for the software (for example,
extract the software into the
efcop_fir
out
Each directory contains the C source file(s) and the files required for program configuration,
Efcopdma.cpu
perform the following operations:
1. Include the C file(s) in the project, as appropriate.
2. Set the DSP56307 EVM as the target DSP (within the EDE pull-down menu,
3. Within the same menu, click on
The application is now ready to compile,
high-level debugger can be launched to run the code on the DSP56307 EVM. The application reads input
samples from existing data files in the
out
application results. However, this process is specific to each application and is therefore further explained
in the relevant sections that follow.
In an FIR filter implementation using the EFCOP, to minimize DSP56300 core intervention, the DMA
controller feeds the input data samples to the EFCOP and retrieves output data samples from the EFCOP.
The DSP56300 core is used only to set the EFCOP and the DMA modes and then to activate them.
6.
7. See Section 4, Transferring Data to and from the EFCOP, on page 11 for details on the DMA approach.
The C Code for this example (
Options/Target Hardware
the window.
and
directory. These output files can then be compared to reference output files in
tvecs
DSP56307
,
efcop_firlms
, as represented in Figure 10.
,
Efcopdma.dsc
Figure 10. Directory Structure for the Filtering Examples
Programming the DSP56307/DSP56311 EFCOP in C
Freescale Semiconductor, Inc.
For More Information On This Product,
DSP56307
, and
).
fir.c
, and
efcop_residu
Go to: www.freescale.com
Use Project Specific Locator Control File
tvecs
Efcopdma.mem
efcop_residu
) is listed in Appendix A.
directory. This operation creates three directories called
efcop_firlms
6
efcop_fir
and if the compilation is successful, the CrossView Pro [8]
directory and stores the filtered results in output files in the
DSP56307
. Within each directory, two subdirectories are created:
. After creating a project for each application,
), unzip the
tvecs
tvecs
tvecs
out
out
out
EFCOP_examples.zip
and type
Linker/Locator
Application Examples
tvecs
Efcopdma
to verify the
file, and
7
The
into
21

Related parts for AN2108