Page 1 of 1

ESP32-S3 with USB Host, Max Packet Size 524>512

Posted: Tue Aug 13, 2024 9:07 am
by g3gg0.de
Hello fellow ESP developers,

I'm working on reading data from an isochronous device, the InfiRay TS2+ thermal camera.
The camera uses a Max Packet Size (MPS) of 524 bytes instead of the maximum 512 bytes, leaving us 12 bytes short in the buffer.
This seems to consist of a 12-byte UVC header plus [256 pixels per line * 2 bytes per pixel].

Is the 512-byte limit a hard physical constraint, with no workaround?
Or might there be a way to hack around this by discarding 12 bytes from each transfer?
I'd even be happy with receiving 512 bytes and discarding the last 6 pixels (12 bytes), if that's feasible.

Best regards,
g3gg0

Re: ESP32-S3 with USB Host, Max Packet Size 524>512

Posted: Tue Aug 13, 2024 4:07 pm
by aliarifat794

Re: ESP32-S3 with USB Host, Max Packet Size 524>512

Posted: Tue Aug 13, 2024 4:51 pm
by g3gg0.de
Thanks for your reply.
However on the reddit post, i can only identify a different problem and even without a pointer to a solution :)