Page 1 of 1

ESP32-s3 usb msc电脑不能识别

Posted: Sat Feb 26, 2022 7:46 am
by tommy.guo
使用最新的master分支,usb msc功能始终没有成功,日志中也是看到,一直停留在检测usb不知道该从哪里查问题,在usb_host.c中的

Code: Select all

 usb_host_install
中也添加了日志,安装成功

Code: Select all

I (750) example: Waiting for USB stick to be connected

Re: ESP32-s3 usb msc电脑不能识别

Posted: Mon Feb 28, 2022 1:35 pm
by ESP_Dazz
能跑一下 usb_host_lib example 吗?如果结果也是一直等待链接的话,有可能是引脚或电路的问题。

Re: ESP32-s3 usb msc电脑不能识别

Posted: Fri Mar 04, 2022 3:02 am
by ESP_Bob
大概率供电问题
s3-dev.png
s3-dev.png (544.74 KiB) Viewed 6224 times

Re: ESP32-s3 usb msc电脑不能识别

Posted: Wed Jan 24, 2024 8:48 am
by ljt0926
这个解决了吗,我也有这个问题,这种接法是否支持

Re: ESP32-s3 usb msc电脑不能识别

Posted: Wed Jan 24, 2024 3:57 pm
by role_espressif
这些电路板不为 USB 端口供电(因此不能用作 USB 主机,只能用于 USB 设备)。更多信息: viewtopic.php?t=27826
或者,您也可以将外部 OTG 电缆连接到电路板引脚上,如下图所示:

Code: Select all

ESP BOARD    USB CONNECTOR (type A)
                   --
[5V]      ------> | || VCC
[GPIO19]  ------> | || D-
[GPIO20]  ------> | || D+
[G]       ------> | || GND
                   --

Re: ESP32-s3 usb msc电脑不能识别

Posted: Thu Jan 25, 2024 2:02 am
by ESP_Bob
ljt0926 wrote:
Wed Jan 24, 2024 8:48 am
这个解决了吗,我也有这个问题,这种接法是否支持
如上图,esp32-s3-devkit 的 USB 接口默认只能输入 5V,不能输出 5V,因为有一个防止反向的二极管。如果你想输出 5V,可以自行把开发版上的二极管短路。
Snipaste_2024-01-25_10-00-49.png
Snipaste_2024-01-25_10-00-49.png (64.3 KiB) Viewed 3142 times
Snipaste_2024-01-25_09-59-48.png
Snipaste_2024-01-25_09-59-48.png (75.79 KiB) Viewed 3142 times