2018-02-26 08:15 AM
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.