AnsweredAssumed Answered

MAX9286 Frame synchronization

Question asked by z dq on Mar 31, 2017
Latest reply on May 24, 2017 by Johnson Zhang

now i use BSP 3.10.53, i use MAX9286+MAX96707+ISX016,

camera is 1280*800;30fps;

my configure:

 max9286_write_reg(0x01, 0x00);
 max9286_write_reg(0x63, 0x00);
 max9286_write_reg(0x64, 0x00);

 max9286_write_reg(0x06, 0x00);
 max9286_write_reg(0x07, 0x7C);
 max9286_write_reg(0x08, 0x92);

....

mipi_csi2_reset(mipi_csi2_info, (576 * g_sensor_num) / (lanes + 1));

 

in dts :

&mipi_csi{

....

lanes = <4>

....

when i connect only one camera i can get image correct.

but when i connect two camera,it can not get Frame synchronization locked:
log:

max9286_mipi: sensor number = 2.
mxc_mipi_csi2 21dc000.mipi_csi: mipi_csi2_reset: mipi_lane_bps = 288 Mbps
mxc_mipi_csi2 21dc000.mipi_csi: mipi_csi2_reset: value = 0x28.
FAT-fs (mmcblk3p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
max9286_mipi: reg 0x31 = 0x0.
max9286_mipi: reg 0x30 = 0x0.
max9286_mipi: reg 0x31 = 0x3f.
max9286_mipi: reg 0x30 = 0xfe.
max9286_mipi: reg 0x31 = 0x3f.
max9286_mipi: reg 0x30 = 0xfe.
FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
mipi csi2 can not receive sensor clk! MIPI_CSI_PHY_STATE = 0x6f0.

Outcomes