ST意法半导体
直播中

云甫太

8年用户 184经验值
私信 关注
[问答]

有没有办法重置LIS3DH?

嗨,

是否有一种简单的方法来“重置”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)

刁文洁

2018-10-24 11:22:46
我还想知道是否有办法将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.
举报

曾玲娟

2018-10-24 11:29:06
您可以尝试重新启动加速度计存储器内容,将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
举报

刁文洁

2018-10-24 11:41:47
米罗斯拉夫,谢谢。不幸的是,这似乎没有清除/重置任何标记为“保留”的寄存器。这些已被破坏,我认为通过在共享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 ?
举报

曾玲娟

2018-10-24 11:57:52
有人告诉我,通过在共享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
举报

更多回帖

发帖
×
20
完善资料,
赚取积分