ESP32-S3 with USB Host, Max Packet Size 524>512
Posted: 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
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