Page 1 of 1

ESP32-S3 WROOM 1U USB-C host hardware design

Posted: Thu Nov 02, 2023 3:27 am
by hardware_engineer
Hello, I'm new here. I wanted to use ESP32-S3 WROOM 1U to be a USB host. How can I design hardware that will interface with two USB-C ports?

Re: ESP32-S3 WROOM 1U USB-C host hardware design

Posted: Thu Nov 02, 2023 4:59 pm
by ESP_Sprite
*two* ports? In what configuration?

Re: ESP32-S3 WROOM 1U USB-C host hardware design

Posted: Fri Nov 03, 2023 3:15 am
by hardware_engineer
It is not defined yet. But the USB-C ports should able to communicate to two device at the same time and can deliver up to 500mA.

Re: ESP32-S3 WROOM 1U USB-C host hardware design

Posted: Fri Nov 03, 2023 3:28 am
by hardware_engineer
it should be able to communicate with two devices at the same time and can deliver up to 500mA as per USB2.0 standard. I checked that the ESP32-S3 has two USB ports - one supports OTG and the other is for JTAG/USB Serial. I think the JTAG/USB Serial is used for programming/debugging purposes not to act as a host. Am I right?

Re: ESP32-S3 WROOM 1U USB-C host hardware design

Posted: Fri Nov 03, 2023 6:09 am
by ESP_Sprite
Yes, you are right. And given our current stack doesn't support USB hubs, it's not currently possible to communicate with two USB devices at the same time.

Re: ESP32-S3 WROOM 1U USB-C host hardware design

Posted: Mon Nov 06, 2023 12:57 am
by hardware_engineer
thanks for replying. How about I use a USB hub controller that would support 2 devices connection (like Microchip USB2512)? Would ESP32-S3 have a problem with that?

Re: ESP32-S3 WROOM 1U USB-C host hardware design

Posted: Mon Nov 06, 2023 4:46 pm
by ESP_Sprite
hardware_engineer wrote:
Mon Nov 06, 2023 12:57 am
thanks for replying. How about I use a USB hub controller that would support 2 devices connection (like Microchip USB2512)? Would ESP32-S3 have a problem with that?
As I said, our current firmware doesn't support hubs yet.

Re: ESP32-S3 WROOM 1U USB-C host hardware design

Posted: Mon Nov 06, 2023 8:23 pm
by hardware_engineer
Thanks for the confirmation. Would you please clarify on this point?

"It is possible for two or more clients to simultaneously communicate with the same device as long as they are not communicating to the same interface. However, multiple clients can simultaneously communicate with the same device’s default endpoint (i.e., EP0), which will result in their control transfers being serialized."

The statement above is taken from the documentation below:
https://docs.espressif.com/projects/esp ... _host.html

Does it mean I must utilize the USB/JTAG interface from the ESP32-S23? So one device will connect to USB OTG and the other to the USB/JTAG interface?

Re: ESP32-S3 WROOM 1U USB-C host hardware design

Posted: Tue Nov 07, 2023 5:03 am
by ESP_Sprite
The USB-serial-JTAG is device only; you cannot connect a device to it.