esp-dev-kits icon indicating copy to clipboard operation
esp-dev-kits copied to clipboard

USB between esp32 slave and the MCU (AEGHB-814)

Open maaamcube opened this issue 1 year ago • 5 comments

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.

maaamcube avatar Sep 16 '24 07:09 maaamcube

The slave connection to the esp32 can only be made through the uart serial port, the USB connection is not supported.

lijunru-hub avatar Sep 20 '24 02:09 lijunru-hub

@lijunru-hub so what is the solution to connect my stm32 usb device to send through wifi ?

maaamcube avatar Sep 20 '24 07:09 maaamcube

use UART

lijunru-hub avatar Dec 02 '24 06:12 lijunru-hub

@lijunru-hub for the moment, i want to use USB, so i think i have to look for another solution.

maaamcube avatar Dec 02 '24 08:12 maaamcube

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

lijunru-hub avatar Dec 09 '24 08:12 lijunru-hub