Page 1 of 1

ESP32S3 USB OTG switch to Low Speed

Posted: Wed Aug 14, 2024 10:18 am
by analoglamb
Hello,

1. How to switch the usb otg speed from full speed to low speed?
2. esp32s3's USB only support OTG, but in the pinout there is no usb id pin, why? I want to use USB ID pin to determine esp32s3 role. How to solve it?

Thanks

Re: ESP32S3 USB OTG switch to Low Speed

Posted: Wed Aug 14, 2024 5:50 pm
by aliarifat794
On the ESP32-S3, D- and D+ should be tied to GPIO19 and GPIO20. More here: viewtopic.php?t=26030

Re: ESP32S3 USB OTG switch to Low Speed

Posted: Thu Aug 15, 2024 8:37 am
by chegewara
The easiest way IIRC is to swap D+ and D- pins, but there is also some software way (when you configure usb device code).

Re: ESP32S3 USB OTG switch to Low Speed

Posted: Fri Aug 16, 2024 2:44 am
by analoglamb
How to switch the usb otg speed from full speed to low speed? @espressif

Re: ESP32S3 USB OTG switch to Low Speed

Posted: Fri Aug 16, 2024 3:40 am
by ESP_Sprite
You would normally do that in the device stack, which in our case is TinyUSB. I don't think TinyUSB has proper support for this, though, as USB low speed isn't really used anymore when you also can do full speed.

Re: ESP32S3 USB OTG switch to Low Speed

Posted: Fri Aug 16, 2024 4:04 am
by analoglamb
Thanks

Re: ESP32S3 USB OTG switch to Low Speed

Posted: Mon Aug 19, 2024 3:41 pm
by chegewara
Screenshot from 2024-08-19 17-39-55.png
Screenshot from 2024-08-19 17-39-55.png (70.33 KiB) Viewed 965 times