你好
我试图在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 limita
tion 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