ESP32-S3-USB_OTG host mode
Posted: Mon Apr 21, 2025 3:17 pm
Hi,
I'm trying to have ESP32-S3 working as USB Host for USB HID peripherals in order to receive keystrokes and/or mouse events.
I'm using an ESP32-S3-USB-OTG dev board with the usb_host_lib_example code. The program start correctly on the board, and is alive, as when presing the BOOT button, the program quit.
USB Lib seems correctly ruuning, as I see:
in the log.
However, when connecting a mouse or a keyboard on the USB HOST port of the board, nothing happen. No power is provided to teh peripheral.
The dev board is connected through the mini USB serial interface for logging and powering.
What could I be missing, is I cannot imagine o better platform to start experimenting on this kind of peripheral.
ESP-IDF is in version v5.4.1, reinstalled this week-end.
Thanks in advance for any hints/tips
I'm trying to have ESP32-S3 working as USB Host for USB HID peripherals in order to receive keystrokes and/or mouse events.
I'm using an ESP32-S3-USB-OTG dev board with the usb_host_lib_example code. The program start correctly on the board, and is alive, as when presing the BOOT button, the program quit.
USB Lib seems correctly ruuning, as I see:
Code: Select all
I (289) USB host lib: Installing USB Host Library
I (319) CLASS: Registering ClientHowever, when connecting a mouse or a keyboard on the USB HOST port of the board, nothing happen. No power is provided to teh peripheral.
The dev board is connected through the mini USB serial interface for logging and powering.
What could I be missing, is I cannot imagine o better platform to start experimenting on this kind of peripheral.
ESP-IDF is in version v5.4.1, reinstalled this week-end.
Thanks in advance for any hints/tips