We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, I work with mcbtms570 and I have DCAN problem. I need to know, how can I detect re-transmit failure after lost arbitration? Very helpfull will be also information if does exist something like lost arbitration interrupt? In datasheet I couldn't find any information about this.
For any help I will be very thankful.
Regards, Filip
I need to know, how can I detect re-transmit failure after lost arbitration?
Strictly speaking you can't, because there is no such thing as a "re-transmit failure" in CAN, and even if there was, lost arbitration would have little or nothing to do with that.
Lost arbitration is just a fact of life on CSMA-type networks like CAN. It'll happen to you, and CAN is designed to tolerate it. That's why it has automatic re-transmission and message prioritization built right into the standard.
You don't need to do anything to get your CAN node to re-transmit after losing arbitration. Nor is there a fixed limit on the number of attempts or the maximum allowed time for re-transmission attempts, thus no such thing as a "re-transmit failure".
If the bus really is so busy as to not allow your transmission to make it onto the bus at all, the signal you should be looking is not an interrupt --- it's a lack of Tx confirmation interrupts.