Ack Error with filtering on

Feb 17, 2006 2 Replies

Is the filter for CAN messages before or after the receiver / ack hardware?



Consider only two nodes on a bus, the first node has ALL messages filtered out, the second node transmits a message that will be filtered by the first node. Will the first node still generate the ACK on the bus, assuming no errors in the packet?



Does the ACK occur before or after the filter is applied?



Please provide sources for your information / opinion.



thanks



On 17 Feb 2006 14:09:11 -0800, snipped-for-privacy@yahoo.com wrote in comp.arch.embedded:

ACK is always sent by all enabled nodes receiving a valid packer that are not the transmitter of the packet. Filtering only determines whether or not the received message gets stored in a mailbox, and for controllers with multiple filters, which mailbox.

Filtering comes after the ACK is sent.

Jack Klein Home: http://JK-Technology.Com FAQs for comp.lang.c http://c-faq.com/ comp.lang.c++ http://www.parashift.com/c++-faq-lite/alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html

Yes.

The whole point of the Ack mechanism is letting the transmitter know that is connected to a valid network.

A CAN bus device is broadcasting all kinds of information someone _might_ be interested in. If the other stations would just acknowledge those messages they are interested in, it might take a while, before the transmitter would detect that it is not connected to a network.

You may also have to set the acceptance filter much wider and do the final filtering in the software, the Ack mechanism would still not be an indication that someone is actually interested in your message.

Paul

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required