CAN Error detection

 
Post new topic   Reply to topic    J1939 Discussion Forum Index » CAN and CANopen
View previous topic :: View next topic  
Author Message
MarkT



Joined: 21 Jan 2010
Posts: 2

PostPosted: Sat Jan 23, 2010 8:22 am    Post subject: CAN Error detection Reply with quote

I have a question regarding the CAN error detection mechanism:

If any one node on a CAN net detects an error it sends an error frame.
If any of the receivers detects an error and sends an error frame the sender must repeat the frame.

Is it therefore safe to assume that all nodes which received the frame correctly will drop this frame?
Or is there any condition under which a node receives a frame two or more times because some other nodes sent an error frame?

Thanks for the clarification.

-Mark


Back to top
View user's profile Send private message
Wilfried



Joined: 26 Nov 2007
Posts: 124
Location: Greenfield, Massachusetts

PostPosted: Fri Mar 05, 2010 9:18 am    Post subject: Reply with quote

Hi Mark,

Sorry for the late response, but I just found your entry...Wink

The CAN standard assures that, as soon as an error frame is sent to the bus - regardless of who did it, the message is being destroyed within all nodes. Your application won't even know there was a message, unless you check the error counter. If the error came from a sending node, it will retry sending the same message until the internal error counter disables the node. Yes, it can happen that the same faulty message is sent several times, and each time the message will be destroyed within all CAN controllers.

Regards,
Wilfred


Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    J1939 Discussion Forum Index » CAN and CANopen All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB© 2001- 2004 phpBB Group :: Theme created by phpBBStyles.com
Themes Database PhpBB Template distributed by GemViper