AN2108 Freescale Semiconductor / Motorola, AN2108 Datasheet - Page 45

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
Appendix C
/*********************************************************************
#include <reg56307.h>
#include <stdio.h>
#include <stdlib.h>
#include "cnst.h"
#include "resu.h"
#define DSP_CORE
/* -----------------------*
/* EFCOP coefficient and input data history buffers
_fract _Y _circ FCM_buffer[M+1];
_fract _X _circ FDM_buffer[M+1];
/* Other data buffers
*
* FILENAME:
*
* DESCRIPTION:
*
*
* PROJECT:
*
* COPYRIGHT:
*
* NOTES:
*
*
*
*
*
*
*********************************************************************/
*
* -----------------------*/
(Located in bottom 4K, as specified in "efcopdma.dsc") */
Declare data buffers
run_resu.c
Test harness for running GSM EFR Residu() on both
the core and on the EFCOP.
residu.pjt
MOTOROLA 1999.
1) DMA is used for sending data to and retrieving
2) 16/24 mode is used, since calculation of
data from the EFCOP.
residu on the core needs 16-bit arithmetic.
(Still need 24-bit addresses for on-chip
peripherals.)
Programming the DSP56307/DSP56311 EFCOP in C
Freescale Semiconductor, Inc.
For More Information On This Product,
*
Code Listing for Residu Example
Go to: www.freescale.com
Code Listing for Residu Example
45

Related parts for AN2108