Hi All, My Question is related to CMSIS DSP Library. i'm working on ADuCM3029 EZ-KIT. I'm using IAR v7.8.1 to build the project. In my application i have an ADC interfaced with the controller, from which i acquire 60 samples and stores it into the buffer. I intend to do math operations (FFT to be specific) on the acquired buffer, I've enabled use CMSIS option and Checked DSP library in the project settings. but the size of my code increases horrendously as soon as I include FFT operation, and becomes ~83 KB from ~9 KB. Is there anything that i'm doing wrong over here? Is there a better way to add FFT functionality to the project without letting the size increase horrendously?
Along with this, I can see that when FFT function is executed, the array realCoefBQ15 is getting overlapped into one of the SPI descriptor which is causing Bus Fault Error. Since I'm using 64 Point radix 2 FFT, that many twiddle factor coefficients are of no use. I understand it has been defined in that way so that the same array can be used for upto 4096 points FFT.
Is there any way to avoid this? I'm using IAR v7.8.1
Any help will be deeply appreciated.
Check the map file and see what has been added. Since the ADUC is an CM3, the linker might also pull in FPU library.And the overlap seems to be your fault, defining too small buffer.