Total Pageviews

Friday, December 30, 2011

CAN protocol interview questions

Questions for CAN protocol and CANOE tool:
I highly recommend bosch CAN spec 2.0B protocol and CANOE tutorial by vector in order to know the answers. Questions are very practical so try to understand how CAN works in a real car. I give all questions here,

CAN protocol:
What is CAN?
Why we go for CAN? Why not others?
Is CAN synchronous or asynchronous protocol?
Is it multimaster?
What type of communication? Is it point to point or broadcasting?
What network topology is used in car for CAN? Its always BUS topolgy
What is the speed of CAN? Tell me the maximum speed? 1Mb/s
How you calculate CAN bus load in CANOE?
Different types of CAN frames?
Draw data frame format? ( Very important question, it was asked in all the interviews i attended)
Difference between data and remote frames?
Different types of errors?
What is bitstuffing ? Purpose of bitstuffing?
How particular CAN message is identified in network if the message is broadcasted?
What is usage of identifier?
What is acceptance filtering?
What is arbitration?( Very important question, it was asked in all the interviews i attended)
What will happen if i send two frames simultaneously which is having same identifiers?
What is busoff, error passive?
How error count is handled if there is error frame in the network?
What is bit timing and its configuration?
Assume that there are 10 ECU’s in car, What will happen if one ECU in car goes to busoff state due to error?
How many frames we can accommodate in one ECU? Depends on number of mailbox in CAN controller , if it exceeds, we can go for multiplexing.
What is dominant and recessive state?
What is the volatage range of dominant and recessive state in CAN bus?
Why it is differential line? Advantage?

CANOE and CAPL:
Difference between CANOE and Canalyser? Graphic panel
Do you know how to create graphic panels?
How to run CAPL script in CANOE?
Explain about different windows in measurement setup such as graphic, trace, etc?
How to filter signals in CANOE?
About interactive generator?
Draw CANOE test setup? Explain about this CAN module test?
How to access signal from message in CAPL?
Tell me about different events?
Explain about timer event, message event, keyboard event?
Write a capl script to send a frame periodically in network?
Then, they have given some customer requirements and i have to derive test case from the given requirement and write CAPL script to automate it in CANOE.