Skip to main content
Rui Loureiro
Associate II
March 18, 2017
Question

STM32F4 Discovery - Failed inits after pressing reset button

  • March 18, 2017
  • 1 reply
  • 535 views
Posted on March 19, 2017 at 00:16

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-discovery
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
March 20, 2017
Posted on March 20, 2017 at 03:07

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?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..