i wanna use imx6q to drv ov13850 based on ov5640_mipi interface,but got nothing in ipu,with an error like "ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0 "

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i wanna use imx6q to drv ov13850 based on ov5640_mipi interface,but got nothing in ipu,with an error like "ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0 "

1,287 Views
tony_9123
Contributor I

when i run my test app the log :

<0> ioctl_g_ifparm

<0>  ioctl_g_fmt_cap

<0> ioctl_s_power

<0>   ioctl_dev_init

ov13850 reg inited ok.....

everything fits well for init mipi_csi2_info sleep 0x12c

mipi_csi2_dphy_status  mipi_reg=0x330

waiting get_error1  mipi_reg=0x0

mipi_csi2_get_error1  mipi_reg=0x0

mipi_csi2 error2 = 0x0mipi_csi2_dphy_status = 0x300querycap video_fd =4

querycap end

YUYV

init channel 0x13ffffd4

ipu init channel CSI_PRP_ENC_MEM ..........

cmd DQBUF

ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

ipu_conf 0xa00006a6

from the information i guess that the csi2 controller has recived my sensor's data ,but ipu didn't get the complete image data,so that get no interruput,

hao can i confirm the real reason ?who can help me out? thank you.

Labels (2)
0 Kudos
3 Replies

628 Views
tony_9123
Contributor I

dear jimmychan,

can i get the img from csi2 to mem ? may u share the solution to me? and the end of frame signal mayby will also be a trouble.

0 Kudos

628 Views
jimmychan
NXP TechSupport
NXP TechSupport

Sorry, I don't have the solution. But you can find the solution/hints from the community. Some customers tried to do this.

for your example:

imx6 MIPI CSI with OV5648 camera

0 Kudos

628 Views
jimmychan
NXP TechSupport
NXP TechSupport

for iMX6, the IPU can't support converting bayer format to RGB/YUV on the fly

For your information.

Can imx6 support for RGB RAW camera?

0 Kudos