AN2108 Freescale Semiconductor / Motorola, AN2108 Datasheet - Page 8

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
3
3.1 File Requirements for Programming the EFCOP
8
TASKING Tool Suite
6. Initialize the Decimation/Channel Count (FDCH) register.
7. Initialize the EFCOP filter coefficients (copy from the DSP56300 core to the FDM bank, in reverse
8. Enable the EFCOP (set the FEN bit of the FCSR).
9. Initialize data transfers to and from the EFCOP (using polling, DMA or interrupts).
TASKING’s DSP563xx Tool Suite is a high-level development system that implements high-level
language applications (C/C++) and runs them efficiently on the DSP56300 family of processors. You can
use the highly flexible TASKING Tools Suite to program the DSP peripherals, DSP interrupt service
routines, DMA transfers and, for the DSP56307/DSP56311, the EFCOP. The TASKING Tools Suite is
accessed from the TASKING Embedded Development Environment (EDE). It includes a compiler,
assembler, linker, locator, and debugger. Figure 5 shows the overall suite, which is customized for the
application discussed here. The examples in this document are all implemented from the EDE and run on a
DSP56307 Evaluation Module (EVM).
The TASKING Tools Suite uses different configuration files depending on the target hardware. These files
are “description” files that define device-specific attributes such as memory sizes, speed, and so on. They
also define sections and locate the program and data words of an application into memory. For the
DSP56307EVM, the TASKING-defined description files are
56307evm.mem
for use of the EFCOP because some applications do not need a dedicated filter coprocessor. To use the
EFCOP, you need the following slightly modified versions of these files:
TASKING provides these EFCOP description files. The key modifications pertain to the section location
of the FDM and FCM buffers in the bottom 4K of memory at a modulo 2 address—for example, “section
.xbssFDM_buffer” and “section .ybss.FCM_buffer,” which reside in the description file
All examples in this application note use the three
into the application environment. To use these description files, you must set up the linker options in the
EDE environment as follows:
2. For details on TASKING, contact [6]. For details on the EDE tools suite, refer to [6],[7], and [8].
3. For details on the description files, refer to [7].
TASKING Tool Suite
order).
Efcopdma.dsc
Efcopdma.cpu
Efcopdma.mem
Target Hardware configuration: DSP56307, Unified Memory Map
Select
Use Project specific locator control file
.
3
These files are for general-purpose use of the DSP56307 processor and do not provide
Programming the DSP56307/DSP56311 EFCOP in C
Freescale Semiconductor, Inc.
For More Information On This Product,
2
Go to: www.freescale.com
Efcopdma.xxx
, and write
56307evm.dsc
files, and these files must be included
efcopdma
,
.
56307evm.cpu
Efcopdma.dsc
, and
.

Related parts for AN2108