Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
@ming_58391 @32bitwidesaviour could you guys help me decipher these please
flasher@flasher:~ $ dmesg | grep -i imx219
[ 0.064637] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx219@10
[ 3.758979] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx219@10
[ 10.157833] imx219 10-0010: Error reading reg 0x0000: -121
[ 10.157873] imx219 10-0010: failed to read chip id 219
[ 10.158692] imx219: probe of 10-0010 failed with error -121
if it’s using I2C,
how about probing it once
manually
For context I am trying to get image feed off a imx219-160 camera on a raspberry pi 0 2w in headless mode
using something like i2cdetect?
it’s trying to do sensor.init() but is unable to read the version ID
yep
Ok cool let me run it
Linux land is just insane
so big
almost autosar
`Error: Could not open file `/dev/i2c-1′ or `/dev/i2c/1′: No such file or directory`
My cable could be wrong
Are you trying to run a camera on a RPi5?
on RPi 0 2w
OK – similar chip…
after that try acessing the chip ID register


looks to me like an i2c comms issue
It could also be not enbaled in the Device Tree
i also feel the same
Is there an overlay for I2C?
software or cable
SW
I just enabled. i2c on raspi config
rebooting
then trying again
I added an overlay to enable the camera
Ok so now I have this
I seem to have enabled i2c
but no camera yet
That’s a distinct lack of camera π
I think re hook up the cable maybe its not connected just right.
is it logic high?
check with a multimeter if the cable is logic high or not
ifso then it a maybe cable prob then
or pinctrl doesnt enable logic high
I just watched a video and I realise the guy at the shop might have connected the cable upside down
was in a rush and I just wanted it to work
rebooting then we can check again
Hurry potter.
Upside down cable and I have signal
do you mean the flex cable?
yes sir
Ahh,
i have done that
i feel you
it’s always a damn wire!
No – we witnessed your debugging and problem determination skills!
i need this kind of optimism everyday
i need this kind of optimism everyday
I need this kind of time to debug
CONTRIBUTE TO THIS THREAD