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?
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 188.8.131.52 Control 1 register (CTRL1) in the reference manual.
I hope it helps you.
It worked well.
Thanks a lot..
Retrieving data ...