Memory and flash requirements for Sensor Fusion

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Memory and flash requirements for Sensor Fusion

1,037 次查看
heelcurve5
Contributor II

I'm using a board with CPU/Flash/RAM that is similar to the Kinetis platforms:

48Mhz ARM CPU,128 KB flash and 16 KB SRAM

However the operating system takes up most of that

My build (without the Sensor Fusion library) produces the following message:

Flash used: 114033 of 131072 bytes (87.0 %).
SRAM used: 14144 of 16384 bytes (86.3 %). Stack: 2048 bytes. Heap: 1024 bytes.

Is what I have left that enough to run sensor fusion e-Compass algorithm ?

Thank you

Andy

0 项奖励
回复
1 回复

820 次查看
darioarias
NXP Employee
NXP Employee

Hi Andrew,

I picked as an example the project FSFK-K64F for the sensor fusion and after compiling it gave me the following results.

     text       data        bss        dec             hex    filename
  79244         64      20708     100016      186b0    FSFK_K64F.elf

The flash memory or the SRAM are not nearly enough for running e-Compass Algorithms, my recommendation would be to strictly pick only what you need from the code, because this code is meant to run a GUI that shows the values of the sensor in real time.

Darío

0 项奖励
回复