Page 1 of 1

ESP32-C6 second TWAI Controllers not supported

Posted: Thu May 11, 2023 12:46 pm
by emotasHil
The new ESP32-C6 features 2 TWAI Controllers.
The API in the ESP-IDF however does not cover support for a second TWAI controller at all.
Neither the master branch nor the development branches for 5.1 or 5.2
seems to have any indication for support for the second TWAI controller.

Is this intentional or is just nobody aware of this?

Re: ESP32-C6 second TWAI Controllers not supported

Posted: Fri May 12, 2023 7:11 am
by ESP_Sprite
Looks like the TWAI driver at this point only can use one TWAI controller and it's not trivial to add support for multiple ones. I imagine this will get added at some point, but as it requires a rewrite of the entire API, it may take a while.

Re: ESP32-C6 second TWAI Controllers not supported

Posted: Mon Jul 03, 2023 3:29 pm
by gpearcey03
I am looking at implementing a driver for both controllers. Are they still compatible with SJA1000 as with the esp32?