我用MCP7831锂离子充电管理控制器与锂离子电池组电池(LIR2450)。我有一个LED电路连接到状态引脚(STAT),所以它应该点亮,而电池充电时,关闭电池完成充电。然而,LED是闪烁的,因为
2019-07-22 06:41
数据手册没有明确提及在读取CLICK_SRC寄存器时强制此中断锁存和清除的方法(如INT1_CFG寄存器可以)。 应用笔记AN3308规定可以通过设置TAP_CFG寄存器中的LIR位来实现此行
2018-09-27 10:45
) 上有外部上拉电阻。使用传感器数据表中的原理图(图 6. LISDW12 电气连接)。我是否还必须将寄存器 CTLR3(PP_OD、LIR、H_LACTIVE)中的某些值从“0”更改为“1”?STEVAL-MKI179V1这个板子是LIS2DW12TR的验证板吗?
2022-12-22 08:14
嗨,我正在使用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 1Power on the sensorconfigure the control register 1 with normal power mode and data rate 1000hzconfigure interrupt source1 for data ready interruptGPIO call back registered for data ready interrupt.This scenario is working fine. we are sampling after getting the data ready interrupt.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
2019-04-22 09:02
置完整位但不设置。仅设置FTH位。 TAP_CFG.LIR = 1 //没有区别其他 //上次读了 //读取结束1024个样本并关闭XL // 注意! 'else'代码永远不会执行,因为
2019-02-22 16:13
想用个纽扣电池供电,一般纽扣电池3V左右,想升到3.3V,推荐一款能升压稳压3.3V的稳压芯片
2017-07-20 09:34
我正在尝试配置iNemo以在检测到重要运动时断言INT1。我已经密切关注AN4650(配置与本节末尾的AN4650第6.2节中给出的匹配),但是没有产生中断。我正在使用插入另一块板的STEVAL-MKI160V1。我在STEVAL上探测INT1,同时摇板,否则试图模拟行走,跑步或其他动作。我试过降低阈值,包括DEB_STEP,但没有任何效果。这种模式是否真的有效?是否需要编写其他寄存器才能使其工作?我打开FIFO,它按预期累积26Hz的数据。谢谢。以上来自于谷歌翻译以下为原文 I am trying to configure the iNemo to assert INT1 when significant motion is detected. I have followed AN4650 closely (the configuration matches that given in AN4650 Section 6.2 at the end of the section), but no interrupt is ever generated. I am using a STEVAL-MKI160V1 plugged into another board. I'm probing INT1 on the STEVAL while shaking the board and otherwise trying to simulate walking, running or other motion. I have tried reducing the threshold, including DEB_STEP, but nothing has worked.Does this mode actually work as documented? Do other registers need to be written to make this work? I have the FIFO turned on, and it accumulates data at 26Hz as expected.Thanks.
2018-09-13 17:16
大家好,我想测试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.
2019-03-01 13:30
我正在尝试使用 ISM330DLC 通过 I2C 连接到 IMX8MP 上的 Linux 操作系统Linux 支持此设备的驱动程序 (iio/imu/st_lsm6dsx);我添加到 dts 文件如下:&i2c5 {clock-frequency = ;pinctrl-names = "default";pinctrl-0 = ;pinctrl-assert-gpios = ; /* i2c5 pin conflict with can1: default gpio low select can1, gpio high select i2c5 */status = "okay";ism330dlc@6b { compatible = "st,ism330dlc"; reg = ; st,drdy-int-pin = ; pinctrl-names = "default"; pinctrl-0 = ; interrupt-parent = ; interrupts = ;};};但是我没有看到Linux有任何中断信号# cat /proc/interrupts | grep 126:120731011514187 8714GPCv2 i.MX8MQ47 Leveltimer@306a0000 38:127 0 0 0GPCv2 i.MX8MQ76 Level30ad0000.i2c 46: 6787 0 0 0GPCv2 i.MX8MQ 120 Level30be0000.ethernet 50: 0 0 0 0GPCv2 i.MX8MQ 122 Level30c90000.easrc 56: 0 0 0 0GPCv2 i.MX8MQ 128 Level30cc0000.xcvr 57: 0 0 0 0GPCv2 i.MX8MQ 129 Level30cc0000.xcvr 95: 0 0 0 0gpio-mxc12 Edgelsm6dsx127: 0 0 0 0gpio-mxc12 Edge30b50000.mmc cd你能给一些建议来解决这个问题吗?
2023-01-29 07:17
); cesu();IR1 = digitalRead(A3);//lIR2 = digitalRead(A2);//cIR3 = digitalRead(A1);//rIR4
2017-05-13 17:08