1)i am using TRK-KEA128 board can you tell how to configure bus clock for 16M. I am using internal oscillator right no it is 20M.
2)How to calculate the CAN baud rate for 125K with bus clock of 20M and also for 16M..?
I am afraid that 20 MHz is the closest bus frequency value you can get using the internal oscillator.
In case you need to get 16 MHz bus frequency, I recommend using an external oscillator.
The KEA128 supports 32.768 kHz crystal or 4 MHz to 24 MHz crystal or ceramic resonator.
Regarding the CAN bit rate, please refer to the Clock system at chapter 22.214.171.124 from the Reference Manual at the following link:
Hope this information will be useful for you.
Have a great day.
It is not possible to get any derivation from the internal clock to be accurate enough to enable proper CAN bit tolerance.
Retrieving data ...