MIPI-CSI2 on Imx8MP

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

MIPI-CSI2 on Imx8MP

1,150 次查看
naveenprasath_0
Contributor I

Hi,

We've a custom FPGA interfaced with imx8mp through MIPI-CSI2 interface. This fpga just sends out color bars at the moment for testing purposes. The data lane width is 2 and the video is YUV422 640x480 30fps. We've modified the OV5640 driver to make sure that i2c transfers are returned successfully to avoid any failures while loading.
However,we are able to observe only split color bars (with colors not properly aligned) when we capture using gstreamer. Screenshot is attached below
 
Quick analysis of dmesg shows that the pixclock values are filled with high negative numbers. Please refer to dmesg.txt
I'm not sure why this happens and how to set it apart from the dts and how do we verify the pix clock is set properly.
Can you please help?
0 项奖励
回复
2 回复数

674 次查看
zoro_li
Contributor I

For YUV422 input, do imx8mp need any special modifications?

0 项奖励
回复

1,118 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Beside the setting in the dts/dtsi file, you may need to check/modify the driver source code. For the details of the drivers, please read the i.MX Linux Reference Manual.

 

We have different version of Linux BSP.

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Please download the i.MX Linux Reference Manual​ according to the version that you are using.

 

 

0 项奖励
回复