如果有VDDIO,则需要将其作为串行接口的电压源。
仔细阅读数据表,如果使用I2C,请确保您可以为每个功能(Accelero和Magneto)正确读取WHO_AM_I_REG @ 0x0F。
用示波器检查,否则确保I2C看起来很好,并且每条线路都有一个上拉电阻。
或扫描所有I2C从地址,直到检测到ACK为止......
以上来自于谷歌翻译
以下为原文
If there is a VDDIO this needs to be the voltage source of the serial interface.
Read carefully the datasheet and if using the I2C, make sure you can read the WHO_AM_I_REG @0x0F properly for each function (Accelero and Magneto).
Check with an oscilloscope otherwise to make SURE the I2C is looking good and there is a pull-up on each line.
Or sweep all the I2C slave addresses until an ACK is detected...
如果有VDDIO,则需要将其作为串行接口的电压源。
仔细阅读数据表,如果使用I2C,请确保您可以为每个功能(Accelero和Magneto)正确读取WHO_AM_I_REG @ 0x0F。
用示波器检查,否则确保I2C看起来很好,并且每条线路都有一个上拉电阻。
或扫描所有I2C从地址,直到检测到ACK为止......
以上来自于谷歌翻译
以下为原文
If there is a VDDIO this needs to be the voltage source of the serial interface.
Read carefully the datasheet and if using the I2C, make sure you can read the WHO_AM_I_REG @0x0F properly for each function (Accelero and Magneto).
Check with an oscilloscope otherwise to make SURE the I2C is looking good and there is a pull-up on each line.
Or sweep all the I2C slave addresses until an ACK is detected...
举报