The on-board resistors should be pulling the i2c data line high, which would prevent anything showing up with nothing connected.
Can you try this test with nothing connected to the pinsThe first should show both pins set for i2c mode:The next command will set the pins to input mode with pull down - the resistors on the board should override that.
The third command should show the pins in Input mode and both reading high. If either read low it could be a damaged resistor.You can set them back to i2c mode with
Can you try this test with nothing connected to the pins
Code:
pinctrl get 2,3pinctrl set 2,3 ip pdpinctrl get 2,3
Code:
2: a0 -- | hi // SDA1/GPIO2 = SDA1 3: a0 -- | hi // SCL1/GPIO3 = SCL1
The third command should show the pins in Input mode and both reading high. If either read low it could be a damaged resistor.
Code:
2: ip -- | hi // SDA1/GPIO2 = input 3: ip -- | hi // SCL1/GPIO3 = input
Code:
pinctrl set 2,3 a0
Statistics: Posted by rpdom — Tue Feb 06, 2024 10:33 am