AnsweredAssumed Answered

adv7280m采不到图像

Question asked by 屠珂楠 屠 on Nov 8, 2018
Latest reply on Nov 8, 2018 by jimmychan

报 ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0。

平台 imx6q,内核版本3.14

mipi配置如下:

&mipi_csi {
status = "okay";
ipu_id = <0>;
csi_id = <1>;
v_channel = <1>;
lanes = <1>;
};

adv7280: adv7280@20 {
compatible = "ad,adv7280";
reg = <0x20>;
clocks = <&clks 201>;
clock-names = "csi_mclk";
csi_id = <1>;
mclk = <24000000>;
mclk_source = <0>;
};

adv7280m驱动配置为  Color Bars 576p MIPI Out ;

 

 

 

相关寄存器   mipi_csi2_dphy_status = 0x300

                     mipi_csi2_error1 = 0x0000

                     mipi_csi2_error2 = 0x0000

CSI_SENS_CONF = 0x00000A00
CSI_ACT_FRM_SIZE = 0x020C02CF
CONF = 0x00000000
INT_STAT_1 = 0x00000200
CSI0_SENS_FRM_SIZE = 0x027002CF
IPU_CONF = 0x00000000
IPU_CHA_DB_MODE_SEL0 = 0x00000000

 

mipi_csi2_reset(mipi_csi2_info,0x14);

 

clk mode : IPU_CSI_CLK_MODE_GATED_CLK。

 

 

 

总是获取数据超时,中断无反应。请求大神或者调过的前辈指导一番。

Outcomes