Part Number: TMS570LS3137
Hello,
I need to know how to change the CAN bit rate on running program. I want to reduce it from 1000Kbps to 125Kbps. Is it possible?
Thanks and regards,
Leandro
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS570LS3137
Hello,
I need to know how to change the CAN bit rate on running program. I want to reduce it from 1000Kbps to 125Kbps. Is it possible?
Thanks and regards,
Leandro
Hi Leandro,
To configure the CAN bit timing, you have to set both Init (initialization) and CCE (configure change enable) bits in CAN control register. When Init bit is set, the CAN module enters initialization mode, the message from and to the CAN bus is stopped.
You can change the bit timing any time, but the current transmitting or receiving is interrupted or stopped.