UVC: Completed 0 frames and 0 buffers
I am getting above debug on UART
I probe my camera data signaling its seem ok its send data (check with oscilloscope)
There can be many reasons for this.
Make sure if Fx3 is receiving the data and the buffers are getting committed correctly. You can count the producers (prodCount) in the firmware in the DMA Callback.
I would recommend you to create a Tech Support case for this.
Thank you for reply.
I have put debug print in dmacallback but i am not getting that prints
I have checked that FV LV Data seem its ok.
I think GPIF is not getting data whatever camera sent to it.
i add below code snippet on UVCAppThread_Entry()
apiRetStatus = CyU3PGpifReadDataWords (0, CyFalse, 1, tmp_data, 0xFF);
if (apiRetStatus == CY_U3P_SUCCESS)
CyU3PDebugPrint (4, "Read Data = %x\n\r", tmp_data);
CyU3PDebugPrint (4, "Read failed with error code %d\n\r", apiRetStatus );
apiRetStatus = CyU3PGpifGetSMState(¤t_state);
CyU3PDebugPrint (4, "Current state %d and err = %d\n\r", current_state, apiRetStatus );
Read failed with error code 7
Current state and err = 0
I can now streaming without problem.
I have another doubt regarding frame rate i will open another thread.
Thank you all
How did you solve this black screen problem?
Please share the solution.