完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,
我正在使用H3LIS331DL传感器。我的配置如下 1传感器上的电源配置控制寄存器1具有正常功率模式和数据速率1000hz配置中断源1用于数据就绪中断GPIO回调注册数据就绪中断。这种情况工作正常。我们在获得数据就绪中断后进行采样。 我有一些特殊情况,我面临一些问题。 如果由于某些其他寄存器配置示例配置控制寄存器4而在步骤2和步骤3中存在一些延迟(在步骤2和3之间),我没有得到数据就绪中断。这是一个问题。 如果通过读取数据超过3毫秒延迟清除数据就绪中断,则下一个数据就绪中断未触发,如果获得数据就绪中断,则下一步是在步骤4之后。 你能帮助我吗?是否需要遵循顺序? 或者上述两个问题可能是什么原因。 提前致谢。 带着敬意, Thangaraj.P 以上来自于谷歌翻译 以下为原文 Hi, I am working with H3LIS331DL sensor . my configuration is as follows
I have some special cases where i am facing some issues. if there is some delay in step 2 and step 3 due to some other register configuration example configuring the control register 4 then (in between step 2 and 3)i am not getting the data ready interrupt. This is one issue. Next one is after step 4 if get data ready interrupt in case if i delayed to clear the data ready interrupt by reading the data for more than 3 msec then next data ready interrupt is not triggering. could you help me is there is sequence needs to be followed? or what could be the reason for the above 2 issues. thanks in advance. with Regards, Thangaraj.P |
|
相关推荐
20个回答
|
|
|
嗨,
正如我已经提到的,这工作正常。但是下面的序列中的以下配置是我上面解释的问题 CTRL_REG1 = 0x3F CTRL_REG1 = 0x80 CTRL_REG3 = 0x02 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 Hi, As i already mentioned this is working fine.But the below configuration in the below sequence is the issue what i am explained above CTRL_REG1 = 0x3F CTRL_REG1 = 0x80 CTRL_REG3 = 0x02 Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1455 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1504 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3651 浏览 1 评论
3843 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2462 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
729浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
664浏览 5评论
711浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
942浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
747浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 21:40 , Processed in 0.798911 second(s), Total 76, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1938