Yes, that all looks good. Obviously it's just a snapshot of one instant, but seems fine.This OS did not have the "pinctrl" command, but "raspi-gpio" works in a similar way.> The on-board resistors should be pulling the i2c data line high, which would prevent anything showing up with nothing connected.
Here is the result when I run it without connecting anything to the pin.
raspi-gpio get 2,3raspi-gpio set 2,3 ip pdCode:
GPIO 2: level=1 fsel=4 alt=0 func=SDA1GPIO 3: level=1 fsel=4 alt=0 func=SCL1
raspi-gpio get 2,3pinctrl set 2,3 a0Code:
GPIO 2: level=1 fsel=0 func=INPUTGPIO 3: level=1 fsel=0 func=INPUT
raspi-gpio get 2,3There doesn't seem to be any problem, but...Code:
GPIO 2: level=1 fsel=4 alt=0 func=SDA1GPIO 3: level=1 fsel=4 alt=0 func=SCL1
Possible RFI could influence the lines, but it would need a lot to overcome the pull-ups when nothing is connected.
One other possibility is something else using the pins. That would be tricky to track down.
Statistics: Posted by rpdom — Wed Feb 07, 2024 9:22 am