Use 4 lanes on MIPI Camera AP1302+i.MX6Q

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

Use 4 lanes on MIPI Camera AP1302+i.MX6Q

1,584 Views
simonlin
Contributor II

Hello

I am developing Aptina 13M camera driver on  i.MX6Q  with Android 7.1.1

CSI2 4 lane transmitter, which constantly streams out V4L2_PIX_FMT_UYVY data @4208X3120 5fps, 800MHz (DDR - Discontinuous Clock) to i.MX6Q. 

initial steps are below

1. check mipi_csi2_get_status

2. mipi_csi2_enable

3. mipi_csi2_set_lanes = 4

4. mipi_csi2_reset(800MHz)

5. mipi_csi2_dphy_status

But it always show error message "mipi csi2 can not receive sensor clk! MIPI_CSI_PHY_STATE = 0x6f0" when I capture photo

Could you give me some advice?

Thank you very much

0 Kudos
1 Reply

786 Views
igorpadykov
NXP Employee
NXP Employee

Hi Simon

please follow Debug steps for customer MIPI sensor on link
https://community.nxp.com/docs/DOC-94312
and check sensor clock with oscilloscope

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos