2022-10-25 01:33 AM
Hi,
I am working on a project with STM32G431C8U6. My code always goes to HardFault Handler. I created a new project for testing my MCU just an easy code, code went to HardFault again. I share my ScreenShoot's please help....
2022-10-28 01:08 PM
Hello @Ydemi.1,
Check that the hspi is valid. Could be an overrun corrupting it.
Can you access this memory outside of the HAL_SPI_Transmit function?
Check the SPI limitations in the errata-sheet related to your device.
Imen