Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4886

Camera board • Re: OV5647 Camera I2C address disappears when unloading the driver

$
0
0
I was not able to control the "cam1_reg" regulator. so disabled it in config.txt using:
dtparam=cam1_reg=off

and then made the regulator pin high(gpio41) manually:
gpioset gpiochip0 41=1

now I can directly communicate with the sensor using i2c:

Code:

pi@raspberrypi:~$ sudo i2cdetect -y 11     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f00:                         -- -- -- -- 0c -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- 36 -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --  
Thanks for the help!

Statistics: Posted by pi_chef — Tue Dec 24, 2024 6:05 pm



Viewing all articles
Browse latest Browse all 4886

Trending Articles