Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TWAI v2 missing for ESP32 C6 #10107

Answered by P-R-O-C-H-Y
rand12345 asked this question in Q&A
Discussion options

I have been working with the ESP32 C6 module and have encountered a lack of implementation for multiple TWAI drivers. According to the ESP-IDF documentation, it is possible to install multiple TWAI instances to use both TWAI0 and TWAI1 on the ESP32 C6. However, it seems that the current Arduino-ESP32 library does not yet support this v2 feature.

Attempting to configure separate TWAI interfaces fails with:


error: 'twai_handle_t' was not declared in this scope; did you mean 'twai_mode_t'?
 183 | twai_handle_t twai_bus;
 | ^~~~~~~~~~~~~
 | twai_mode_t

Is there a timeline or planned release date for when the multiple TWAI drivers will be fully implemented for the ESP32 C6 module?

You must be logged in to vote

Hi @rand12345, this feature is available from ESP-IDF 5.2 version (docs for v5.1, see the warning note). The current Arduino core (3.0.X) is based on ESP-IDF v5.1. The new minor version of Arduino core (3.1.X) should be based on ESP-IDF v5.3, so in that release the feature of multiple TWAI drivers will be available.

Replies: 1 comment

Comment options

Hi @rand12345, this feature is available from ESP-IDF 5.2 version (docs for v5.1, see the warning note). The current Arduino core (3.0.X) is based on ESP-IDF v5.1. The new minor version of Arduino core (3.1.X) should be based on ESP-IDF v5.3, so in that release the feature of multiple TWAI drivers will be available.

You must be logged in to vote
0 replies
Answer selected by rand12345
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Area: Peripherals API Relates to peripheral's APIs.

AltStyle によって変換されたページ (->オリジナル) /