CX3 Firmware for streaming 12 bit Raw Image using UVC | Cypress Semiconductor
CX3 Firmware for streaming 12 bit Raw Image using UVC
I am developing CX3 Firmware for streaming 12 bit Raw Image using UVC but I am facing flow control issue. The DMA buffer overflows if the host delays in reading from device, causing the streaming of data to stall. I followed the solution suggested on page 12 of FX3 troubleshooting guide http://www.cypress.com/system/files/document/files/FX3_SDK_TroubleShooti.... I restart the streaming by calling Stop subroutine having sensor specific stop commands followed by calling Start subroutine having sensor specific start commands.
This has helped resolve stall issue, but corrupted frames are received after the device recovers from DMA buffer overflow issue.
I assume this is because the host is not acknowledged about streaming restart, and hence continues to buffer the new frame along with previous frame data.
Any help is appreciated.