Marvee Amasi
DIIDevHeads IoT Integration Server
•Created by wafa_ath on 9/27/2024 in #firmware-and-baremetal
What causes HardFault_Handler errors and inaccurate predictions in STM32 air quality monitoring Sys?
Your STM32 may optimize away changes to variables when there is inference. Declaring your
input_data
and output_data
arrays as volatile ensures that their values are properly updated during inference
volatile float input_data[3];
volatile float output_data[1];
3 replies