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.

蓝牙协议栈里移植模拟i2c通讯程序?

Other Parts Discussed in Thread: CC2540

你好!

我用CC2540芯片,与温湿度传感器模拟i2c通讯,这个可以成功。但把程序移植到蓝牙协议栈从机程序里 就不好用了?请问这是为什么???

 

  • 这个问题原因有很多,因为程序环境换了,你需要对以下几点进行确认:

    1. 引脚是否配置正确,或被占用

    2. BLE协议栈 温湿度传感器读数据,通过什么方式调用,事件或周期事件?

    3. 是否有应用软件延时,软件延时会对协议栈稳定性产生影响