Adafruit_TinyUSB_Arduino icon indicating copy to clipboard operation
Adafruit_TinyUSB_Arduino copied to clipboard

MAX3421 USB Host unreliable packets with length less than 64 bytes

Open samspencer5991 opened this issue 7 months ago • 1 comments

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 avatar Apr 22 '25 02:04 samspencer5991

please provide all version with specific number, minimal reproducible sketch, compile log and How to reprduce are all mandatory

hathach avatar May 21 '25 11:05 hathach