完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我们注意到加速度计在一段时间(10+)后停止采样。当发生这种情况时,唯一的解决方法是在REG4中写入0x0,然后重写原始值0x37。有人遇到过类似的问题吗?
干杯, #采样冻结 以上来自于谷歌翻译 以下为原文 We have noticed that the accelerometer stops sampling after some time (10+). When that happens, the only work around is to write 0x0 in REG4, and then re-writing the original value of 0x37. Anyone has encountered a similar problem? Cheers, #sampling-freeze |
|
相关推荐
5个回答
|
|
你有推荐靠近传感器的阻塞电容吗?
以上来自于谷歌翻译 以下为原文 Do you have recomended blocking capacitors close to the sensor? |
|
|
|
|
|
|
|
我怀疑Javier报告的解决方案是否可行,将这些值写入CTRL_REG4是没有意义的。有意义的是将值写入CTRL_REG1寄存器,因此它将停止并启动传感器。
很难推出这类问题。 您可以检查传感器所连接的总线上的SPI通信是否正确,因为如果CS信号未选择传感器,则它正在监听通信并期望I2C。因此,您必须确保SPI通信不会产生一些可以通过I2C接口捕获的模式。 您还可以通过向SPC引脚发送一堆时钟脉冲来尝试从传感器冻结中恢复。 以上来自于谷歌翻译 以下为原文 I doubt the solution reported by Javier could work, it doesn't make sense to write these values to CTRL_REG4. What could make sense is to write the values into CTRL_REG1 register, so it will stop and start the sensor. It is difficult to debut this kind of issue. You can check that the SPI communication on the bus where the sensor is connected is proper, because if the sensor is not selected by CS signal it is listening the communication and expecting I2C. So you must be sure that the SPI communication doesn't create some patter which can be capture by I2C interface. You can also try to recover from the sensor freeze by sending bunch of clock pulses to SPC pin. |
|
|
|
|
|
|
|
好吧,数据在下降时钟边沿变化,关于PCB,寄生效应和时序,此时在从机端识别出什么。由于两个边缘可能“同时”发生,因此一个人不能特别说它不会发生。
但是,如果你愿意,我可以附上一个寄存器转储,没问题。这需要一些时间,因为我的设备目前正在建设中,还有一些其他东西,正如我所说,因为我解决了我的SPI问题,所以整个问题可能已经消失。 我非常感谢你的兴趣! 以上来自于谷歌翻译 以下为原文 Well, the Data changes on the falling Clock edge, its about the PCB, parasitics and timing, what is recognized on the slave side at this point. Since both edges may happen 'at the same time', one cant specificly say that it doesnt happen. But yes, i can attatch a register dump if you like, no problem. It will take some time, since my device is currently under construction with some other stuff, and as I said, since i resolved my SPI-problem, it is possible that the whole issue has gone away. I thank you a lot for you interest! |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2634 浏览 1 评论
3208 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1783 浏览 1 评论
3609 浏览 6 评论
5987 浏览 21 评论
939浏览 4评论
1315浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
582浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1302浏览 3评论
1357浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 13:12 , Processed in 1.425679 second(s), Total 92, Slave 73 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号