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.

[参考译文] LAUNCHTXL-CC2650:MPU6050未初始化

Guru**** 2560390 points
Other Parts Discussed in Thread: CC2650

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/584940/launchxl-cc2650-mpu6050-not-being-initialized

部件号:LAUNCHTXL-CC2650
在“线程:CC2650”中讨论的其它部件

您好,

我正在尝试将MPU6050连接到我的CC2650 LaunchPad。 我正在使用TI提供的SensorTag项目,并且已经根据为MPU9250提供的驱动程序开发了我自己的MPU6050驱动程序(这些驱动程序几乎相同)。 当我运行程序时,SensorMp6050_init()函数 在以下代码片段(在sensortag_mov.c中)中不返回true:

IF (SensorMp6050_init())

  Sensor_Tagreset();
  SensorMpu6050_registerCallback (SensorTag_processInterrupt);
}

我检查了从MPU6050到CC2650 LaunchPad的物理连接,它们看起来很好,即

MPU6050引脚:      CC2650 LaunchPad:

   接地               接地

   3.3 V               3.3 V

  SCLK               DIO4.

   SDA               DIO5.

有人能帮我吗?

谢谢,

托尼

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好,Tony:

    您是否尝试过嗅探I2C通信?

    谢谢,
    Fredrik
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好,Fredrik,

    没有,我没有。 我如何才能做到这一点? 下载程序是否简单?

    托尼