Search found 2 matches

by _ne555_
Mon May 18, 2026 4:13 pm
Forum: ESP-IDF
Topic: ESP32-C6 TWAI bus-off recovery
Replies: 2
Views: 101

Re: ESP32-C6 TWAI bus-off recovery

on_tx_done is only called when the events returned by twai_hal_get_events() contain the bit TWAI_HAL_EVENT_TX_BUFF_FREE, which is set only when the interrupts returned by twai_ll_get_and_clear_intrs() contain the bit TWAI_LL_INTR_TI (equivalent to TWAI_TX_INT_ST in the TRM).

I don't believe the ...
by _ne555_
Sun May 17, 2026 6:22 am
Forum: ESP-IDF
Topic: ESP32-C6 TWAI bus-off recovery
Replies: 2
Views: 101

ESP32-C6 TWAI bus-off recovery

Hi! I have not been able to find clarifications regarding some parts of the TWAI implementation. For reference, I am using ESP-IDF v6.0.0, with esp_twai.h and esp_twai_onchip.h.

1. When TWAI enters bus-off state, the TRM states the controller enters Reset mode. About Reset mode, the TRM states that ...

Go to advanced search