-
-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
esp32 hangs on CAN.endPacket(); #10
Comments
I have the same problem. |
Same here. Without transceiver ESP32 hangs in the |
to get an error and avoid hanging of the lib i found a workaround and added an errorhandling based on my returncodes. extend the while loop in file ESP32JA1000.cpp row 219: // wait for TX complete |
Thanks for this. I'll give it a try as I have the same problem. Is this still the best way to do it? Any updates to the libraries? Any better CAN bus library? |
I don't see a change in the lib, so i guess this workaround still works. |
I have a transceiver attached (SN65HVD230). When plugged into a vehicle CAN bus, the lib performs as expected. When unplugged from the vehicle , it still hangs at the CAN.endPacket(); even with the above workaround. I ended up just putting a timeout in place instead and that seems to work. |
I have the same error but Im not sure if the transceiver is connected. it should but I can't verify it. |
look at this for a solution |
os this lib is out of maintenance ? |
I have no transceiver attached and when sending a packet, the ESP32 hangs upon executing CAN.endPacket();
Also when configured for loopback mode.
Which ESP32 Version do you use?
The text was updated successfully, but these errors were encountered: