Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Hey guys, During integration testing, I’ve noticed intermittent failures in CAN Bus communication between nodes. Some messages are dropped, and errors are logged on the AVR128DA48. I’ve already checked for electrical noise and verified the hardware setup. I also added the following debug code to catch errors:
if (can_receive(can_dev, &rx_frame, K_MSEC(100)) == -EIO) {
printk("CAN receive errorn");
}
Despite this, the communication still fails occasionally. What further steps can I take to debug and ensure reliable communication on the CAN Bus network, especially with intermittent errors?
CONTRIBUTE TO THIS THREAD