ST意法半导体
直播中

刘鹏

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

LSM303DLHC数据表似乎不完整

我正在尝试为我的项目开发一个驱动程序,它使用这个加速度计/电子罗盘,虽然有很多信息让我得到一些工作,但它缺少一些信息而一些信息是不正确的。
我特别想添加对高通滤波的支持,但我不知道HPCF [2:1]做了什么 - Pololu有人提到LSM303DLM数据表有这些信息,但我完全可以相信这些滤波器系数是相同?
还提到了第16页的第2版数据表中引用的2个数据就绪信号
LSM303DLHC具有两个数据就绪信号(RDY),用于指示何时出现一组新信号

测量的加速度数据和磁数据可用,因此简化了数据
在使用该设备的数字系统中同步。只有一个外部可访问的DRDY信号,但是有两个中断线。似乎没有关于DRDY信号的任何信息。当X,Y,Z寄存器上有可用数据时,这是否有效,FIFO如何?磁力计数据?
我可以从选择性禁用accel / mag中推断出DRDY引脚的使用,所以我不太关心它。
所以我的问题是:
是否有任何勘误表到这个数据表我可以依靠使用前面提到的其他更完整的数据表来挑选信息谢谢所有你的时间

#lsm303dlhc

以上来自于谷歌翻译


以下为原文




I am trying to develop a driver for my project which uses this Accelerometer / e-compass and while there is plenty of information for me to get something working, it is missing some information and some information is just not correct.
I would specifically like to add support for high pass filtering but I have no idea what HPCF[2:1] does - there was mention by someone at Pololu that the LSM303DLM datasheet has this information but can I fully trust that these filter coefficients are the same?
There was also mention of 2 data ready signals as quoted from the revision 2 datasheet on page 16
The LSM303DLHC features two data-ready signals (RDY) which indicate when a new set of

measured acceleration data and magnetic data are available, therefore simplifying data  
synchronization in the digital system that uses the device.There is only one externally accessible DRDY signal, however there are two interrupt lines. There also doesn't seem to be any information on the DRDY signal. Is this asserted when there is data available on the X,Y,Z registers, how about FIFO? Magnetometer data?
I can probably deduce the DRDY pin use from selective disablement of the accel/mag so I am not too concerned with that.
So my questions are:
  • Is there any errata to this datasheet
  • Can I rely on using the other more complete datasheet mentioned earlier to cherry pick the information
Thanks all for your time

#lsm303dlhc

回帖(3)

曾玲娟

2019-4-26 12:29:40
1.数据表中没有勘误表。
2.我不建议你使用其他数据表,即使设备看起来相似也可能存在差异。
关于高通滤波器截止频率(HPCF [2:1]位),我可以尝试获取值。
DRDY引脚仅来自磁力计的数据就绪信号。
可以使用CTRL_REG3_A(22h)和CTRL_REG6_A(25h)寄存器配置INT1和INT2引脚。
您可以在哪里选择引脚上可用的信号(加速度计数据就绪,阈值中断,FIFO水印......)
我还想提一下,LSM303DLHC不推荐用于新设计,有更新更好的传感器。

以上来自于谷歌翻译


以下为原文




1. No there is no errata to the datasheet.
2. I would not recommend you to use other datasheet, even it the devices looks similar there could be differences.
Concerning the high pass filter cut-off frequencies (HPCF[2:1] bits) I can try to get the values.
The DRDY pin is data ready signal from the magnetometer only.
The INT1 and INT2 pins can be configures using CTRL_REG3_A (22h) and CTRL_REG6_A (25h) registers.
Where you can select which signals will be available on the pins (Data ready from accelerometer, threshold interrupt, FIFO watermark, ...)
I would also like to mention, that the LSM303DLHC is not recommended for new design, there are newer and better sensors.
举报

刘鹏

2019-4-26 12:46:10
你好Miroslav
如果我从头开始设计一些东西,我通常不会选择具有NRND状态的设备,但看到这是我目前唯一的实验芯片,我想我会试一试。
至于使用其他数据表的滤波器系数,我希望在IC中使用相同的滤波器内部结构来节省重新设计成本。
谢谢

以上来自于谷歌翻译


以下为原文




Hi Miroslav
I wouldn't normally choose a device with a NRND status if I was designing something from the ground up but seeing as though this is the only chip I have at the moment for experimentation, I thought I would give it a go.
As for using the the other datasheet for the filter coefficients, I was hoping the same filter internals were being used in the IC to save on re-design costs.
Thanks
举报

曾玲娟

2019-4-26 13:03:40
以下是高通滤波器的截止频率:

以上来自于谷歌翻译


以下为原文




Here are the cut-off frequencies for high pass filter:
举报

更多回帖

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