espressif / esp-dev-kits

Docs, Schematics, Factory Firmwares for ESP Development Kits
Other
331 stars 176 forks source link

Typo in documentations for USB Host power options? (AEGHB-133) #68

Closed shreeve closed 1 year ago

shreeve commented 1 year ago

The documentation at:

 https://espressif-docs.readthedocs-hosted.com/projects/esp-dev-kits/en/latest/esp32s3/esp32-s3-usb-otg/user_guide.html

has the following:

Monosnap ESP32-S3-USB-OTG — esp-dev-kits documentation 2023-04-06 17-07-11

Isn't this incorrect?

In order for me to use the USB Host (USB-A female port), I need to set:

Monosnap Signal 2023-04-06 17-08-15

Which is the opposite of what the documentation states.

Am I missing something here?

shreeve commented 1 year ago

At a minimum, it seems like the text should be clearer.

leeebo commented 1 year ago

Hi @shreeve, the description of the document is correct, although it is a little convoluted.

The symbols in schematic USB_DEV D+ D- means the Pins will link to an external USB device (but through Type-A female / Host port)

BTW. you can use the already encapsulated API bsp esp32_s3_usb_otg to switch ports

shreeve commented 1 year ago

I never even knew about the BSP mechanism... pretty cool

shreeve commented 1 year ago

There is a nice set of API calls in the source code within the BSP code.

But, where do I find the API documentation for this BSP code?

Lzw655 commented 1 year ago

@shreeve There is no API documentation for the BSP code now. You can directly find API information from the header file.

shreeve commented 1 year ago

@Lzw655 - Ah, ok. Thank you!