ESP32C5 TWAI/CAN issue with GPIO 0
Posted: Thu Mar 19, 2026 4:06 am
I was doing CAN loopback testing on the ESP32C5 dev kit using the TWAI driver ("esp_twai.h") in ESP-IDF v5.5.1, and noticed that CAN communication would fail when setting GPIO0 as the Tx pin. All of the other GPIO pin combinations that were tested worked fine. Just wanted to document this issue here.
Is there any official explanation as to why GPIO0 doesn't function as a CAN TX pin?
Is there any official explanation as to why GPIO0 doesn't function as a CAN TX pin?