cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX 6.1.1 CAN Setting 1Mhz wrong

byao.1
Associate

0693W000007DhuPQAS.pngSTM32CubeMX version 6.1.1 ,

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

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

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

View solution in original post

1 REPLY 1
Khouloud ZEMMELI
ST Employee

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