cancel
Showing results for 
Search instead for 
Did you mean: 

My program goes into Hardfault_handler during enabling interrupt routing for SPI interfacing with TI Wi-Fi module[cc3135] using freeRTOS_POSIX.

HPosh.1
Associate

My project is to publish/subscribe data between STM32H750 MCU and AWS cloud. For that I used to interface CC3135 Wi-Fi module for TI with my MCU. I am using freeRTOS_POSIX driver to communicate Wi-Fi module via SPI bus. I had successfully ported demo application provided by TI called mqtt_client to my STM project(STM CUBEIDE). I am blocked at one stage as my program goes into Hardfault_handler during enabling interrupt routing for SPI. I would appreciate anyone can help.

1 REPLY 1
TDK
Guru

Likely a stack overflow or other insufficient memory condition.

Look at the reason for the hard fault in the SCB registers and go from there. Find the offending instruction and ensure the data it is working with is valid.

If you feel a post has answered your question, please click "Accept as Solution".