ESP32 - ESP32 CAN communication issue using SN65HVD230 transceiver

bnvarma
Posts: 1
Joined: Tue Jul 14, 2026 7:32 am

ESP32 - ESP32 CAN communication issue using SN65HVD230 transceiver

Postby bnvarma » 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.


Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], Qwantbot and 3 guests