AnsweredAssumed Answered

imx6 mipi csi2 question

Question asked by Ed Nash on May 3, 2015
Latest reply on May 6, 2015 by Ed Nash

What does this sequence in mxc_mipi_csi2.c: mipi_csi2_reset() do?

 

mipi_csi2_write(info, 0x00000001, MIPI_CSI2_PHY_TST_CTRL0);

mipi_csi2_write(info, 0x00000000, MIPI_CSI2_PHY_TST_CTRL1);

mipi_csi2_write(info, 0x00000000, MIPI_CSI2_PHY_TST_CTRL0);

mipi_csi2_write(info, 0x00000002, MIPI_CSI2_PHY_TST_CTRL0);

mipi_csi2_write(info, 0x00010044, MIPI_CSI2_PHY_TST_CTRL1);

mipi_csi2_write(info, 0x00000000, MIPI_CSI2_PHY_TST_CTRL0);

mipi_csi2_write(info, 0x00000014, MIPI_CSI2_PHY_TST_CTRL1);

mipi_csi2_write(info, 0x00000002, MIPI_CSI2_PHY_TST_CTRL0);

mipi_csi2_write(info, 0x00000000, MIPI_CSI2_PHY_TST_CTRL0);

 

According to the TRM sections 40.6.13 and 40.6.14, these registers are for moving test data in and out of the bus. But in this postGetting an 'err_id_vc0' error on iMX6 MIPI-CSI it seems to have something to do with clock settings?

 

Thanks, Ed

Outcomes