Hello all,
I am developing a speech enhancement application on an OMAP3530. I have successfully setup communication between the ARM and the DSP and I have also successfully performed an FFT/IFFT operation using DSPLIB.
Since, DSPLIB does not include necessary functions, such as sqrt, atan2, etc. I am using IQmath for processing the FFT data (extract magnitude and phase, etc.)
So, I transfered a buffer of type short from the ARM to the DSP, perform FFT using DSP_fft16x16 and then convert the output to _iq15 format and do some processing with the IQmath functions. At the final stage I want to use DSP_ifft16x16 to return my data to the time domain, transfer them back to the ARM and from there to the DAC.
The problem now is how to convert the _iq15 format back to short, since DSP_ifft16x16 expects an array of short. When I use the _iq15 array all I get at the output is noise, probably due to incompatibility between _iq15 and short types.
Is there a way to convert back and forth between those types, so I can use the vector processing functions of DSPLIB and the fixed-point math functions of IQmath?
Best regards,
Elias