While tring below commands my v4l driver generates below error.
./mxc_v4l2_tvin.out -ow 720 -oh 480 -ot 20 -ol 20 -c 10 -m 0 -tb -f YUYV
ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0
What can be the possible root causes for this issue?
I found an application note and it points to check below registers.
How can i check them in yocto? Is there any specific tool besides debugger cause i dont have.
5.2 No video issue
Mxc_v4l2_tvin application reports timeout and exit, the error messages like “ERROR: v4l2 capture:
mxc_v4l_dqueue timeout enc_counter0 VIDIOC_DQBUF failed”. This means the v4l2 capture driver hasn’t
captured valid video frame.
The followed things can be checked:
Is CSI_DATA_EN pin been enabled by software but pulled down?
Is there valid pixel clock?
Is there EAV/SAV embedded on data line?
Adjust the drive strength of the BT.656 pins.
Is the frame size set in IPU_CSI_SENS_FRM_SIZE register bigger than the real frame size?
Is the frame size set in IPU_CSI_ACT_FRM_SIZE register bigger than the real frame size?
Is the IOMUX_GPR1 for iMX6DQ or IOMUX_GPIO13 for iMX6SDL been correctly set?
To avoid hardware issue, the customer can set the data and clock pins as GPIO and output 0/1,
then measure if each PIN can work correctly.