Memory and flash requirements for Sensor Fusion

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Memory and flash requirements for Sensor Fusion

502 Views
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 Kudos
1 Reply

285 Views
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 Kudos