K22 I2C0 pull downs crash I2C bus

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

K22 I2C0 pull downs crash I2C bus

跳至解决方案
928 次查看
kevinlfw
Contributor III

I'm working with the K22 and removed power from the chip, however kept I2C0_SDA and I2C0_CLK on PORTB connected to the I2C bus.  When I keep them connected while the chip is powered down, it pulls the entire I2C bus down.  When I remove the K22 from the bus, the bus operates as it should.  

What can I do, from the K22 side, to prevent this from happening, as I believe the pull-down is internal to the chip itself?

标记 (3)
1 解答
739 次查看
mjbcswitzerland
Specialist V

Kevin

I think that a non-powered K22 will look like a diode to GND to the I2C bus (due to its passive GPIO protection circuitry). Probably you need to put MOSFET switches on the two lines and only switch them on when the K22 is powered.

Regards

Mark

在原帖中查看解决方案

2 回复数
740 次查看
mjbcswitzerland
Specialist V

Kevin

I think that a non-powered K22 will look like a diode to GND to the I2C bus (due to its passive GPIO protection circuitry). Probably you need to put MOSFET switches on the two lines and only switch them on when the K22 is powered.

Regards

Mark

739 次查看
egoodii
Senior Contributor III

Exactly that cause -- I would go with a 'fully pre-designed' isolation concept like PCA9617A, or such from that family.