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

hardware_engineer
Posts: 13
Joined: Thu Nov 02, 2023 3:24 am

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

Postby hardware_engineer » Thu Nov 02, 2023 3:27 am

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?

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

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

Postby ESP_Sprite » Thu Nov 02, 2023 4:59 pm

*two* ports? In what configuration?

hardware_engineer
Posts: 13
Joined: Thu Nov 02, 2023 3:24 am

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

Postby hardware_engineer » Fri Nov 03, 2023 3:15 am

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.

hardware_engineer
Posts: 13
Joined: Thu Nov 02, 2023 3:24 am

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

Postby hardware_engineer » Fri Nov 03, 2023 3:28 am

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?

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

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

Postby ESP_Sprite » Fri Nov 03, 2023 6:09 am

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.

hardware_engineer
Posts: 13
Joined: Thu Nov 02, 2023 3:24 am

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

Postby hardware_engineer » 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?

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

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

Postby ESP_Sprite » Mon Nov 06, 2023 4:46 pm

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.

hardware_engineer
Posts: 13
Joined: Thu Nov 02, 2023 3:24 am

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

Postby hardware_engineer » Mon Nov 06, 2023 8:23 pm

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?

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

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

Postby ESP_Sprite » Tue Nov 07, 2023 5:03 am

The USB-serial-JTAG is device only; you cannot connect a device to it.

Who is online

Users browsing this forum: No registered users and 64 guests