Function Descriptions
3.5 Complex Fast Fourier Transform Phase
Description:
This module computes FFT Phase.
Header File:
FPU.h
Declaration:
void CFFT_f32_phase (CFFT_F32_STRUCT
*
)
Usage:
A pointer to the following structure is passed to the CFFT_f32_phase function.It is the same
structure described in the CFFT_f32 section:
typedef struct {
float32
*
InPtr;
float32
*
OutPtr;
float32
*
CoefPtr;
float32
*
CurrentInPtr;
float32
*
CurrentOutPtr;
Uint16 Stages;
Uint16 FFTSize;
} CFFT_F32_STRUCT;
Table 3.2 describes each element.
Alignment Requirements:
The Phase buffer requires no alignment but the input buffer to the complex FFT routine will
need alignment if using the CFFT_f32().
Notes:
1. All buffers and stack are placed in internal memory (zero-wait states in data space).
2. The phase function calls the atan2 function in the runtime-support library. The
phase function has not been optimized at this time.
3. The use of the atan2 function in the FPUfastRTS library will speed up this routine.
The example for the CFFT has an alternate build configuration (Debug_FASTRTS)
where the rts2800_fpu32_fast_supplement.lib is used in place of the standard run-
time library rts2800_fpu32.lib.
Sep 10, 2012 21