We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,I'm currently using CMSIS DSP Lib for my STM32F105R8T6 (Cortex - M3). I tried to run Q15 CIFFT Radix-2 function but the result is quite weird ( max value = 11 ??? while my input signal's amplitude = 1 ( 32767 in Q15 format )). This is my code :status = arm_cfft_radix2_init_q15(&CFFT_R2_Q15, CfftLen, CifftFlagOFF, bitRevf) ; // instance for calculating fft(x) arm_cfft_radix2_q15(&CFFT_R2_Q15, x) ; // calculate fft status = arm_cfft_radix2_init_q15(&CIFFT_R2_Q15, CifftLen, CifftFlagON, bitRevi) ; // instance for calculating ifft(x) arm_cfft_radix2_q15(&CIFFT_R2_Q15, x) ; //calculate ifftx : array of 4096 element (real, image interleaved)fftsize = 2048Because the Real FFT function cost too much ROM space so I have to use Complex FFT to calculate real signal ( complex signal with image part = 0 ).I hope someone could help me with this CIFFT function.Thank you !
status = arm_cfft_radix2_init_q15(&CFFT_R2_Q15, CfftLen, CifftFlagOFF, bitRevf) ; // instance for calculating fft(x) arm_cfft_radix2_q15(&CFFT_R2_Q15, x) ; // calculate fft status = arm_cfft_radix2_init_q15(&CIFFT_R2_Q15, CifftLen, CifftFlagON, bitRevi) ; // instance for calculating ifft(x) arm_cfft_radix2_q15(&CIFFT_R2_Q15, x) ; //calculate ifft