1 Reply Latest reply on Aug 14, 2016 12:31 AM by Madhu Lakshmipathy

    CX3 Firmware for streaming 12 bit Raw Image using UVC

    dhruvesh.gajaria_1434896

      Hi,

         

       

         

      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_TroubleShooting_Guide_0.pdf. 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.

         

       

         

      Thanks,

         

      Dhruvesh