Chapter 4. Software framework
Can ESP32's UART0 be used for inputting from the computer console while it is being used for outputting
logs?
• Yes. Outputting logs only requires using the TXD0 pin, while receiving input from the computer console only
requires using the RXD0 pin. You can use the"esp-idf/examples/system/console/basic"example for testing.
4.4.17 USB
Does ESP32 support USB function?
• No, ESP32 does not support USB function.
• However, ESP32-S2/S3 supports USB2.0 Full-speed mode.
Does the ESP-IDF SDK USB interface support HID and MSC modes?
• ESP32S2/S3 can be used as MSC Host to support reading from or writing to storage devices such as USB flash
disks. For details, please refer to esp-idf.
• ESP32S2/S3 can be used as MSC Device to simulate storage of USB flash disks. For details, please refer to
esp-iot-solution.
• ESP32S2/S3 can be used as HID Host. For details, please refer to
• ESP32S2/S3 can be used as HID Device. For details, please refer to
What is the stable current output for ESP32-S2's USB interface?
The current output capability of the VBUS power line is determined by the power supply, not by the
ESP32-S2 chip. If the chip is self-powered, please refer to
Does ESP32-S3's USB peripheral supports USB Host?
Yes, regarding this function, ESP32-S3 is the same as ESP32-S2.
Does ESP32-C3 USB support USB serial port function and USB JTAG function?
Yes, but you cannot define the descriptor by yourself.
What are the USB features of ESP32-S2 and ESP32-S3?
ESP32-S3 and ESP32-S2 support USB 2.0 OTG (supporting full-speed mode), and both support Host
and Device functions. On top of that, ESP32-S3 also supports USB-Serial-JTAG peripheral, which can
be used to download and debug firmware.
Espressif Systems
Self-Powered
84
Submit Document Feedback
ESP-IDF Host
HID.
ESP-IDF Device
HID.
Device.
Release master
Need help?
Do you have a question about the ESP and is the answer not in the manual?