AnsweredAssumed Answered

CUBEMX CAN controller initialization doesn't work for STM32F446

Question asked by Marco Perciavalle on Jul 31, 2017
Latest reply on Jul 31, 2017 by Elkin Granados


I simply generate the code using CUBEMX and I switch on CAN1 controller. I try to start the program but it halts on "MX_CAN_Init()" function. In detail, it doesn't pass the "while" at line 310, in "stm32f4xx_hal_can.c".

Is this a bug? Should I follow some preliminary instructions to make it work?

Thanks a lot!