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.

AM437X I2C0波形异常



1.前提

KERNEL版本:3.12

开发板用的米尔科技的:myb-c437x

I2C芯片用的是:DS3231

引脚配置:

i2c0_pins: pinmux_i2c0_pins {
pinctrl-single,pins = <
0x188 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* AB24 = i2c0_sda.i2c0_sda */
0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* Y22 = i2c0_scl.i2c0_scl */
>;
};

2.波形异常

如图图1所示,部分SDA的波形幅度只有2V,图2是图1红色方框放大后的波形!

测试过多种传感器MPU6050 HMC5883 24C02等传感器 都可以正常使用,但最近使用BME680发现write不成功,但是read的数据是对的!

Q1:关于图1的波形是软件问题还是硬件?

                                             图1

                                           图2