I'm using the can.h library to make a can-bus sniffer. Now I noticed that after a frame the ESP (ESP32-WROOM-32D dev kit) sends an ACK. As I'm just making a sniffer and don't want to influence the signal flow, I wanted to disable this ACK so I disconnected Tx from the transciever (SN65HVD230 CAN bus transceiver), but then the receiver doesn't work anymore, it will not receive any frames anymore. Is the can.h library checking if it's ACK is really send?
Is there a listen-only mode in can.h? I can't find it
Hi @reinierdevlaam ,
there seems to be a "silent mode" for specific CANbus Transceivers:
See here (Search the page for "silent"): https://www.circuitstate.com/tutorials/what-is-can-bus-how-to-use-can-interface-with-esp32-and-arduino/
Unfortunately this does not seem to apply to a SN65HVD230 :
this library, supports listening mode.
hope that helps....
The MCP2515 CAN module I use features a passive mode that ignores all filters and receives all messages on the bus. I expect the ESP also supports this functionality. However, since I am not familiar with your library, this is the best guidance I can provide.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.