ST意法半导体
直播中

付雯瑶

7年用户 201经验值
私信 关注
[问答]

关于LIS3DH FIFO的问题

你好


我试图在FIFO模式下使用LIS3DH并启用滤波器。
在此模式下,X轴和Y轴值得到一些正常值(它们在-10和+10之间振荡)但Z轴值似乎绕过滤波器模式,Z轴给出例如-616如果我禁用FIFO和过滤器,则不是Z轴的值。

这是LIS3DH的某种限制吗?或者我在初始化时做错了什么。

在我的初始化代码中,寄存器使用以下值初始化:
CTRL_REG1 = 0x17
CTRL_REG2 = 0x88
CTRL_REG3 = 0x00
CTRL_REG4 = 0x40
CTRL_REG5 = 0x40
CTRL_REG6 = 0x00
FIFO_CTRL_REG = 0x40

谢谢

阿图尔维埃拉

以上来自于谷歌翻译


以下为原文




Hello


I am trying to use the LIS3DH in FIFO Mode with Filter enabled.
In this mode, the X-Axis, and Y-Axis values get some normal values (they oscillate between -10 and +10) but the Z-Axis value seems to have a bypass to the filter mode, the Z-Axis gives for example -616 witch is not the value for Z-Axis if i disable FIFO and Filter.

Is this some kind of limitation of LIS3DH? or am i making something wrong at initialization.

In my initialization code the registers are initialized with the following values:
CTRL_REG1 = 0x17
CTRL_REG2 = 0x88
CTRL_REG3 = 0x00
CTRL_REG4 = 0x40
CTRL_REG5 = 0x40
CTRL_REG6 = 0x00
FIFO_CTRL_REG = 0x40

Thank You

Artur Vieira

回帖(5)

李继明

2018-12-5 16:27:35
嗨,
 
 
 尽管使用FIFO,HP-FILTER和Z轴,LIS3DH似乎存在限制
 它没有记录(但是?)。我从支持团队得到的答复是,如果需要这个功能,他们建议使用LIS2DH。

以上来自于谷歌翻译


以下为原文





Hi,


There seem to bee a limitation in LIS3DH regarding using FIFO, HP-FILTER and the Z-axis even though
it is not documented (yet?). The reply I got from the support team was that if this functionality was require the they suggested using the LIS2DH.
举报

付雯瑶

2018-12-5 16:38:27
你好
 
 
感谢您的反馈。
 
在那里我重新设计PCB,因为LIS2D和LIS3D之间的足迹不一样。
 
谢谢

以上来自于谷歌翻译


以下为原文





Hello


thanks for the feedback.

There i go redesign the PCB, since the footprint is not the same between LIS2D and LIS3D.

thanks
举报

李继明

2018-12-5 16:46:14
请注意我还没有使用LIS2DH,并且可以在那里不确认HP + FIFO配置实际在Z轴上工作,并且无法找到和其他确认来源。

以上来自于谷歌翻译


以下为原文





Please notice that I have not yet worked with the LIS2DH, and can there for not confirm that the HP+FIFO configuration actual works on the Z-axis, and can't find and other source of confirmation on this.
举报

付雯瑶

2018-12-5 16:55:59
你好
 
 
如果LIS2DH对此类应用有任何问题,我已经向当地的ST经销商询问了。
我在等他的确认。
 
谢谢

以上来自于谷歌翻译


以下为原文





Hi


I have asked to my local ST distributor if the LIS2DH has any problem for this kind of application.
I am waiting for his confirmation.

Thanks
举报

更多回帖

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