My program goes into Hardfault_handler during enabling interrupt routing for SPI interfacing with TI Wi-Fi module[cc3135] using freeRTOS_POSIX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-09-07 10:10 AM
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.
- Labels:
-
FreeRTOS
-
SPI
-
STM32H7 Series
-
Wifi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-09-07 10:54 AM
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.
