-
-
Notifications
You must be signed in to change notification settings - Fork 626
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
assert failed: twai_handle_tx_buffer_frame twai.c:183 (p_twai_obj->tx_msg_count >= 0) if CONFIG_TWAI_ERRATA_FIX_TX_INTR_LOST=y (IDFGH-8204) #932
Comments
No you have to configure
to avoid crashing until the bug is fixed in IDF. In the meantime
|
Thanks Jason for your reply. How can I compile the TWAI for platformIO myself, I want to fix it for (platform = espressif32 @ ^4.4.0) ? Do you know where I can start with that? I use platformIO No bug is with version 3.5
Then there is no problem. starting version 4.x then the bug starts eg
|
Than it is not the setting mentioned. This was changed lately. https://espressif-docs.readthedocs-hosted.com/projects/arduino-esp32/en/latest/esp-idf_component.html |
Please note |
Not a platformio issue anyways. You can start here https://community.platformio.org/t/framework-espidf-arduino/14949 |
The TWAI interface has a bug that causes the chip to reboot if you short / have interference the CANBUS pins. There is a proposed solution in the IDF github.
For that I need to adjust the IDF TWAI component:
Does anyone know how I could implement it in the Arduino/Platformio enviroment?
The text was updated successfully, but these errors were encountered: