ESP32-C6 second TWAI Controllers not supported

emotasHil
Posts: 1
Joined: Thu May 11, 2023 12:34 pm

ESP32-C6 second TWAI Controllers not supported

Postby emotasHil » Thu May 11, 2023 12:46 pm

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?

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-C6 second TWAI Controllers not supported

Postby ESP_Sprite » Fri May 12, 2023 7:11 am

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.

gpearcey03
Posts: 1
Joined: Mon Jul 03, 2023 3:27 pm

Re: ESP32-C6 second TWAI Controllers not supported

Postby gpearcey03 » Mon Jul 03, 2023 3:29 pm

I am looking at implementing a driver for both controllers. Are they still compatible with SJA1000 as with the esp32?

Who is online

Users browsing this forum: No registered users and 78 guests