I'm trying to run a neural network model using X-Cube-AI, but at the point of performing the inference, my program gets stucked in the Hard Fault handler routine. I attach the details given by the Hard Fault Analyzer in STM32CubeIDE.
I have read these issues are mostly related to the heap and stack sizes, but I have considerably increased their size and the problem persists. I would appreciate any help on how to solve this issue?
Thanks in advance. Regards.