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

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

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

ソリューションへジャンプ
2,259件の閲覧回数
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 解決策
2,194件の閲覧回数
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 返答(返信)
2,249件の閲覧回数
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 件の賞賛
2,244件の閲覧回数
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 件の賞賛
2,231件の閲覧回数
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 件の賞賛
2,214件の閲覧回数
Jen2
Contributor I
 

Is there any problem with my operation steps?

0 件の賞賛
2,229件の閲覧回数
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 件の賞賛
2,195件の閲覧回数
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,128件の閲覧回数
Jen2
Contributor I

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

0 件の賞賛
2,150件の閲覧回数
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 件の賞賛
2,189件の閲覧回数
Jen2
Contributor I
i2c_transfer()  return error -5 or -110, why?
0 件の賞賛
2,177件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

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

 

0 件の賞賛
2,154件の閲覧回数
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 件の賞賛
2,138件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

I have mailed to you pls check it

 

0 件の賞賛