Does the ESP32S3-WROOM-1 support USB Host?

Jim_Stuart
Posts: 9
Joined: Wed Aug 14, 2024 12:10 am

Does the ESP32S3-WROOM-1 support USB Host?

Postby Jim_Stuart » Thu Aug 15, 2024 1:45 am

Hello, I connected my MIDI Keyboard to my ESP32-S3, but do I need a USB Host Shield to support usb hosting on the esp32s3? I ran some code on Arduino IDE to see if I can get some sort of output, but I got this instead:

Code: Select all


ELF file SHA256: 7e7ed6e242a4c853

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40378b7a
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x109c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xb50
load:0x403cc700,len:0x2fd0
entry 0x403c98ac
Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x42025c56  PS      : 0x00060830  A0      : 0x82001f00  A1      : 0x3fcebc30  
A2      : 0x00000000  A3      : 0x3fc94f3c  A4      : 0x3fc95054  A5      : 0x000000ff  
A6      : 0x3fc92124  A7      : 0x00000000  A8      : 0x00000001  A9      : 0x3fcebc10  
A10     : 0x0000005c  A11     : 0x00000000  A12     : 0x00000000  A13     : 0x00000000  
A14     : 0x000000ff  A15     : 0x3fc95538  SAR     : 0x0000000b  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000002  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000  


Backtrace: 0x42025c53:0x3fcebc30 0x42001efd:0x3fcebc50 0x42001a3d:0x3fcebc70 0x42004d8a:0x3fcebca0 0x4037d3f2:0x3fcebcc0

I'm not sure what this error message means, but I'm hoping that I can find a way to fix this issue. I read online that I might need to use a USB host shield?

aliarifat794
Posts: 170
Joined: Sun Jun 23, 2024 6:18 pm

Re: Does the ESP32S3-WROOM-1 support USB Host?

Postby aliarifat794 » Thu Aug 15, 2024 3:54 pm

You do not need a USB Host Shield for the ESP32-S3. You must ensure that your software configures the USB OTG mode correctly. I recommend starting with a simple USB host example to confirm the hardware setup. Then you can gradually integrate your MIDI keyboard functionality.
https://docs.espressif.com/projects/esp ... _host.html

Who is online

Users browsing this forum: No registered users and 53 guests