arm_rfft_fast_f32(&S,testInput_f32_10khz,testOutput,0); this function need 80kB ROM to save the coffee, but i just need 512 point FFT.
if i use rfft_q31,the ROM consumption over 130kB, so how to optimize it?
would it be possible for you to tell me which part are you using?
Thanks in advance
i am really want to use rfft_q31.
Are you using a Kinetis device? if there is, which device are you using???
Are you using CodeWarrior???
yes, the device is KL16, and i am using IAR7.4.
Pls refer to the file arm_common_tables.c located at:C:\Freescale\KSDK_1.1.0\platform\CMSIS\DSP_Lib\Source\CommonTables, the file contains the sine/cosin table for FFT, if you use only 512 points FFT, you can remain the const float32_t twiddleCoef_512 array and delete all the other array in order to save ROM space. BTW, I suggest you copy the arm_common_tables.c to another file before you modify it.
Retrieving data ...