Search found 28 matches

by tore-espressif
Mon Jan 26, 2026 2:37 pm
Forum: General Discussion
Topic: Selection of ESP32-P4 dev board for development as high speed USB peripheral devices
Replies: 3
Views: 459

Re: Selection of ESP32-P4 dev board for development of high speed USB devices peripheral

Hello amitrs

I checked schematics of all boards you mentioned and I would NOT recommend any of them for High Speed USB peripheral (device).

ESP32-P4 offers natively 3 USB connections:
1. USB serial JTAG. Used for debugging only. This connection is mapped to a Type-C on ESP32-P4-WIFI6-DEV-KIT and ...
by tore-espressif
Mon Oct 13, 2025 8:58 am
Forum: ESP-IDF
Topic: Esp32S3 : TinyUSB driver - Undefined reference to `tud_msc_read10_cb'... methods during compilation
Replies: 1
Views: 856

Re: Esp32S3 : TinyUSB driver - Undefined reference to `tud_msc_read10_cb'... methods during compilation

We provide simply MSC implementation here https://github.com/espressif/esp-usb/bl ... yusb_msc.c

It provides mapping to internal SPIFLASH or SDCARD memory. Can you check that this file is compiled in your project?
by tore-espressif
Mon Oct 13, 2025 8:55 am
Forum: ESP-IDF
Topic: Esp32S3 : Is it possible to switch between USB CDC and MSC at runtime ?
Replies: 1
Views: 689

Re: Esp32S3 : Is it possible to switch between USB CDC and MSC at runtime ?

No, not out-of-the box. We use TinyUSB as our USB device stack, which uses static configuration.

You can implement this feature by defining your own tud_descriptor_configuration_cb() and tud_descriptor_device_cb() TinyUSB callbacks. In the callbacks you can then return whatever configuration you ...
by tore-espressif
Mon Oct 13, 2025 8:48 am
Forum: Hardware
Topic: ESP32-P4 USBs
Replies: 1
Views: 2314

Re: ESP32-P4 USBs

Yes, it is possible. Current software limitation is that on USB peripherals you can't have dual device or dual host. Eg. device mode on both USB Full Speed and USB High Speed ports.

The pin mapping can also differ based on P4 revision you have https://github.com/espressif/esp-idf/tree/master ...
by tore-espressif
Mon Oct 13, 2025 8:41 am
Forum: General Discussion
Topic: ESP32-S3 cdc device hot plug question
Replies: 2
Views: 16406

Re: ESP32-S3 cdc device hot plug question

USB hot plugging works on ESP32-S3 USB device applications. You must also check the connection status in your software, eg. do not send data when disconnected because your buffers could overflow.

If you can provide more details about the failure and how to reproduce it, I can have a look
by tore-espressif
Fri Sep 12, 2025 8:26 am
Forum: Hardware
Topic: Tips using an external USB PHY with ESP32-S3
Replies: 2
Views: 3182

Re: Tips using an external USB PHY with ESP32-S3

We have tested TI TUSB1105 and TUSB1106. Just set your pin numbers here https://github.com/espressif/esp-idf/bl ... _phy.h#L89 during your

Code: Select all

usb_new_phy()
call.

The documentation will be updated soon
by tore-espressif
Tue Aug 26, 2025 12:38 pm
Forum: Hardware
Topic: Tips using an external USB PHY with ESP32-S3
Replies: 2
Views: 3182

Re: Tips using an external USB PHY with ESP32-S3

Hello @xtianbetz ,
I'm sorry for the delayed response.
We have received few USB PHY ICs in our lab today. We will run few tests, update the docs and let you know
by tore-espressif
Mon Aug 18, 2025 7:58 am
Forum: General Discussion
Topic: Understanding USB versus UART on ESP32-S3
Replies: 7
Views: 2011

Re: Understanding USB versus UART on ESP32-S3

Hello zazas321

As already mentioned, each USB device needs a driver in the host PC. Implementing a custom USB driver for Windows or Linux can be complicated, so sticking with CDC class (Virtual COM ports are implemented with CDC class) is the easiest solution for you. There are countless examples ...
by tore-espressif
Mon Jun 16, 2025 10:36 am
Forum: ESP-IDF
Topic: Decoding MJPEG From USB Camera (ESP32-P4)
Replies: 4
Views: 1047

Re: Decoding MJPEG From USB Camera (ESP32-P4)

Hello guys,
We tested USB streaming and MJPEG decompression from Logitech C270.
The stream misses some non-compulsory markers, but the esp-new-jpeg cannot decode without these markers.
But the problems are already fixed in esp-idf driver https://github.com/espressif/esp-idf/tree/master/components ...
by tore-espressif
Thu Oct 31, 2024 4:07 pm
Forum: Hardware
Topic: ESP32-S3 USB OTG - USB Hub support?
Replies: 28
Views: 48775

Re: ESP32-S3 USB OTG - USB Hub support?

Hello everyone interested in USB HUBs!

First of all, I'm sorry for the misinformation about the beta branch. After internal discussion we decided to wait and provide a stable HUB support. This is now available in esp-idf master branch!

Since ESPs are embedded systems there are some notable ...

Go to advanced search