AN2108 Freescale Semiconductor / Motorola, AN2108 Datasheet - Page 51
AN2108
Manufacturer Part Number
AN2108
Description
AN2108 Programming the DSP56307/DSP56311 EFCOP in C Using Taskings Tool Suite
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN2108.pdf
(52 pages)
- Current page: 51 of 52
- Download datasheet (489Kb)
} /* End of while loop */
#ifdef DSP_CORE
/*** Clear core ALU Saturation Mode and Rounding Mode ***/
#endif
/*** Check to make sure EFCOP has finished. (It will have!!) ***/
while(DSTR.B.DTD1 == 0)
{}
FCSR.I = 0x000000;
#ifdef DSP_CORE
/*** Write core output to file ***/
if (fwrite(&core_output[0], sizeof(_fract), L_SUBFR, fp_core_out) != L_SUBFR)
{
}
#endif
/*** Write EFCOP output to file ***/
if (fwrite(&efcop_output[0], sizeof(_fract), L_SUBFR, fp_efcop_out) != L_SUBFR)
{
}
/*** Update data history for next iteration ***/
for (i=0; i<M; i++)
{
}
_asm("bclr #20,SR");
/*** To Perform the same calculation on the core... ***/
/*** Call Residu() on core ***/
Residu(&coeffs_Y[0], &input[M], &core_output[0], (int)L_SUBFR);
printf ("Error writing EFCOP output data.\n");
exit(1);
input[i] = input[i+L_SUBFR]; /* Core buffer history.
printf ("Error writing core output data.\n");
exit(1);
/* Wait here until DMA Ch1 has finished */
Programming the DSP56307/DSP56311 EFCOP in C
Freescale Semiconductor, Inc.
For More Information On This Product,
/* Saturation Disabled */
/* Disable EFCOP */
Go to: www.freescale.com
*/
Code Listing for Residu Example
51
Related parts for AN2108
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola