AnsweredAssumed Answered

Configuring CAN - error with CubeMX 4.24 STM32F4 1.19.0 ?

Question asked by Ferdinand Englberger on Feb 26, 2018

I try to configure a CAN peripheral in the same kind as before. I want to use the new CAN driver functions.

As soon as I’am setting the clock to HSE and 168 MHz no change in CAN is possible. Setting Clock to HSI setting of the CAN parameters is possible. Switching back to HSE clock allow generating code, but if I try to reopen the ioc-file, it is not possible.

Changing the following line in ioc-file from

RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE

to

RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSI

reopen is possible.

I would be very pleased, if you could confirm, that there is a problem with CAN configuration.

Outcomes