Skip to content

MAX3421 USB Host unreliable packets with length less than 64 bytes #519

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

Open
samspencer5991 opened this issue Apr 22, 2025 · 0 comments
Open
Labels
Bug Something isn't working

Comments

@samspencer5991
Copy link

Operating System

Windows 10

Arduino IDE version

PIO

Board

ESP32-S3

ArduinoCore version

Latest

TinyUSB Library version

3.4.4

Sketch as ATTACHED TXT

NA

Compiled Log as ATTACHED TXT

NA

What happened ?

When sending CDC packets from the ESP32-S3 host, random packets which are 174 bytes in length stall on the last packet which is less than 64 bytes. This causes the driver/process to hang, and no further data is sent.

Several transfers are completed successfully, but then seemingly random after 5-10 174 byte transfers, the 3rd packet which is only 46 bytes long is not transmitted, but the Adafruit API returns the correct number of sent bytes.

This is confirmed by monitoring USB traffic with an analyser.

How to reproduce ?

NA

Debug Log

No response

Screenshots

No response

@samspencer5991 samspencer5991 added the Bug Something isn't working label Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant