I have attached the sample code.
current baud rate is 500kbps.
i want to change baud rate to 250kbps.
which bit should i configure for that?
Hello,
Bit timing is configured in CAN0->CTRL1 (look at the description in your code).
Did you try to set the bit PRESDIV = 1?
For further information see chapter 53.4.2.3 Control 1 register (CTRL1) in the reference manual.
I hope it helps you.
Best regards,
Diana
It worked well.
Thanks a lot.. :smileyhappy:
Pritam Patil