Skip to main content
byao.1
Visitor II
February 3, 2021
Solved

STM32CubeMX 6.1.1 CAN Setting 1Mhz wrong

  • February 3, 2021
  • 1 reply
  • 1076 views

0693W000007DhuPQAS.pngSTM32CubeMX version 6.1.1 ,

when set CAN as 1Mhz,cubeMX prompted error,PCLK1 is 36Mhz.

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hello @byao.1​ 

Thanks for your feedback, in fact, some modifications were made to CAN in the 6.1.0 CubeMX version to make the "Time for one bit" more precise.

As you can see, with this configuration the "Time for one bit" equal to 999.99 ns, and this value should take at least 1000 ns, but following your requests, we decided to make this value acceptable by CubeMX for the next release.

Thanks, Khouloud

1 reply

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
February 3, 2021

Hello @byao.1​ 

Thanks for your feedback, in fact, some modifications were made to CAN in the 6.1.0 CubeMX version to make the "Time for one bit" more precise.

As you can see, with this configuration the "Time for one bit" equal to 999.99 ns, and this value should take at least 1000 ns, but following your requests, we decided to make this value acceptable by CubeMX for the next release.

Thanks, Khouloud