AnsweredAssumed Answered

Hardfault Handler in STM32

Question asked by MK.ShaSha on Feb 17, 2016
Latest reply on Feb 25, 2016 by Clive One
Hello!

I am using a custom made STM32F302RE board.
At the start of CAN initialisation, I wrote  __HAL_CAN_DISABLE_IT(&hcan, CAN_IT_BOF); to disable all interrupts before initialising CAN.
However, the codes go to hardfault handler after this. Why is that so? How do I rectify or solve this?
Thanks!

Outcomes