esp-dev-kits
esp-dev-kits copied to clipboard
USB between esp32 slave and the MCU (AEGHB-814)
Answers checklist.
- [X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- [X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- [X] I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
Hello everyone, I want to know in the example usb_wireless_bridge, can i use a usb between the esp32 slave and the MCU like between PC and esp32 host? Thanks.
The slave connection to the esp32 can only be made through the uart serial port, the USB connection is not supported.
@lijunru-hub so what is the solution to connect my stm32 usb device to send through wifi ?
use UART
@lijunru-hub for the moment, i want to use USB, so i think i have to look for another solution.
It is also possible to connect via USB. You will need to use the usb_host_cdc_acm library. However, you will need to port the relevant code yourself by modifying the UART host program into a USB host program.
https://components.espressif.com/components/espressif/usb_host_cdc_acm/versions/2.0.6