我在设计中使用LSM6DS3组件。我过去曾经使用过这个组件(并且总是喜欢它),但从来没有使用过这个组件。我正在使用I2C与10k上拉电阻进行
通信,并且使用与我的微控制器相比的独立
电源总线来打开/关闭传感器。我将中断引脚连接到我的微控制器,尽管它们没有被使用。
我遇到的问题是,当传感器的电源关闭时,I2C线路被拉低。当传感器的电源拉高时,I2C线路按预期高,我可以与I2C总线上的其他外设通信。实际上,关闭传感器会拉低整个I2C线路,在系统中消耗额外的电流并阻止其他I2C通信。
这是一个可以提供洞察力的问题吗?我不确定模块是否支持这种操作模式,当I2C总线用于其他通信时,电源关闭。这会导致电流从I2C线流入传感器吗?它会与中断引脚有关吗?
以上来自于谷歌翻译
以下为原文
I am using the LSM6DS3 component in a design. I've used the component in the past (and always liked it), but never in this capacity. I am using I2C for communica
tion with 10k pull up resistors and am powering on/off the sensor with a separate power bus than my micro controller. I have the interrupt pins connected to my micro controller, although they are not in use.
The issue I am experiencing is that when the power for the sensor is turned off, the I2C lines are being pulled low. When the power for the sensor is pulled high, the I2C lines are high as expected and I can communicate to other peripherals on the I2C bus. In effect, powering down the sensor is pulling down the entire I2C line, drawing extra current in my system and preventing other I2C communication.
Is this a problem you can provide insight on? I wasn't sure if the module supported this mode of operation, where the power was off while the I2C bus is used for other communication. Would this cause current to flow from the I2C lines in to the sensor? Would it have something to do with the interrupt pins?