How many data lane in use (MIPI-CSI2) ?

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

How many data lane in use (MIPI-CSI2) ?

Jump to solution
2,645 Views
toanjunifer
Senior Contributor I

Hi,

I'm using iMX6 Solo board with OV5645 camera (MIPI-CSI2). For some cases, I also use USB Camera Logitech C270. As I refer, iMX6 Solo has 2 data lanes(MIPI-CSI2). So, I have some questions:

  1. How many lane in use when OV5645 is working ? How can I check it ?
  2. Can I split each data lane for each camera if I use dual camera MIPI ?

Thank you so much,

Toan

Labels (1)
1 Solution
2,411 Views
joanxie
NXP TechSupport
NXP TechSupport

1) depends on what data lane you set, The maximum speed of the interface is:
• 200Mhz for 4 data lanes configuration
• 250Mhz for 2 data lanes configuration

2) I don't think so, mipi csi can supports up to 4 data lane, obviously couldn't support up to 4 cameras, data lane is just physical connection, different camera needs virtual channel

View solution in original post

4 Replies
2,411 Views
toanjunifer
Senior Contributor I

1. First question:

  • You mean: While OV5645 is working, all lanes available will be activated, right ?

2.  Second question: 

  • Yes. I also try dual camera. But my question not focus on this. My iMX6s has two lanes. And I use dual cameras. Can I split each data lane for each camera ? Or we can't control this and it's is automatically. 

Thank you so much !

0 Kudos
2,412 Views
joanxie
NXP TechSupport
NXP TechSupport

1) depends on what data lane you set, The maximum speed of the interface is:
• 200Mhz for 4 data lanes configuration
• 250Mhz for 2 data lanes configuration

2) I don't think so, mipi csi can supports up to 4 data lane, obviously couldn't support up to 4 cameras, data lane is just physical connection, different camera needs virtual channel

2,411 Views
toanjunifer
Senior Contributor I

1. iMX6S has 2 data lanes. I just order an iMX8M Mini with 4 data lanes. And as you said, with 4 data lanes configuration, each lane is running at 200 MHz and maximum is 800 MHz,  right ?

2. You're right. Data lane is just physical connection, so can I control each data lane for each camera(use MIPI-CSI2) via software ? In that case, I just use dual cameras and iMX8M Mini. And can I modify clock lane by edit this:

&ipu1_csi1_from_ipu1_csi1_mux {      clock-lanes = <0>;      data-lanes = <1 2>; };

Thank you so much ?

0 Kudos
2,411 Views
joanxie
NXP TechSupport
NXP TechSupport

for new products issue, I suggest that you can create a new topic, which can help other customers who have the same issue