2 months, 1 week ago.
Reading CAN status
Someone told me, that for some reason (power issues for instance) the can communication can break. To be able to send and receive messages after such an event, the CAN communication has to be reset. To see, if there is a problem, the CAN status has to be read periodically. Is that true and if yes, can someone provide me with as small example please? - I tried to check the API documentation for rderror and tderror on https://developer.mbed.org/handbook/CAN, but the links are broken: Invalid page name You tried to access or create a page named classmbed_1_1CAN.html. Unfortunately, that name is not permitted as the name for a wiki page.
2 months ago.
The following link provides some info on low-layer CAN bus protocol error handling.
Automatic recovery from bus-off state is available on CAN controllers built-into the STM microcontrollers and the feature is utilized by the CANnucleo library.
The CAN-based higher-layer protocols, like CANopen, then introduce additional methods (node guarding, heartbeats ...) to check/monitor the status of CAN nodes in the network.
To post an answer, please log in.