sgjava Posted November 10, 2021 Posted November 10, 2021 So in armbian-config I can enable /dev/i2c-0 /dev/i2c-1 /dev/i2c-2 but there is only one hardware I2C onboard. Are the other two software driven? If so what pins do you use for SCL and SDA?
sgjava Posted November 10, 2021 Author Posted November 10, 2021 Found it in DTB i2c0-pins { pins = "PA11\0PA12"; function = "i2c0"; phandle = <0x1c>; }; i2c1-pins { pins = "PA18\0PA19"; function = "i2c1"; phandle = <0x1d>; }; i2c2-pins { pins = "PE12\0PE13"; function = "i2c2"; phandle = <0x1e>; };
sgjava Posted November 10, 2021 Author Posted November 10, 2021 PA18\0PA19 and E12\0PE13 do not seem to map to pins.
Recommended Posts