Skip to main content
fe3
Associate III
February 26, 2018
Question

Configuring CAN - error with CubeMX 4.24 STM32F4 1.19.0 ?

  • February 26, 2018
  • 0 replies
  • 439 views
Posted on February 26, 2018 at 17:15

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.

    This topic has been closed for replies.