我已经多次遇到加速计传感器不再提供数据的问题了。它通过SPI连接,像who_am_i这样的命令工作,但XYZ数据全部为零或只是一些冻结值。有时只有一个或两个轴,大多数都是三个。
重新初始化所有内容并不能解决问题,只有
电源断开才能修复它。
如何完成重置,哪些命令?
#lsm303agr
以上来自于谷歌翻译
以下为原文
I had already mul
tiple times the problem that the accelerometer sensor is not providing data anymore. It is connected via SPI, commands like the who_am_i works, however the XYZ data is all zero or just some frozen values. Sometimes only one or two axis, mostly all three.
Re-initializing everything does not fix it, only a power disconnect fixes it.
How can I do a complete reset, which commands?
#lsm303agr