AN2108 Freescale Semiconductor / Motorola, AN2108 Datasheet - Page 5

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
Disable the EFCOP.
Before filtering begins, the DSP56300 core does the
following:
Enable the EFCOP.
Table 2 lists the basic steps in programming the EFCOP, along with the register(s) involved in each step.
Initialize the control and status register and the ALU
control register.
Point to the start of the FCM.
Point to the start of the FDM.
Initialize the FCM buffer with the coefficients. Copy the
coefficients from the DSP56300 core to the FDM bank,
in reverse order.
Initialize the counter to N-1, where N is the length of
the filter.
Initialize the decimation/channel count.
Configure the EFCOP operation mode.
NOTE: The coefficients must be stored in reverse
order with respect to the input samples.
Table 2. Overview of Steps in Programming the EFCOP and Its Registers
Y:$FFFFB0
Y:$FFFFB1
Y:$FFFFB2
Y:$FFFFB3
Y:$FFFFB4
Y:$FFFFB5
Y:$FFFFB6
Y:$FFFFB7
Y:$FFFFB8
X:$0 .. X:$FFF
Y:$0 .. Y:$FFF
Step
Address
Programming the DSP56307/DSP56311 EFCOP in C
Freescale Semiconductor, Inc.
For More Information On This Product,
Table 1. EFCOP Memory Usage
Go to: www.freescale.com
Filter Data Input Register (FDIR)
Filter Data Output Register (FDOR)
Filter K-Constant Input Register (FKIR)
Filter Count Register (FCNT)
Filter Control/Status Register (FCSR)
Filter ALU Control Register (FACR)
Filter Data Buffer Base Address (FDBA)
Filter Coefficient Buffer Base Address (FCBA)
Filter Decimation/Channel Register (FDCH)
Filter Data Memory Bank (FDM)
Filter Coefficient Memory Bank (FCM)
Filter Control/Status Register (FCSR) FEN = 0
Filter Control/Status Register (FCSR) and
Filter ALU Control Register (FACR)
Filter Coefficient buffer Base Address (FCBA)
Filter Data Buffer Base Address (FDBA)
EFCOP Coefficient Buffer Base Address Register (FCBA)
Filter Data Buffer Base Address (FDBA)
Filter Count Register (FCNT)
Decimation/Channel Count Register (FDCH)
Filter Control/Status Register (FCSR) FEN = 1
Name
Register
EFCOP Overview
5

Related parts for AN2108