Optimisation of CMSIS constants for cortex M4

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Optimisation of CMSIS constants for cortex M4

861件の閲覧回数
prasannanaik
Contributor III

Hi,

I am using CMSIS library for FFT computation in LPC54607J256BD208E.

IDE: MCXpresso IDE v 10.3.1_2233

I am trying to optimize my code size to fit a bootloader along with application code.

On analysis of Map size, I found that cmsis fft constants take up a lot spcae.

ConstantsSize
twiddleCoef_204816384
twiddleCoef_rfft_409616384
twiddleCoef_rfft_20488192
twiddleCoef_10248192
armBitRevIndexTable20487616
twiddleCoef_5124096
twiddleCoef_rfft_10244096
armBitRevIndexTable10243600
twiddleCoef_2562048
twiddleCoef_rfft_5122048
Total72656

 

Is there any way to optimize these constants or is there any code optimized fft library for this microcontroller.

 

Thanks and best regards,

Prasanna

0 件の賞賛
返信
1 返信

856件の閲覧回数
frank_m
Senior Contributor III

> Is there any way to optimize these constants or is there any code optimized fft library for this microcontroller.

Optimize for what ? You can either optimize for speed, for size, or a mixture (=compromise) of both.

The usage of the named pre-calculated constants for FFT is a speed optimization of that algorithm.

You can try implementing any other FFT algorithm, if you wish. But be aware of the limitations of "float" versus "double".

0 件の賞賛
返信