All i see is random still waves on each data pin.I'd investigate that further. If you can't get it act reliably as an output, then there is something quite wrong.The oscilloscope has some waves on 44 and 45 but changing high to low doesn't change anything.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).
i2cdetect -y 10 returns all --.andCode:
44: op -- pn | lo // SDA0/GPIO44 = output45: op -- pn | lo // SCL0/GPIO45 = output
Code:
44: op -- pn | hi // SDA0/GPIO44 = output45: op -- pn | hi // SCL0/GPIO45 = output
Do the waves you're seeing actually correspond to I2C traffic, or is it random?
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