完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
我们启用了GyroScope和acclerometer。我们将FIFO模式设置为连续,并设置BDU位。我们将ODR速率设置为1.66kHz。
我们正在连续阅读FIFO。我们正在观察FIFO数据的错位 有人可以帮忙吗? #lsm6ds3-FIFO对齐 以上来自于谷歌翻译 以下为原文 We enabled GyroScope and acclerometer. We set FIFO Mode to continuous with BDU bit is set. We set ODR rate to 1.66kHz . We are reading FIFO continuously. we are observing FIFO data mis-alignment Can somebody help on this? #lsm6ds3-fifo-alignment |
|
相关推荐
2个回答
|
|
你好克里希,
供您参考,您可以从中下载X-CUBE-MEMS1封装 http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-software/x-cube-mems1.html 除了许多其他地方,您还可以找到“FIFOContinuousMode”示例源代码,显示连续模式下LSM6DS3 FIFO的使用情况。 还将在今年年底或明年年初推出名为X-CUBE-MEMS-XT1的扩展版本。该封装将支持所有电流传感器以及DIL24插座中的其他传感器选择。 感谢你并致以真诚的问候, 切赫 以上来自于谷歌翻译 以下为原文 Hello Krish, for reference you can download the X-CUBE-MEMS1 package from http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-software/x-cube-mems1.html where besides many others you can find the ''FIFOContinuousMode'' example source code showing the usage of LSM6DS3 FIFO in Continuous mode. There will be also the extended version called X-CUBE-MEMS-XT1 available at the end of this year or latest beginning of next year. This package will support all current sensors plus selection of additional sensors in DIL24 socket. Thank you and best regards, Petr |
|
|
|
我在这里有同样的问题。
我根据INT1中断事件(FTH)读取包含624个字的FIFO。第一次工作正常,我读取所有字(我检查FIFO STATUS1和STATUS2寄存器以确保FIFO为空)。但是,中断再次触发,我可以在状态寄存器中看到625个字可用(当FIFO阈值设置为624时)。 这意味着我首先得到AZ值(与最后刷新的FIFO中的最后一个样本相同),然后我得到我等待的所有样本。 你有什么解释吗? 以上来自于谷歌翻译 以下为原文 I have the same question here. I read the FIFO containing 624 words based on the INT1 interrupt event (FTH).It works well the first time, I read all the words (I check the FIFO STATUS1 and STATUS2 registers to make sure the FIFO is empty). But then, the interrupt fires a second time and I can see in the status registers that 625 words are available (when FIFO threshold is set to 624). It means that I get the AZ value first (same as the last sample in the last flushed FIFO), then I get all the samples I was waiting for. Do you have any explanation? |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
1217 浏览 1 评论
1839 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1499 浏览 1 评论
2727 浏览 6 评论
4955 浏览 21 评论
295浏览 4评论
342浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
263浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
338浏览 3评论
349浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-3-29 13:54 , Processed in 0.687922 second(s), Total 74, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 深圳华秋电子有限公司
电子发烧友 (电路图) 粤公网安备 44030402000349 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号