AnsweredAssumed Answered

IMX6 custom MIPI sensor mxc_v4l_dqueue timeout enc_counter 0

Question asked by Motti Ng on May 10, 2016
Latest reply on Feb 7, 2017 by Francois Belanger

I would like to use v4l2 to capture video/photo.

My linux kernel is 3.0.35 and the board I am using is SabreLite from Boundary Device.

I am adding an Sony IMX camera which also support MIPI.

I checked the clock signals through oscilloscope and found that 24MHz mclk is present.

Applied Sony provided register settings, the process passed the MIPI "no sensor clk" and "cannot receive data" check.

When I test by running /unit_tests/mxc_v4l2_capture.out -c 1 -iw 2104 -ih 1560 image.raw, it fail at:

     ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

     VIDIOC_DQBUF failed.

 

I have already matched the MIPI D-PHY clock by mipi_csi2_write(info, 0x00000010, CSI2_PHY_TST_CTRL1);

I tried to set this to a different value but all situations failed at this mxc_v4l_dqueue timeout enc_counter 0.

 

Could you give me some advice?

Outcomes