Diligent Pcan 5C (Ov5640 using 0x3d I2C address) on imx8

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Diligent Pcan 5C (Ov5640 using 0x3d I2C address) on imx8

Jump to solution
1,354 Views
marekbelisko
Contributor II

Hello,

 

I'm trying to test Dilligent Pcam 5C (using OV 5640 sensor). By just plugging it to by board camera is not recognized (cannot communicate over I2C).

I checked with i2cdetect and camera is not present on 0x3C but on 0x3D I2C address. When adjusted dts and recompile it I'm still getting:

[ 2.419131] ov5640_mipi 1-003d: No pin available
[ 2.423789] ov5640_mipi 1-003d: No sensor pwdn pin available
[ 2.429486] ov5640_mipi 1-003d: No sensor reset pin available
[ 2.435302] ov5640_mipi 1-003d: 1-003d supply DOVDD not found, using dummy regulator
[ 2.443128] ov5640_mipi 1-003d: 1-003d supply DVDD not found, using dummy regulator
[ 2.450856] ov5640_mipi 1-003d: 1-003d supply AVDD not found, using dummy regulator
[ 2.465884] ov5640_mipi 1-003d: Failed to update SCCB_ID to 0x7a

 

By reading code during probe camera switch I2C address to 0x78 but for my case seems it's not working. Anyone have similar experience and maybe some idea how to resolve this issue? Thanks.

 

Tags (1)
0 Kudos
1 Solution
1,342 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
3 Replies
1,331 Views
marekbelisko
Contributor II

Hi Igor,

imx8mq and BSP I'm using dunfell yocto release (kernel 5.4.xx). On imx8mq evk camera chip ov5640 works fine (according dts -> I didn't try it by myself) I'm just curious if anyone else stumbled with problem that I2C address is not 0x3C but 0x3D and driver doesn't work out of the box. Thanks.

 

 

0 Kudos
1,327 Views
igorpadykov
NXP Employee
NXP Employee

>mx8mq and BSP I'm using dunfell yocto release (kernel 5.4.xx)..

 

sorry nxp has not dunfell yocto release, probably you are using some third party linux release.

Please try nxp linux from source.codeaurora.org/external/imx/linux-imx repository

https://source.codeaurora.org/external/imx/linux-imx/tree/?h=lf-5.10.y

Documentation

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

 

Best regards
igor

0 Kudos
1,343 Views
igorpadykov
NXP Employee
NXP Employee

Hi Marek

 

what processor and bsp used in the case. May be recommended to try nxp linux

https://source.codeaurora.org/external/imx/linux-imx/tree/?h=lf-5.10.y

Documentation

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

 

Best regards
igor

0 Kudos