Skip to content

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

Open
@samspencer5991

Description

@samspencer5991

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions