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.

[参考译文] RTOS/TM4C123GH6PM:与 TI-RTOS 的 I2C 协议

Guru**** 2539500 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/743720/rtos-tm4c123gh6pm-i2c-protocol-with-ti-rtos

器件型号:TM4C123GH6PM
主题中讨论的其他器件:TM4C123

工具/软件:TI-RTOS

您好!

我尝试使用 i2c 与 MPU-6050传感器通信。

我不知道哪里出错了。 我将从传感器获得相同的响应。 我已使用示波器进行检查、即使在移动发生变化后也能获得相同的数据。

我要连接这里

用于 i2c 读取和写入的文件。

Invensense 寄存器映射文档

示波器图像。

 e2e.ti.com/.../2273.MPU_2D00_6000_2D00_Register_2D00_Map1.pdf

e2e.ti.com/.../i2cmpu_5F00_6050.c