Part Number: TMS570LC4357
I am trying to use the auto-bus-on functioality in the microcontroller. I have set the ABO bit in the CAN Contgrol Register and set the Auto-Bus-On Time Register to a value corresponding to 2 seconds.
The though i to try reconnection to the bus once every 2 seconds for 10 seconds before giving up and clearing the ABO bit.
We are polling the BOff bit in the Error and Status Register once every 10 ms until it has been set for 10 seconds.
We are testing by short circuit the CAN wired to each other. But... during this time the BOff bit seems to be cleared for a short time resulting in that my 10 second time will be restarted.
My question is if the BOff bit should behave in this way? I though that it would be set until the bus is reestablished.
Regards,
Örjan