CAN interview questions

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 113

  • @VenkateshMane
    @VenkateshMane  2 ปีที่แล้ว +1

    for complete course on CAN LIN AUTOSAR
    www.udemy.com/course/can-and-lin-communication-protocols/?referralCode=F50CFD8FA492E1693415

    • @bhanuprakash-lj3lc
      @bhanuprakash-lj3lc ปีที่แล้ว

      Its not giving the discount at all sir. Its at full cost

  • @MegaUmadevi
    @MegaUmadevi 2 ปีที่แล้ว +2

    Wow great explanation sir. I was your student at BVBCET for the elective Automotive electronics. Now it feels so good to watch these videos to brush up the topics. :)

  • @terryshi2010
    @terryshi2010 2 ปีที่แล้ว +1

    Thank you for your video and i believe it's a great video by those positive reviews, howeven i could not understand anything.

    • @VenkateshMane
      @VenkateshMane  2 ปีที่แล้ว +1

      I am sorry to know that, keep watching again and again you may get it

  • @thinktalk9250
    @thinktalk9250 ปีที่แล้ว +1

    Very informative useful info thanks

  • @manju3e
    @manju3e 2 ปีที่แล้ว +2

    Super explaination sir.. thank u sir..

  • @ghanshyampawar8627
    @ghanshyampawar8627 3 ปีที่แล้ว +3

    Very useful questions answered 👍

  • @2flyingbirds293
    @2flyingbirds293 3 ปีที่แล้ว +3

    खूप छान सांगितलं सर

  • @jdeep0709
    @jdeep0709 2 ปีที่แล้ว +1

    Informative video 🙏

  • @danielaesmaili2391
    @danielaesmaili2391 4 ปีที่แล้ว +1

    Very useful for interviews. Thanks for sharing

  • @ranjithreddy2715
    @ranjithreddy2715 2 ปีที่แล้ว

    Thank you so much for the video, but I feel this information is so useful for the ones who is very new to CAN protocol, however this video is not giving in detailed information for the ones who is already have knowledge on this. Please if possible can you provide more details like below
    1) Why we need to give 3.5v and 1.5v for dominant.
    2) What is overload frame means
    3) More explanation on fault confinement, like what are the tx and rx counters for error active, error passive and bus off condition.
    4) How the bus off condition will occur.
    5) Different types of error frames
    etc.

  • @juniormarvel9612
    @juniormarvel9612 2 ปีที่แล้ว +1

    Sir pls make video on automotive ethernet and its interview questions

  • @sreedharm2600
    @sreedharm2600 2 ปีที่แล้ว +1

    Superb 👌

  • @asharanic5429
    @asharanic5429 4 ปีที่แล้ว +1

    Hi sir,
    Thanks for sharing the knowledge.its really helpful video.
    Please address my questions:
    1. How to trigger bus off state and how to check the bus off state in Caneo/CanAnalyzer?
    2. What will impact, if NRZ concept is not used in CAN?
    3. Difference Between CAN and CAN-FD it's applications.
    - Thanks

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว

      Ok I will try to address in my next video

  • @kiranshashiny
    @kiranshashiny 4 ปีที่แล้ว +3

    What's the difference between CAN Controller and CAN Transceiver ?
    I'm using Arduino+MCP2515 CAN controller as a SENDER at one end.
    and Arduino+MCP2515 CAN controller as a RECEIVER at the other end.
    So I have connected a piece of wire to CAN Controller "H" of sender to "H" of receiver, and likewise "L" to L" of the receiver.
    and it's communicating now. How is it working without the transceiver !

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว +1

      It mcp2515 has both controller and transceiver

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว +1

      CAN controller runs protocol part, transceiver is just a voltage converter from ttl logic to can bus logix

    • @kiranshashiny
      @kiranshashiny 4 ปีที่แล้ว

      Thanks for replies.
      1. Where does the MCP2551 come in?
      2. Can I configure communication between two nodes with just the 2515 and have them communicate over 2 wires 'H' and "L" ?

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว

      @@kiranshashiny you would also need microcontroller, which is arduino in your case

  • @satya_kartik8795
    @satya_kartik8795 ปีที่แล้ว +1

    It's very useful knowledge sir, but you could better explain with written answers. Because some terms i couldn't understand.

  • @saraswatihulagannavar5630
    @saraswatihulagannavar5630 5 ปีที่แล้ว +4

    Really helpful sir thank you sir

  • @naveendubey4412
    @naveendubey4412 5 ปีที่แล้ว +2

    Wow! Excellent explanation.This is the best youtube platform I have got to learn.
    This is my first video watching in this channel got massive knowledge from this.
    Feeling so much regret why I didn't get to know about this before.

  • @shamsadpk6955
    @shamsadpk6955 3 ปีที่แล้ว +1

    Very much informative. Please take care the presentation part to make it best. Thankyoi

  • @Rajkumar1010
    @Rajkumar1010 3 ปีที่แล้ว +1

    Thank you .. easy to understand

  • @raghudm5975
    @raghudm5975 4 ปีที่แล้ว +1

    Nice Master

  • @shankarm3548
    @shankarm3548 5 ปีที่แล้ว +4

    Great sir...Thank you

  • @kuruvasudhakar9210
    @kuruvasudhakar9210 3 ปีที่แล้ว +1

    Very nice sir

  • @kakhil1843
    @kakhil1843 3 ปีที่แล้ว +2

    bro ur iit student. ur explanation is very good bro

  • @GabrielNBarta
    @GabrielNBarta 3 ปีที่แล้ว

    Hello, I didn't understand the answer at 10:43. Why is the CAN BUS terminated with 120 ohms at each end?

    • @VenkateshMane
      @VenkateshMane  3 ปีที่แล้ว +2

      To avoid signal reflections 120 ohm resistor is used and it is as per the iso standard

  • @karthikkperla90
    @karthikkperla90 5 ปีที่แล้ว +4

    Hello Sir,
    I would like to add one question
    Why we only insert a120 Ohms as a terminating resistor in CAN network?

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว

      It is as per ISO 11898.

    • @mytheenmuhammed4156
      @mytheenmuhammed4156 4 ปีที่แล้ว +3

      for impedence matching of CAN nodes and avoid reflection using 120 ohm resistor's in both end of CAN network

  • @ravim6197
    @ravim6197 6 ปีที่แล้ว +1

    Very good and informative

  • @karthikchin2427
    @karthikchin2427 5 ปีที่แล้ว +1

    It will be a great help if you show the working i.e transmission and reception of data programmatically with ARM controllers...

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว

      Yes tell me how can I help you

    • @karthikchin2427
      @karthikchin2427 5 ปีที่แล้ว

      @@VenkateshMane show how to program CAN protocol transmitting and receiving using some controller preferably ARM family

  • @mohammadarifkhanies819
    @mohammadarifkhanies819 5 ปีที่แล้ว +7

    HI SIR CAN YOU PLEAS PROVIDE UDS INTERVIEW QUESTION AND CAPL ALSO

  • @venkateshkarlapudi3441
    @venkateshkarlapudi3441 4 ปีที่แล้ว +2

    What is 'synchronization' in CAN?

  • @ankitabhise3883
    @ankitabhise3883 4 ปีที่แล้ว +1

    Please make video on I2C ,SPI Protocols....

  • @vanessaingrid7582
    @vanessaingrid7582 5 ปีที่แล้ว +2

    Thanks @
    Venkatesh Mane. Could you do the same for other bus systems like FlexRay, MOST, LIN?

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว

      Sure i will do it soon

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว

      I have made a video on LIN, you can have a look

    • @mohammadarifkhanies819
      @mohammadarifkhanies819 5 ปีที่แล้ว +1

      CAN ANY ONE PROVIDE ME UDS INTERVIEW QUESTION AND CAPL ALSO

  • @mansouralblooshi3004
    @mansouralblooshi3004 5 ปีที่แล้ว +2

    Thank for sharing Ven

  • @1Saadaal
    @1Saadaal 5 ปีที่แล้ว +2

    thank you first of all tha i am using deepsea 6020 controller attached to deutz engine

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว

      Sorry I have not used this controller

  • @nagrajullasgokarnkar6366
    @nagrajullasgokarnkar6366 5 ปีที่แล้ว +6

    Sir please make complete videos on can and autosar

  • @abouttheravadabuddhism
    @abouttheravadabuddhism 4 ปีที่แล้ว +5

    I can hear enough to know its an excellent tutorial, but even after having been married to an Indian for 13 years and attending countless Indian events in the US, I still can't understand what he is saying in many crucial things as his accent is very strong and he talks very fast. It could have been nice if the CC option for captioning was here but it's not here. Thank you anyway Professor - I can see many got it better than I did.

  • @shashwatssanghavi
    @shashwatssanghavi 5 ปีที่แล้ว +2

    Thank you for this nice video Mr. Mane. With all due respect, I'd like to add that at time 4:47, slide contents may require correction for better accuracy in visual information. 1mbps~1Mbps & "Transcievers".

  • @ajaykumaralahari6940
    @ajaykumaralahari6940 2 ปีที่แล้ว

    How will you troubleshoot if you identify ack error or bit error ??? Can you please answer this

  • @tharunkumar4862
    @tharunkumar4862 4 ปีที่แล้ว +1

    hi everyone,
    I have one query regarding the error frame.
    if can controller detects any error, then the current message is discarded and the error frame is transmitted as per tx and RX counter.
    in error handling can be done two types one transmitter and another receiver. If the transmitter detected bit error then the transmitter sends an error frame. if the receiver side detects any error then the transmitter only transmits an error frame or receiver side transmits error frame.

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว +1

      Any node if detects error it will transmit error frame, does not matter receiver or transmitter

  • @deepikadeepu7560
    @deepikadeepu7560 2 ปีที่แล้ว

    This course is enough for embedded automotive...?
    I just wanna switch to automotive domain so just for confirmation

  • @venkatesan.kkrish4733
    @venkatesan.kkrish4733 5 ปีที่แล้ว +3

    Dear Venkatesh
    In can network once the transmission done the transmitter node will wait for ACK but it is message broadcasting so how does the receiver knows this message came from particular node
    could you please give any example code for TX and Rx side node

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว +1

      CAN netork follows CSMA carrier sens multiple access, any bit sent by any node will be read by all including sender,
      And more importantly CAN is message based not addressed based, every node in the network knows what ID whose is sending that ID during design

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว +2

      Watch out for more detailed video on CAN Shortly

    • @venkatesan.kkrish4733
      @venkatesan.kkrish4733 5 ปีที่แล้ว

      @@VenkateshMane But in transmit frame there is no sender information. in case if receiver sending ACK to all nodes while message overwriting there are two nodes will get ACK then it will become wrong for one node
      could you please give any example code
      if you give your contact number it will useful to discuss for us

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว

      @@venkatesan.kkrish4733 sender info won't be there in can frame, but that is know to every node during design phase, which node send , which ID

  • @naveenkumarn4622
    @naveenkumarn4622 5 ปีที่แล้ว +1

    Thanks Venkatesh :-) useful

  • @prakashcs0143
    @prakashcs0143 3 ปีที่แล้ว +1

    Why it is limited to maximum of 1 mbps?

  • @Raj73631
    @Raj73631 4 ปีที่แล้ว +1

    what's the significance of bus load?

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว

      If bus load is higher then it affects speed(bit rate) and also lower priority messages will sufer

  • @sridurga1818
    @sridurga1818 4 ปีที่แล้ว +3

    Regarding Error confinement :-
    Stmt 1:-
    you said @ error active state(*255 - Bus off state
    By considering stmt 2, stmt 1 is wrong.
    Please clarify this doubt .

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว +1

      When counter value is less than 127, it will send 6 dominant bits on the bus not inside register

    • @sridurga1818
      @sridurga1818 4 ปีที่แล้ว +3

      @@VenkateshMane
      At 23min:43 secs you said that Error active includes 6 dominant bit followed by 8 resissive bits.which means the decimal value of counter is 255.
      Please give me clarification.

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว +1

      every node in the network has two counter receive error counter and transmit error counter. If error is detected node will increment counter and if counter value is less than 127 then it will send 6 dominant bits followed by 8 recessive bits

    • @sridurga1818
      @sridurga1818 4 ปีที่แล้ว +3

      @@VenkateshMane
      Ok..
      Why sending 6 dominant bits followed by 8 recessive bits . Is it follow any rule..?

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว

      Yes it is as per protocol rule

  • @nashs.4206
    @nashs.4206 5 ปีที่แล้ว +1

    Good, thorough video. I have a few questions though:
    1) Is the "arbitration ID" the same as "message ID"? I see different websites and resources say that the arbitration ID is used to determine which of the nodes gets priority.
    2) When the arbitration process is going on, what is physically happening in the actual CAN bus wires? I know that several nodes can all attempt to transmit data through the bus if they detect that the bus is idle. I know that to transmit a recessive bit (1), the voltage levels of both the CAN-H and CAN-L lines go at ~2.5 V (so that the differential voltage is 0 V), and that to transmit a dominant bit (0), the CAN-H line goes to ~3.5 V and CAN-L line goes down to 1.5 V. I'm assuming that it is the nodes that forces these lines to go to their respective voltage values. Now, my question is, if there are multiple nodes attempting to use the bus, wouldn't there be a superposition/overlap of voltage values since each node will be forcing the CAN-H and CAN-L lines to go to different voltage values?

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว +1

      1. Yes, both are same

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว +1

      2. CAN makes use of wired AND logic

    • @nashs.4206
      @nashs.4206 4 ปีที่แล้ว +2

      @@VenkateshMane Sorry I should have been more clear in my question. Okay, suppose that we have node A, and node B. Suppose that the arbitration ID of node A is 0111, and the arbitration ID of node B is 1011.
      Now, to proceed with the arbitration, node A sends out 0 whereas node B sends out 1. What this physically means is that when 0 is sent out to the bus, the CANH line is set to 3.5 V, whereas the CANL line is set to 1.5 V.
      Similarly, when a 1 is sent out to the bus, both the CANH and CANL lines are set to 2.5 V.
      This is where my confusion arises. Node A sends out 0, and *at the same time*, node B sends out a 1. How can the CANH and CANL lines be at 3.5 V and 1.5 V (to denote 0), and 2.5 V (to denote 1) at the same time?

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว +1

      @@nashs.4206 It is taken care by the transceiver connected to the node.

  • @prasadlakku1668
    @prasadlakku1668 6 ปีที่แล้ว +2

    really helpfull

    • @sachinsonar3762
      @sachinsonar3762 5 ปีที่แล้ว

      Thanks! Very useful information...

  • @A1Telugu_EyeChappieTV
    @A1Telugu_EyeChappieTV 5 ปีที่แล้ว +1

    What ACK error does ?

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว

      If ACK error occurs then error frame will be sent by the sender

  • @ajsfalcon9045
    @ajsfalcon9045 4 ปีที่แล้ว +1

    Hi sir pleas hindi videos uplode karen , pleas

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว

      billkull karunga toda time lagta hai

  • @weekendeats348
    @weekendeats348 5 ปีที่แล้ว +1

    sir I read CAN uses CSMA/CA not CSMA/CD

  • @nagarajraj5949
    @nagarajraj5949 5 ปีที่แล้ว +1

    Explain how data trasmited in can

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว

      Sure i will upload some more videos

  • @1Saadaal
    @1Saadaal 5 ปีที่แล้ว +1

    please help me to configure can to transmit alarms from engine and remote device pls your contact

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว

      Which controller are you using,?

  • @1Saadaal
    @1Saadaal 5 ปีที่แล้ว +1

    sorry controller is 6120

  • @stanley8503
    @stanley8503 4 ปีที่แล้ว +2

    Your explanation about arbitration was not 100% correct. Simply we can say that, the node which has 0 on lower bits of identifier wins higher priority. That's why air bag ECU wins the higher priority.
    Otherwise good. Keep going

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว +1

      No, its not lower bits of identifiers, its MSB bits which makes the difference, msb bits are sent first not lsb

    • @stanley8503
      @stanley8503 4 ปีที่แล้ว +1

      "Lower Binary Value has higher priority". Suppose node A has 00000000 value and node B has 00000011 value in identifier bits. In this scenario node A wins higher priority because it has Os in lower order fields of identifier. Check above answer with some other useful docs.
      Its not like SPI. MSB first LSB next.

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว +1

      What about the Id 500 and 403? Which identifier has lower binary value, 500 right, then which message is sent 500 or 403?
      403 will get the bus.

    • @stanley8503
      @stanley8503 4 ปีที่แล้ว +1

      Yes. That's y I said "Lower Binary value has higher priority". My explanation was wrong. But MSB bit of identifier not decides the priority.

    • @VenkateshMane
      @VenkateshMane  4 ปีที่แล้ว +1

      I said msb bits makes the difference, arbitration starts with msb bit, ofcourse as I said in my video lower identifiers will get the bus access, Lower the identifiers higher the priority

  • @vetribarnabas4711
    @vetribarnabas4711 5 ปีที่แล้ว

    Can you send this file

  • @dineshtanati5849
    @dineshtanati5849 5 ปีที่แล้ว +1

    Please speak normally don’t use accent,

    • @VenkateshMane
      @VenkateshMane  5 ปีที่แล้ว +1

      Ok, thanks for your feedback

    • @shahrukhkhanmalik9095
      @shahrukhkhanmalik9095 5 ปีที่แล้ว

      Yes. Requires practice. Take it as a feedback only. Don't take it as wrong.