ESP32 - ESP32 CAN communication issue using SN65HVD230 transceiver
Posted: Tue Jul 14, 2026 7:48 am
Hello,
I am currently working on CAN communication between two ESP32 boards and need some guidance.
Hardware details:
ESP32 boards :2
CAN transceiver: SN65HVD230
Number of CAN nodes: 2
I want to establish bidirectional CAN communication between the two ESP32 devices:
ESP32-A should transmit CAN messages to ESP32-B.
ESP32-B should receive the messages and send responses back to ESP32-A.
Current issue:
I am unable to successfully transmit or receive CAN messages between the two ESP32 boards. I have checked the wiring, but communication is not working as expected.
Could anyone please guide me on the correct configuration or share a working example code for ESP32 CAN communication using the SN65HVD230 transceiver?
Any help regarding wiring, CAN driver configuration, termination resistor setup, or sample code would be greatly appreciated.
Thank you.
I am currently working on CAN communication between two ESP32 boards and need some guidance.
Hardware details:
ESP32 boards :2
CAN transceiver: SN65HVD230
Number of CAN nodes: 2
I want to establish bidirectional CAN communication between the two ESP32 devices:
ESP32-A should transmit CAN messages to ESP32-B.
ESP32-B should receive the messages and send responses back to ESP32-A.
Current issue:
I am unable to successfully transmit or receive CAN messages between the two ESP32 boards. I have checked the wiring, but communication is not working as expected.
Could anyone please guide me on the correct configuration or share a working example code for ESP32 CAN communication using the SN65HVD230 transceiver?
Any help regarding wiring, CAN driver configuration, termination resistor setup, or sample code would be greatly appreciated.
Thank you.