Search found 6 matches

by mistermiser42
Mon Aug 08, 2022 7:58 pm
Forum: ESP32 Arduino
Topic: Getting the USB HOST port on the ESP32-S3-USB-OTG board to work
Replies: 16
Views: 15530

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

Thanks for the quick response! When calling INDATA(), how would you go about catching the incoming data and storing it to something like a byte array, string, binary array, etc.? And am I correct in assuming that the two functions don't need to be called at all? I also checked out your link, and whi...
by mistermiser42
Mon Aug 08, 2022 3:34 pm
Forum: ESP32 Arduino
Topic: Getting the USB HOST port on the ESP32-S3-USB-OTG board to work
Replies: 16
Views: 15530

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

Sorry, it's just a bit hard to understand the core of what you are doing with these calls, so let me see if I understand this example code correctly. Are the first two functions, "acm_events" and "client_event_callback", necessary? From my interpretation of the code, client_event_callback seems to e...
by mistermiser42
Fri Aug 05, 2022 1:56 am
Forum: ESP32 Arduino
Topic: Getting the USB HOST port on the ESP32-S3-USB-OTG board to work
Replies: 16
Views: 15530

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

Cool! I've seen your repo before on github when searching for answers to this problem, but I was unsure if it would work for my board which has the USB Host built in (but it seems now that it shouldn't be an issue?). I'm still a bit unsure how the INDATA() and OUTDATA() functions work in the usb_acm...
by mistermiser42
Thu Aug 04, 2022 4:47 pm
Forum: ESP32 Arduino
Topic: Getting the USB HOST port on the ESP32-S3-USB-OTG board to work
Replies: 16
Views: 15530

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

Ah, sorry for the confusion! The link you posted seemed to be exactly what I was looking for: setting up the ESP32-S3 to be a USB Host for a serial device with ftdi. If I wanted to set this up using the ftdi_usb.cpp, I would just need to include the ftdi_usb.hpp file as well as the usb_host.h, call ...
by mistermiser42
Thu Aug 04, 2022 4:59 am
Forum: ESP32 Arduino
Topic: Getting the USB HOST port on the ESP32-S3-USB-OTG board to work
Replies: 16
Views: 15530

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

That's good to hear, and thank you for the documentation! I've been looking at it for a bit, and I just want to make sure that I'm understanding some of this right. If I wanted to treat the USB port as a typical dev board serial port (like a UART), would I have to allocate part of my memory to act a...
by mistermiser42
Wed Aug 03, 2022 3:55 pm
Forum: ESP32 Arduino
Topic: Getting the USB HOST port on the ESP32-S3-USB-OTG board to work
Replies: 16
Views: 15530

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

Hello! It's my first post here, and I'd like to apologize in advance for my incompetency! I've been attempting to read serial data from the USB Type-A female "HOST" port on the ESP32-S3 USB OTG board in the Arduino core, however, the example code on the github repo seems to only use the USB DEV port...