Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can ESP-S host mode be used to read data from serial device ? (IDFGH-12102) #13160

Closed
3 tasks done
khayamgondal opened this issue Feb 11, 2024 · 2 comments
Closed
3 tasks done
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@khayamgondal
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

I have a 3D printer that exposes serial over USB. Can I use this library to read that data if printer is connected to an ESP S3's host mode port?

@espressif-bot espressif-bot added the Status: Opened Issue is new label Feb 11, 2024
@github-actions github-actions bot changed the title Can ESP-S host mode be used to read data from serial device ? Can ESP-S host mode be used to read data from serial device ? (IDFGH-12102) Feb 11, 2024
@tore-espressif
Copy link
Collaborator

Hello @khayamgondal , yes, we have support for USB Host serial.

Here are some examples, that can help you started: https://github.com/espressif/esp-idf/tree/master/examples/peripherals/usb/host/cdc

But the chances are that you will need to implement a device driver specific for your device.

Could you please share USB descriptors of you 3D printer? You can find them by connecting the printer to PC and then lsusb -v on linux, or using USB Device Tree Viewer on windows

@tore-espressif tore-espressif self-assigned this Feb 13, 2024
@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Feb 13, 2024
@tore-espressif
Copy link
Collaborator

Closing this for now due to lack of feedback. Feel free to reopen

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: In Progress Work is in progress labels Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants