完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,我想测试LSM6DS3传感器的中断而不进行任何移动。您知道是否可以通过传感器自检产生中断?
如果我编写一个低中断阈值并启动传感器的自检,是否可以看到中断? 非常感谢你的帮助。 以上来自于谷歌翻译 以下为原文 Hi Everybody, I want to test the interrupt of the LSM6DS3 sensor without any movement. Do you know if it is possible to generate an interrupt with the sensor self test ? If I program a low interrupt threshold and I launch the self test of the sensor, is it possible to see the interruption ? Thanks a lot for your help. |
|
相关推荐
5个回答
|
|
大多数MEM都有数据就绪的中断选项。运行单触发转换(无FIFO)并且中断引脚(如果配置良好)应该切换(假设所有输出配置都配置良好)
以上来自于谷歌翻译 以下为原文 Most MEMs have an interrupt option for data ready. Run a one shot conversion (no FIFO) and the interrupt pin (if well configured) should toggle (assuming all is well configured for the output configuration) |
|
|
|
谢谢Seb的回答。
你知道配置寄存器的组合是否允许在引脚上产生一个持续时间很长的中断来捕获中断吗? 以上来自于谷歌翻译 以下为原文 Thank you Seb for your answer. Do you know if a combo with the configuration registers permit to generate an interrupt on the pin with a big duration in order to catch the interrupt ? |
|
|
|
如果中断可以在脉冲或“电平直到寄存器清零”编程,请检查数据表。
将MCU连接到引脚,我们只需要一个脉冲并使用EXTI IO边沿检测器来完成工作(使用断点或LED输出进行调试) 以上来自于谷歌翻译 以下为原文 Check on the datasheet if the interrupt can be programmed at pulse or 'level until register cleared'. With MCU connected to the pin, we only need a pulse and use EXTI IO edge detector to get the job done (with breakpoint or LED output for debug) |
|
|
|
|
|
|
|
可以锁存中断信号。当TAP_CFG(58h)的LIR位设置为1时,一旦中断引脚置位,必须通过读取相关的中断源寄存器来复位。
以上来自于谷歌翻译 以下为原文 There is a possibility to make the interrupt signals latched. When the LIR bit of TAP_CFG (58h) is set to 1, once the interrupt pin is asserted, it must be reset by reading the related interrupt source register. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2913 浏览 1 评论
3293 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1877 浏览 1 评论
3729 浏览 6 评论
6141 浏览 21 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
29浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
25浏览 5评论
20浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
18浏览 5评论
stm32mp135使用官方SDK交叉编译工具链,编译的时候却找不到头文件怎么解决?
32浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-3-16 05:36 , Processed in 0.632792 second(s), Total 52, Slave 47 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191