i.MX 8QuadMax MEK​ usage with MINISASTOCSI ov5640 camera

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

i.MX 8QuadMax MEK​ usage with MINISASTOCSI ov5640 camera

跳至解决方案
3,128 次查看
Jen2
Contributor I
my imx8qm mek board and MINISASTOCSI module purchased on the NXP official website
use Linux 4.14.98_ 2.0.0 BSP and fsl-imx8qm-mek-ov5640. dtb
but there is an error message:
    mxc-mipi-csi2 58227000.csi: mipi_csi2_probe
    ov5640_mipi_v3 8-003c: 8-003c supply DOVDD not found, using dummy regulator
    ov5640_mipi_v3 8-003c: 8-003c supply DVDD not found, using dummy regulator
    ov5640_mipi_v3 8-003c: 8-003c supply AVDD not found, using dummy regulator
    ov5640_mipi_v3 8-003c: Read reg error: reg=300a
    camera ov5640 is not found
use the oscilloscope to measure the SDA and SCL pins, which are always at high level
What may be the reason?
0 项奖励
回复
1 解答
3,063 次查看
joanxie
NXP TechSupport
NXP TechSupport

did you test this ov5640 on other board successfully before? or did you change another mini-SAS cable to test? and check if you Plug in the  mini-SAS cable into i,mx8qm board tight enough, your steps are correct

 

在原帖中查看解决方案

0 项奖励
回复
12 回复数
3,118 次查看
joanxie
NXP TechSupport
NXP TechSupport

imx8qm has two mipi csi port,did you try the another one? get the same error message on two mipi csi ports?

 

0 项奖励
回复
3,113 次查看
Jen2
Contributor I

Yes, I only have one module. Insert mipi csi0 or mipi csi1 with the same error message. Is there a possibility that the imx8qm mek board has a dial switch or something else that needs to be set?

[15-20-20.385][ 4.120204] mxc-mipi-csi2 58227000.csi: mipi_csi2_probe
[15-20-20.385][ 4.144654] mxc-mipi-csi2 58247000.csi: mipi_csi2_probe
[15-20-20.385][ 4.169401] ov5640_mipi_v3 8-003c: 8-003c supply DOVDD not found, using dummy regulator
[15-20-20.393][ 4.177479] ov5640_mipi_v3 8-003c: 8-003c supply DVDD not found, using dummy regulator
[15-20-20.423][ 4.185428] ov5640_mipi_v3 8-003c: 8-003c supply AVDD not found, using dummy regulator
[15-20-20.445][ 4.223873] ov5640_mipi_v3 8-003c: Read reg error: reg=300a
[15-20-20.446][ 4.229458] camera ov5640 is not found
[15-20-20.446][ 4.233851] ov5640_mipi_v3 9-003c: 9-003c supply DOVDD not found, using dummy regulator
[15-20-20.454][ 4.242038] ov5640_mipi_v3 9-003c: 9-003c supply DVDD not found, using dummy regulator
[15-20-20.486][ 4.249983] ov5640_mipi_v3 9-003c: 9-003c supply AVDD not found, using dummy regulator
[15-20-20.511][ 4.291866] ov5640_mipi_v3 9-003c: Read reg error: reg=300a
[15-20-20.512][ 4.297444] camera ov5640 is not found

标记 (1)
0 项奖励
回复
3,100 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls share your connection picture and your test steps, let me double check it, what bsp do you use? do you use demo images or your own built images?

 

0 项奖励
回复
3,083 次查看
Jen2
Contributor I
 

Is there any problem with my operation steps?

0 项奖励
回复
3,098 次查看
Jen2
Contributor I

20220429180428.jpg

My bsp version is 4.14.98, and the download link ishttps://www.nxp.com/webapp/sps/download/license.jsp?colCode=L4.14.98_2.0.0_MX8QM&appType=file1&DOWNL... ,put it into (tmp/deploy/images/imx8qmmek) directory of yocto, execute (sudo dd if=fsl-image-validation-imx-imx8qmmek.sdcard of=/dev/sde bs=1M conv=fsync) command to burn it into the SD card, start from the SD card and interrupt the u-boot input command(setenv fdt_file 'fsl-imx8qm-mek-ov5640.dtb'    saveenv   boot).

 

0 项奖励
回复
3,064 次查看
joanxie
NXP TechSupport
NXP TechSupport

did you test this ov5640 on other board successfully before? or did you change another mini-SAS cable to test? and check if you Plug in the  mini-SAS cable into i,mx8qm board tight enough, your steps are correct

 

0 项奖励
回复
2,997 次查看
Jen2
Contributor I

I changed a new MINISASTOCSI module and tested it successfully. The previous module is broken. Thank you for your help!

0 项奖励
回复
3,019 次查看
Jen2
Contributor I

I suspect that there is a hardware failure in my MINISASTOCSI module. I have checked that the mini-SAS cable is plugged tight enough.

0 项奖励
回复
3,058 次查看
Jen2
Contributor I
i2c_transfer()  return error -5 or -110, why?
0 项奖励
回复
3,046 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls share the detailed logfile with this error and why did you get this

 

0 项奖励
回复
3,023 次查看
Jen2
Contributor I

I found a more intuitive problem.

When the mipi csi0 interface is not inserted into the MINISASTOCSI module, use the oscilloscope to measure B11(MIPI_CSI0_I2C0_SCL), which is a high level of 1.8V.

When the MINISASTOCSI module is inserted into the interface, use the oscilloscope to measure B11, and the SCL is pulled down to 0.5V.

Can this explain the hardware failure of the MINISASTOCSI module?

csi.jpg

 

0 项奖励
回复
3,007 次查看
joanxie
NXP TechSupport
NXP TechSupport

I have mailed to you pls check it

 

0 项奖励
回复