一切连接好,我们从两个传感器(accel通过SPI和Magneto通过I2C)获得读数。
我们发起BLE连接的那一刻,一切都变得可怕了。
With the LIS accelerometer, For the initial 8 seconds of operation, accelerometer appear to give the correct reads via SPI, then only output 0 For all 3 axis.
With the LIS accelerometer, For the initial 8 seconds of operation, accelerometer appear to give the correct reads 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