iMX8M Plus MIPI CSI Monochrome camera integration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX8M Plus MIPI CSI Monochrome camera integration

2,465 次查看
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,249 次查看
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,246 次查看
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,224 次查看
jiangyaqiang
Contributor IV

HI Dharanitharan:

 

       Got it ,thanks.

0 项奖励
回复

2,319 次查看
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,430 次查看
Dharanitharan
Contributor II

Hi @joanxie 

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

0 项奖励
回复

2,446 次查看
joanxie
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
回复

2,415 次查看
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,371 次查看
joanxie
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
回复

2,369 次查看
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,341 次查看
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 项奖励
回复