完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在尝试为我的项目开发一个驱动程序,它使用这个加速度计/电子罗盘,虽然有很多信息让我得到一些工作,但它缺少一些信息而一些信息是不正确的。
我特别想添加对高通滤波的支持,但我不知道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:
#lsm303dlhc |
|
相关推荐
3个回答
|
|
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. |
|
|
|
你好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 |
|
|
|
以下是高通滤波器的截止频率:
以上来自于谷歌翻译 以下为原文 Here are the cut-off frequencies for high pass filter: |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2593 浏览 1 评论
3197 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1772 浏览 1 评论
3595 浏览 6 评论
5975 浏览 21 评论
927浏览 4评论
1303浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
569浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1290浏览 3评论
1342浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-10 23:22 , Processed in 0.897135 second(s), Total 49, Slave 44 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号