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.

[参考译文] CC2650:使用 Sensor Controller Studio 控制加速计时出现问题(无输出值)[I2C 通信]

Guru**** 2589300 points


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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/606727/cc2650-problems-on-using-sensor-controller-studio-to-control-an-accelerometer-no-output-value-i2c-communication

器件型号:CC2650

您好、先生、

我在使用 SCS 输出加速计轴值时遇到问题(I2C 通信)。 我可以看到 STATUS.I2C 上的变化、但 x、y 或 z 输出值没有变化。 您能给我一些关于如何使 x、y 或 z 输出存在值的建议吗?  此外、我对代码和事件处理程序代码感到困惑。 它们之间有什么区别? 我可以将其他加速计传感器的基本函数放入事件处理程序代码中吗? 我将在 CCS 中使用一个空项目。 如果我可以在 SCS 中编写一些加速计函数、我如何在 CCS 中修改 main.c 代码?