在使用CM5时,想要将i2c0当作普通I2C使用,按照数据手册解释,默认是给MIPI0使用的,
“2.11. I2C (SDA0 SCL0)
This internal I2C bus is normally allocated to MIPI0. It can be used as a general I2C bus if MIPI0 interface isn’t being
used. SDA0 is connected to GPIO38 on the RP1 and SCL0 is connected to GPIO39.”
我在/boot/firmware/config.txt里添加了dtoverlay=i2c0,pins_38_39
在dts里添加了
fragment@1 {
target = <&i2c_csi_dsi>;
__overlay__ {
status = "disabled";
};
};
但是使用i2cdetect不到i2c0设备,有大佬知道还需要哪里添加配置吗