完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
是否有一种简单的方法来“重置”LIS3DH? 这是一个简单的电源循环吗? 我查看了数据表和应用说明,看不到那里定义的内容。 谢谢 #lis3dh复位 以上来自于谷歌翻译 以下为原文 Hi, Is there an easy way to 'factory reset' the LIS3DH? Does a simple power cycle do this? I looked through the data sheet and app note and could not see this defined there. Thanks #lis3dh-reset |
|
相关推荐
4个回答
|
|
我还想知道是否有办法将LIS3DH的所有寄存器(包括保留的)重置为其上电默认值,而无需重启加速度计。
我问,因为我认为我们的一些设备已被此线程中描述的LIS3DH中的错误/漏洞损坏: / 70a26a03 它涉及在共享SPI总线上使用LIS3DH。 以上来自于谷歌翻译 以下为原文 I would also like to know if there is a way to reset all of the registers of the LIS3DH (including reserved) to their powerup defaults without having to power cycle the accelerometer. I ask because I think some of our devices have become corrupted by the bug / vulnerability in the LIS3DH described in this thread: /70a26a03 It relates to using the LIS3DH on a shared SPI bus. |
|
|
|
您可以尝试重新启动加速度计存储器内容,将1写入寄存器CTRL_REG5_A(24h)中的位BOOT(MSB位)。请参见数据表的第32页。
最好的祝福 米罗斯拉夫 以上来自于谷歌翻译 以下为原文 You can try to reboot accelerometer memory content writing 1 to bit BOOT (MSB bit) in register CTRL_REG5_A (24h). See page 32 of the datasheet. Best regards Miroslav |
|
|
|
米罗斯拉夫,谢谢。不幸的是,这似乎没有清除/重置任何标记为“保留”的寄存器。这些已被破坏,我认为通过在共享SPI总线上使用LIS3DH。
我需要将它们设置回默认值,但由于它们没有记录,我不知道要使用什么值(除了从正确运行的LIS3DH复制值)。 简单地从正常运行的LIS3DH复制保留的寄存器值,或者设备特定的值是否可接受? 以上来自于谷歌翻译 以下为原文 Miroslav, thanks. Unfortunately this does not seem to clear/reset any of the registers marked as ''Reserved''. These have been corrupted, I think by the use of the LIS3DH on a shared SPI bus. I need to set them back to defaults, but since they are undocumented I don't know what values to use (except from copying the values from a correctly functioning LIS3DH). Is it acceptable to simply copy the reserved register values from a correctly functioning LIS3DH, or are the values device specific ? |
|
|
|
有人告诉我,通过在共享SPI上连接传感器来破坏内部数据,但非常罕见,可能是不可能的。
所以也许传感器发生了不同的事情。 如果关闭设备电源并且数据仍然损坏,则必须更换传感器。 有些数据对于每个传感器都是唯一的(例如校准),并且它们不适用于不同的传感器。 最好的祝福 米罗斯拉夫 以上来自于谷歌翻译 以下为原文 It has been told to me, that to corrupt internal data by connecting the sensor on a shared SPI but is very very rare, probably impossible. So maybe something different happened with the sensor. If you power off and on the device and the data are still corrupted you will have to replace the sensor. Some data are unique for each sensor (for example calibration) and they won’t be valid for different sensor. Best regards Miroslav |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
1539 浏览 1 评论
2217 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1517 浏览 1 评论
2871 浏览 6 评论
5351 浏览 21 评论
382浏览 4评论
614浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
294浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
704浏览 3评论
582浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-5 22:50 , Processed in 0.850870 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号