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

Compute Module • Re: CAM1 not working on a custom board with a CM4

$
0
0
i2c-10 would normally be on GPIOs 44&45.
Prove your wiring by attaching an oscilloscope to those 2 GPIOs, and using "pinctrl set 44,45 op dh", and "pinctrl set 44,45 op dl" to set it high and low respectively.

If proved, then after an "i2cdetect -y 10" I would expect "pinctrl get 44,45" to return SDA and SCL (I've not got a Pi4 booted to give the exact text).
The oscilloscope has some waves on 44 and 45 but changing high to low doesn't change anything.
i2cdetect -y 10 returns all --.

Code:

44: op -- pn | lo // SDA0/GPIO44 = output45: op -- pn | lo // SCL0/GPIO45 = output
and

Code:

44: op -- pn | hi // SDA0/GPIO44 = output45: op -- pn | hi // SCL0/GPIO45 = output
I'd investigate that further. If you can't get it act reliably as an output, then there is something quite wrong.
Do the waves you're seeing actually correspond to I2C traffic, or is it random?
All i see is random still waves on each data pin.
I'll need to test with the oscilloscope on the io board tho.
I find it very strange, it isn't my first board on where I put camera connectors.

Statistics: Posted by alessandro.cursoli — Wed Nov 27, 2024 12:35 pm



Viewing all articles
Browse latest Browse all 4906

Trending Articles