一切连接良好,我们从两个传感器(通过SPI accel和通过I2C Magneto)读取数据。
当我们开始BLE连接时,一切都变得非常糟糕。
With the LIS accelerometer, For the initial 8 seconds of operation the accelerometer appear to give the correct reading via SPI, then only output 0 For all 3 axis.
当使用UART调试器进行测试时,我们会看到一大堆明显不正确的奇怪数据。当我们将它切换到12C接口来测试时,UART调试器在8-10秒后停止,没有给我们任何结果。
非常类似的问题发生在I2C上的磁强计。作为一个相当新的组件,DA14681有点像一场噩梦,但我希望有人遇到过同样的问题,我们错过了一些简单的东西来解决这个问题。
任何建议都是非常方便的!我附上了一些屏幕截图,这样你就可以看到发生了什么。< / p > < / div > < / div > < / div > < div class =”字段field-name-field-forum-keywords field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >关键词:,< / div > < div class = "字段条目" > < div class =”field-item甚至“> < a href = " / resource-keywords / 14681”“=“skos:概念”属性=“rdfs: label skos: prefLabel” datatype="">14681