This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3354 I2C1引脚没有波形



I2C1使用B16(GPIO0_4)和A16(GPIO0_5)接GT911触摸芯片,实际执行到触摸芯片初始化的时候用示波器检测不到波形,请问这是什么回事,是哪里配置错了吗。

DTS文档配置为:

i2c1_pins: pinmux_i2c1_pins {
pinctrl-single,pins = <
0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* SPI0_D1.i2c1_sda */
0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* SPI0_CS0.i2c1_scl */
>;

&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;

status = "okay";
clock-frequency = <100000>;

gt911_ts@5d {
compatible = "gt911,gt911_ts";
pinctrl-names = "default";
pinctrl-0 = <&gt911_ts_pins>;
reg = <0x5d>;
interrupt-parent = <&gpio1>;
interrupts = <27 2>;

gpios = <&gpio1 26 0>;

touchscreen-size-x = <800>;
touchscreen-size-y = <480>;

touchscreen-swap = <1>;
touchscreen-revert-x = <1>;
touchscreen-revert-y = <1>;
};
};

内核配置如下: