iMX8M Plus MIPI CSI Monochrome camera integration

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

iMX8M Plus MIPI CSI Monochrome camera integration

2,078 Views
Dharanitharan
Contributor II

Hi,

I am trying to add two lane monochrome camera support to iMX8M Plus platform.

I tried to add changes to imx8-isi-cap.c and imx8-mipi-csi-sam.c files but i am not getting single frame.

The kernel version i am using is 5.4.

Could you please help me by providing patches for monochrome camera?

0 Kudos
10 Replies

1,862 Views
jiangyaqiang
Contributor IV

HI Dharanitharan:

 

    Have you solved the issue ? I'm also porting a monochrome camera to imx8mp kernel5.4, but fail to get frame too.

 
   It's very appreciate if you can tell me how do you solved your issue.
0 Kudos

1,859 Views
Dharanitharan
Contributor II

Hi,

In our case, we changed the mipi clock source from continuous to gated. After that mipi-csi receiver in iMX8MP can able to receive frames.

0 Kudos

1,837 Views
jiangyaqiang
Contributor IV

HI Dharanitharan:

 

       Got it ,thanks.

0 Kudos

1,932 Views
linda_zhang
Contributor IV

We have two MIPI camera interfaces on our boards using with our MIPI camera modules.

Our kernel is 5.10.9.

http://www.myirtech.com/list.asp?id=670

You can contact to get some information if needed.

0 Kudos

2,043 Views
Dharanitharan
Contributor II

Hi @joanxie 

we are using 8 bit and 10 bit Gray format. The modifications are given in the attachment.

0 Kudos

2,059 Views
joanxie
NXP TechSupport
NXP TechSupport

what detailed format do you use, and pls share your modification here

 

0 Kudos

2,028 Views
Dharanitharan
Contributor II

Hi @joanxie 

Does iMX8M Plus support continuous mipi clock from sensor?

If yes, could you please provide us the kernel or device tree changes for continuous mipi clock support?

0 Kudos

1,984 Views
joanxie
NXP TechSupport
NXP TechSupport

current bsp support continuous clock as default, you can refer to that

 

0 Kudos

1,982 Views
Dharanitharan
Contributor II

Hi @joanxie 

Can you please help us by provide the kernel or device tree change or register setting to change mipi clock mode either from continuous to non-continuous mode or from non-continuous to continuous mode?

I am trying integrating monochrome sensor with iMX8M plus. With that i can receive frames only on non-continuous mode.

In continuous we are not receiving single frame in platform side. But we can see stream while probing the camera.

And below are some of the details provided in data sheet.

NOTE: Notice : Almost MIPI CSI2 block uses “ByteClk” from D- PHY. This “ByteClk” is not continuous
clock. User has to assert software reset when Camera module is turned off.

0 Kudos

1,954 Views
joanxie
NXP TechSupport
NXP TechSupport

but I don't think current bsp supports non-continuous mode, do you mean you can set non-continuous mode on current bsp?

 

0 Kudos