Search found 19 matches

by tore-espressif
Thu Oct 31, 2024 4:07 pm
Forum: Hardware
Topic: ESP32-S3 USB OTG - USB Hub support?
Replies: 28
Views: 29288

Re: ESP32-S3 USB OTG - USB Hub support?

Hello everyone interested in USB HUBs! First of all, I'm sorry for the misinformation about the beta branch. After internal discussion we decided to wait and provide a stable HUB support. This is now available in esp-idf master branch! Since ESPs are embedded systems there are some notable limitatio...
by tore-espressif
Tue Apr 23, 2024 8:52 am
Forum: ESP32 Arduino
Topic: USB HID keyboard 'search' function
Replies: 2
Views: 1082

Re: USB HID keyboard 'search' function

Hi, The USB HID protocol offers 2 interfaces 1. BOOT protocol: simple and easy protocols for keyboards. Does not support media keyds 2. HID custom protocol: You must define the additional (media) HID reports yourself, but you can send all kind of reports Here is a nice thread, where users tried to i...
by tore-espressif
Wed Feb 14, 2024 9:54 am
Forum: Hardware
Topic: ESP32 - which board to connect 2 USB host devices (CDC)
Replies: 1
Views: 1160

Re: ESP32 - which board to connect 2 USB host devices (CDC)

Hi, I'm not proficient with Micropython, but from a quick look to their docs, they don't seem to have USB Host support implemented. USB is not peer-to-peer communication. There always is a Host and a Device. In your case, the ESP32 boards are USB devices and RPi is USB Host. The USB feature is not i...
by tore-espressif
Wed Feb 14, 2024 9:42 am
Forum: ESP32 Arduino
Topic: Getting the USB HOST port on the ESP32-S3-USB-OTG board to work
Replies: 16
Views: 21392

Re: Getting the USB HOST port on the ESP32-S3-USB-OTG board to work

@mistermiser42 were you able to figure it out? I am trying to connect a 3d printer to ESP- S3 and wondering can I use the USB host mode for that
Let's discuss this in a separate issue:
https://github.com/espressif/esp-idf/issues/13160
by tore-espressif
Wed Feb 14, 2024 9:38 am
Forum: General Discussion
Topic: USB ESP32-S3
Replies: 3
Views: 1186

Re: USB ESP32-S3

Here's a link to USB device CDC example and an exact line that sends data to USB Host (PC):
https://github.com/espressif/esp-idf/bl ... main.c#L33
by tore-espressif
Wed Feb 14, 2024 9:36 am
Forum: Hardware
Topic: ESP32-S3 - 3 UARTs + USB possible?
Replies: 2
Views: 1839

Re: ESP32-S3 - 3 UARTs + USB possible?

Hi, ESP32-S3 has 3 UARTs and 1 USB-OTG peripheral. So this is possible, but you must be very careful in you HW design: Usually, ESP32-S3 devkits use UART0 as their main programming and logging interface. If you want to use UART0 in your application, you must 1. disable this feature in menuconfig (fo...
by tore-espressif
Wed Feb 14, 2024 8:28 am
Forum: Hardware
Topic: ESP32-S3 USB OTG - USB Hub support?
Replies: 28
Views: 29288

Re: ESP32-S3 USB OTG - USB Hub support?

Would it be possible for application layer to make decision for which endpoint we need to allocate HW channels and which can be skipped? This at least could partially solve the issue with lack of channels. This is how it works now! Upon device connection only EP0 is allocated, which must be present...
by tore-espressif
Tue Jan 23, 2024 7:55 am
Forum: Hardware
Topic: ESP32-S3 USB OTG - USB Hub support?
Replies: 28
Views: 29288

Re: ESP32-S3 USB OTG - USB Hub support?

You mean only 8 endpoints can have scheduled IN/OUT transactions inside one 1 ms frame? Yes, this is a HW limitation. Each active endpoint must have a HW implementation (channel). There are 8 such implementations (channels) in ESP32-S2/S3. Or is this some enumeration limit, i.e. 3rd HID device may ...
by tore-espressif
Fri Jan 12, 2024 9:36 am
Forum: ESP-IDF
Topic: About self-powered device VBUS monitor question
Replies: 1
Views: 66432

Re: About self-powered device VBUS monitor question

Hi, The USB VBUS monitoring is only relevant for self-powered devices, that is devices that can operate even when there is no USB connection. The consequence of NOT monitoring the VBUS, is that the device's software won't be able to distinguish between USB Suspend and USB disconnection. Suspend mean...
by tore-espressif
Fri Dec 29, 2023 7:17 pm
Forum: Hardware
Topic: ESP32-S3 USB OTG - USB Hub support?
Replies: 28
Views: 29288

Re: ESP32-S3 USB OTG - USB Hub support?

Hi everyone, Here's an update about this topic, that should answer all questions mentioned here. Espressif's USB Host implementation is fully open-source. The only non-public part is the USB peripheral itself (that is 3rd party Synopsys DWC). The HUB feature must be implemented in esp-idf (open sour...