完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
数据手册没有明确提及在读取CLICK_SRC寄存器时强制此中断锁存和清除的方法(如INT1_CFG寄存器可以)。
应用笔记AN3308规定可以通过设置TAP_CFG寄存器中的LIR位来实现此行为。但是,数据表中未记录此位。另一个类似的部分也许? 我看到中断保持CLICK_LATENCY周期的持续时间如预期,但我希望尽快清除这一点,因为我在同一行使用数据就绪信号。有什么我可以做到的吗?我以相当低的数据速率(10hz)进行采样,因此缩短延迟时间不是一种选择。我正在使用没有INT2连接的OEM板。 #li3dh点击 以上来自于谷歌翻译 以下为原文 The data sheet makes no explicit mention of a way to force this interrupt to latch and clear when the CLICK_SRC register is read (like the INT1_CFG registers can). App note AN3308 states that this behavior can be achieved by setting the LIR bit in the TAP_CFG register. However, this bit is not documented in the data sheet. Another, similar part perhaps? I'm seeing the interrupt hold for the duration of the CLICK_LATENCY period as expected but would like to clear this sooner as I'm using the data ready signal on the same line. Is there anything I can do to accomplish this? I'm sampling at a fairly low data rate (10hz) so shortening the latency period is not an option. I am using an OEM board that does not have INT2 hooked up. #li3dh-click |
|
相关推荐
1个回答
|
|
|
对此有任何更新?我有同样的问题。单击激活外部中断线,但读取CLICK_SRC寄存器不会提供有关中断源的任何信息。
以上来自于谷歌翻译 以下为原文 Any updates on this ? I am having the same problem. The click activates the external interrupt line, but reading CLICK_SRC register doesn't give any information on the source of the interrupt. |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1469 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1521 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3668 浏览 1 评论
3860 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2477 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
748浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
680浏览 5评论
727浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
968浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
770浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-12 00:34 , Processed in 0.766479 second(s), Total 75, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2638