MAX9286 Frame synchronization

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

MAX9286 Frame synchronization

2,130 Views
dqz
Contributor II

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.

Labels (1)
0 Kudos
5 Replies

1,093 Views
gaozhihe
Contributor I

Have you solved this problem? I also encountered ”MIPI_CSI_PHY_STATE = 0x6f0“ problems.

I have been looking, and found no useful information
anyone can give some help

0 Kudos

1,093 Views
johnson_jl
Contributor I

Have you solved this problem? I have same HW as your design, and I even can not detect the MX96707. Would you please paste your MAX9286 configuration codes?

0 Kudos

1,093 Views
igorpadykov
NXP Employee
NXP Employee

Hi dq

please check below link for several cameras usage

https://community.freescale.com/docs/DOC-328548

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

0 Kudos

1,093 Views
dqz
Contributor II

Thank you for your reply, I have been looking, and found no useful information

anyone can give some help

0 Kudos

1,093 Views
igorpadykov
NXP Employee
NXP Employee

Figure 19-1 shows how multiple cameras may be used, so try to

verify that cameras used different CSIn.

0 Kudos