完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我在设计中使用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 communication 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? |
|
相关推荐
2个回答
|
|
LSM6DS3正在从I2C线路通过ESD二极管向Vcc引脚提供电流,从而导致您所描述的问题。
我建议将传感器切换到断电模式,而不是断开Vcc,否则你也必须断开I2C线路。 断电模式下的电流消耗仅为6uA。 以上来自于谷歌翻译 以下为原文 The LSM6DS3 is draining current from I2C lines through ESD diodes to Vcc pins, which cause the issue you described. I would suggest rather to switch the sensor to power down mode than disconnecting the Vcc, otherwise you would have to disconnect also I2C lines. The current consumption in power down mode is only 6uA. |
|
|
|
感谢您的答复!这是有道理的,并且如预期的那样!我很欣赏这些输入,然后我将评估几个不同的选项。 -Levi
以上来自于谷歌翻译 以下为原文 Thank you for the response! That makes sense and is as expected! I appreciate the input, I'll evaluate a few different options then. -Levi |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2711 浏览 1 评论
3235 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3643 浏览 6 评论
6030 浏览 21 评论
1332浏览 4评论
206浏览 3评论
194浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
348浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
439浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-18 18:18 , Processed in 1.234550 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号