Check the GPIO is working by driving it manually. Using Raspberry Pi OS Bookworm, you can use the pinctrl command to drive the pin.
To set the pin to output and drive it high, then check the state:Similarly to set it low and check the outputTo set it back to SCL1:
To set the pin to output and drive it high, then check the state:
Code:
rpdom@raspi16:~ $ pinctrl set 3 op dhrpdom@raspi16:~ $ pinctrl get 3 3: op -- -- | hi // GPIO3 = outputrpdom@raspi16:~ $ Code:
rpdom@raspi16:~ $ pinctrl set 3 op dlrpdom@raspi16:~ $ pinctrl get 3 3: op -- -- | lo // GPIO3 = outputrpdom@raspi16:~ $ Code:
rpdom@raspi16:~ $ pinctrl set 3 a0rpdom@raspi16:~ $Statistics: Posted by rpdom — Thu Mar 27, 2025 12:43 pm