2017-03-18 04:16 PM
I'm trying to get the CAN1 on my stm32f4 board to work. The first time I turn the board on, the code works no problem, but when I press the reset button, sometimes I get an error initialising the CAN peripheral.
I've tried calling HAL_CAN_DeInit, before HAL_CAN_Init, but with no success.
What am I missing?
#can #stm32f4-discovery2017-03-19 07:07 PM
Does the error provide any specificity? Can you determine any from walking the code in the driver?
Can you try reviewing the state of the pins?