Hi team,
Does this device send some information from SDO when CAN communication error occur?
I think CANSLNT and CANERR is concerned CAN communication error, is this correct?
Best regards,
teritama
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi team,
Does this device send some information from SDO when CAN communication error occur?
I think CANSLNT and CANERR is concerned CAN communication error, is this correct?
Best regards,
teritama
Hello teritama,
The CAN Error (CANERR) is the Logical OR of the CAN Silent (CANSLNT) and CAN stuck Dominant (CANDOM) bits. All of these bits are used to indicate what is likely more a Fault condition on the bus such as a short that is causing the bus to be stuck in either a dominant or recessive state, or from a disconnected wiring harness preventing the device from seeing CAN activity. This can generate an interrupt signal that can allow the MCU to read the status and interrupt registers, or the MCU can periodically poll these registers to get this information.
Normal CAN message errors in either the Transmit or Received direction are reported in the Error Counter Register (ECR) with address 0x1040. A single message error will not generate an interrupt because they are usually successfully re-transmitted. However, these error counters will cause the device to change between the Error Passive, Error Warning, and Bus Off conditions as defined by the CAN protocol and there are bits in the Interrupt Register (0x1050) that reflect the current status.
Regards,
Jonathan