IIRC, there is no possibility to detect a "normal" bus error (acknowledge) appearing during normal operation from the one occuring when the cable is plugged off. The best indication is a high number of consecutive BEIs.



I do not agree :
case normal :
In normal bus error condition, if error repeats the chip will go to busoff state (unfortunately I don't know how to simulate this...)

case unplugged (easy to simulate):
when the cable is not plugged it will not go to busoff condition. The can 2.0 spec says :

Start-up / Wake-up:
If during system start-up only 1 node is online, and if this node transmits some message, it will get no acknowledgement, detect an error and repeat the message. It can become ’error passive’
but not ’bus off’ due to this reason.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to