2020-12-19 04:14 PM
Hello, I can not set 1MB/s baudrate on CAN peripheral. Used configuration on pictures. It looks like the rounding error. It worked in the previous version of CUBEIDE (1.4.0).
2020-12-19 04:28 PM
What STM32 part? What clocks on APB?
2020-12-20 12:28 PM
Sorry, stm32F103 processor and this clock config:
2020-12-22 03:59 AM
Hi @PDoub.1
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, for this reason a purple crosses appeared in your project with the latest version of CubeMX. (You can refer to this link if you are looking to reach a specific baud rate value)
Hope I helped you, when your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Thanks, Khouloud