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

g3gg0.de
Posts: 6
Joined: Wed Oct 04, 2023 10:47 am

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

Postby g3gg0.de » Tue Aug 13, 2024 9:07 am

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

aliarifat794
Posts: 124
Joined: Sun Jun 23, 2024 6:18 pm

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

Postby aliarifat794 » Tue Aug 13, 2024 4:07 pm


g3gg0.de
Posts: 6
Joined: Wed Oct 04, 2023 10:47 am

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

Postby g3gg0.de » Tue Aug 13, 2024 4:51 pm

Thanks for your reply.
However on the reddit post, i can only identify a different problem and even without a pointer to a solution :)

Who is online

Users browsing this forum: No registered users and 150 guests