CAN: Clock Frequency Scaling Issues to Achieve Baud Rate
Hello,
I am attempting to add CAN communication to one of my co-worker's boards, who is using the STM32F303RE MCU with an external 30 MHz crystal oscillator. The CAN communication uses the APB1 Peripheral Clock, which is currently using 30 MHz as well.
When I attempt to make a specific baud rate (250 kBit/s), I used http://www.bittiming.can-wiki.info/ to get the parameters to achieve that. When I put the values in, it shows the baud rate in a greyed out section that says it's 249.999 kBit/s.
What I want to know is if that will cause issues when actually applied? Since it's not "exactly" 250 kBit/s. Has anyone else had this occur and can say whether it works or not?


