Re: Unique ID & Acknowledgement in CAN
| Newsgroups | gmane.comp.hardware.bus.can |
|---|---|
| Message-ID | <OFD50A77D1.0ED7201F-ONC2257B09.004ACCB6-C2257B09.004BE2C4@LocalDomain> |
Hello, 1: If you have two or more devices transmitting with same CAN-ID, collisions outside arbitration field exist and your system may work some time or may enter sooner or later bus-off state. 2: CAN transmissions are monitored in two ways: - Acknowledge indicates that at least one other device has received transmission correctly - Error frame indicates, that at least one other device has recognized an error => Ack and no error means successful transmission. => If you need confirmation from the actual consumer, you neet take care of such confirmation in application layer. The best way for such is to use state machines in both producer and consumer and bidirectional signaling between them. Best regards, -H PDE-Elect - Software Team 1 From: PDE-Elect - Software Team 1 <[email protected]> To: CANLIST <[email protected]> Date: 05.02.2013 14:54 Subject: [CANLIST] Unique ID & Acknowledgement in CAN Sent by: [email protected] Hi techies, 1. If i am using same CAN id in 2 different nodes. what will happen.? Whether any error will occur or Tx will be in proper..? 2. How the acknowledgement works in CAN.? How the sender knows the acknowledged frame from receiver.? Regards, BoopathiRaja.G | Product Development Engineering Electronics, 0422-4331608 | [email protected] Pricol Limited Website : www.pricol.co.in Address : 132, Ooty Main Road, Periyanaikanpalayam, Coimbatore, 641020, India. Disclaimer: This message contains confidential information and is intended only for the recipients mentioned. If you have received this mail by error, kindly delete the same from your system and notify the sender. The sender does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. This e-mail is confidential and it is intended only for the addressees. Any review, dissemination, distribution, or copying of this message by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message from your system. The sender does not accept liability for any errors or omissions in the contents of this message which may arise as a result of the e-mail transmission.