iMX8M Plus MIPI CSI Monochrome camera integration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8M Plus MIPI CSI Monochrome camera integration

2,650件の閲覧回数
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 件の賞賛
返信
10 返答(返信)

2,434件の閲覧回数
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 件の賞賛
返信

2,431件の閲覧回数
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 件の賞賛
返信

2,409件の閲覧回数
jiangyaqiang
Contributor IV

HI Dharanitharan:

 

       Got it ,thanks.

0 件の賞賛
返信

2,504件の閲覧回数
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 件の賞賛
返信

2,615件の閲覧回数
Dharanitharan
Contributor II

Hi @joanxie 

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

0 件の賞賛
返信

2,631件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

 

0 件の賞賛
返信

2,600件の閲覧回数
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 件の賞賛
返信

2,556件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

 

0 件の賞賛
返信

2,554件の閲覧回数
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 件の賞賛
返信

2,526件の閲覧回数
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 件の賞賛
返信