Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Some CAN controllers provide you a mechanism to filter out the reception of messages at hardware level. You set the mask filter and if the ID of an incoming message passes that filter only then it is received and the controller is interrupted.
In mask filter you can specify which bits of an incoming acceptable message must be DOMINANT, which must be RECESSIVE and which one are don't care.
btbas has given you right hints. In general you should go through the protocol description to be ready to answer any questions. Let me give you a few examples to test your understanding after you have gone through the protocol specs.
What is the difference between a standard and an extended CAN frame. Can they coexist on a network?
If they can co-exist, which one will have priority; if not, what is the reason?
Describe some problems associated with multimaster protocols. How does CAN handle them?
Describe the process of bus arbitration in CAN?
What's the difference between CSMA/CR and CSMA/CD?
How can we identify a specific sensor in a CAN network?
Which of the RTR and Data frame has higher priority. Explain why?
What is bus termination resistor value for CAN? Do they vary if we put them in each node instead of bus ends?
This question is more like the start of a discussion and will depend upon how you and the interviewer carry this.
One can say that at CAN level, the concept of node is transparent. One doesn't need to know where a message is coming from, it should just concentrate what the message is. Higher layer protocols do usually reserve a part of the CAN ID field to number the nodes in the network.
Each sensor in a CAN network can be called as a Node.. Each CAN node consist of a CAN ID (somthing like a IP address v have for our LAN network..) When a node want to communicate with another then the message that has to me communicated will be appended with the specific CAN ID and will be broadcasted in the network and according to the acceptence filter configuration the message will be read by any other node or will be discarded
CAN is a protocol made by bosch. its spec is avilable in google.. its a bit confusing to read that spec.. anyway if u read it a couple of times u will get some idea...!!!
@gooofy871
i have read the Spec.. i have good idea on its protocol... all i want to know is how the Messages are encoded in CAN protocol... for Ex.. if i have to read Engine Temperature, how Temperature will be encoded with message...
If i am right r u confused how this transmission is happening?? I m attaching a sample code of a CAN transmitter and CAN receiver.. and also a CAN primer from Keil which explains how to create a CAN Network.. Hope this might help you..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.