I made a program that reads 512 sets of accelaration values from ADXL345 accelarometer. Each data set has 3 values (X,Y,Z).
I use a struct like “float accData” in a program shown below.
// This function stores 3 axis accelaration values to accData[i] to [i]
My problem is,
When loop time is smaller than 192, it works fine for at least 10 hours.
But when loop time is greater than 192, it just freezes.
I wonder this behavior might be related to memory mapping of Arduino IDE’s linker.
IDE: Arduino IDE version 1.8
Wio LTE for Arduino Library is installed
Board: Seeed Wio LTE is selected.
CPU: STM32F405RG, ARM Cortex-M4, 168MHz
RAM 192kB(Battery-backuped 4KB, Core coupled 64KB, SRAM 128KB)
Could you kindly help me? Thank you very much for your help.