ESP32-Arduino-CAN
ESP32-Arduino-CAN copied to clipboard
ESP32 CAN BUS same Packet
I'm realizing tests of a car's can bus, by reading OBD2 informations. At the beggining I recieve diferent data but then they stuck on the same values. Someone knows what's happenning and how can I solve it? I'm using a sn65hvd230 and a ESP32.
I made a likely oberservation about "same data", but my conclusion is different:
- As long as frames are sent by the other node, everything looks fine
- But if the other nodes stops sending frame, still the queue acts like there are frames received _ This "new" frames are not there in my scenario and the data is the one from the real last recevied
To cross check this, I reverted it to the variant from the demo https://github.com/nhatuan84/esp32-can-protocol-demo With this one, the "ghost frames" are gone. Looks for me little like that the queue is not properly deleting the last processed one.