how to enable esp32c6 USB settings from sdk.

shyamanthulaanil
Posts: 3
Joined: Thu Jun 06, 2024 9:12 am

how to enable esp32c6 USB settings from sdk.

Postby shyamanthulaanil » Thu Jun 06, 2024 9:45 am

I would like to develop an application with the ESP32-C6 board that appears as a USB peripheral to the PC. When connected to the PC, the application should be able to receive and send data. The ESP32-C6 board has a USB controller; however, I have not been able to find examples that utilize this controller to send and receive data via USB. On the Espressif repository, only examples compatible with the S3 or C3 boards, which contain the USB OTG, are available.

I just need data to be transmitted and received via USB CDC. I apologize if I seem confused; perhaps I missed something. Thank you in advance for your help.

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

Re: how to enable esp32c6 USB settings from sdk.

Postby ESP_Sprite » Fri Jun 07, 2024 12:56 am

The C3 also doesn't contain USB-OTG but does contain the same USB-serial-JTAG peripheral the C6 has. Any example for the C3 will also run on the C6.

shyamanthulaanil
Posts: 3
Joined: Thu Jun 06, 2024 9:12 am

Re: how to enable esp32c6 USB settings from sdk.

Postby shyamanthulaanil » Fri Jun 07, 2024 12:08 pm

Checked the ESP32-C3; it also has no examples related to USB OTG.

RandomInternetGuy
Posts: 52
Joined: Fri Aug 11, 2023 4:56 am

Re: how to enable esp32c6 USB settings from sdk.

Postby RandomInternetGuy » Sun Jun 09, 2024 12:22 pm

ESP32-C3 doesn't have OTG, so there will be no examples.

C3 has only the debug/console CDC/ACM part of the USB controller present on the other post-2020 parts.

shyamanthulaanil
Posts: 3
Joined: Thu Jun 06, 2024 9:12 am

Re: how to enable esp32c6 USB settings from sdk.

Postby shyamanthulaanil » Mon Jun 10, 2024 9:51 am

Hi. is there any examples for ESP32-C3 CDC device ?
please provide the git repo link

Who is online

Users browsing this forum: ESP_Roland, espmpo and 86 guests