Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I2C line broke for non-powered external sensor #3

Open
baonguyen21 opened this issue Feb 11, 2020 · 5 comments
Open

I2C line broke for non-powered external sensor #3

baonguyen21 opened this issue Feb 11, 2020 · 5 comments

Comments

@baonguyen21
Copy link
Collaborator

baonguyen21 commented Feb 11, 2020

The RTC Ds3231 is all way powered, via 3V3 and via its own battery. With the code test for the RTC DS3231, the I2C communication to the RTC would fail if there is external I2C sensor that connected to SDA and SCL without being power (disconnected Vcc and GND).

@baonguyen21
Copy link
Collaborator Author

@udellc
Copy link
Member

udellc commented Feb 13, 2020

Is there a way to disconnect only the VCC line to the sensor, but keeping it grounded? Would that fix the issue?

@udellc
Copy link
Member

udellc commented Feb 17, 2020

It looks like isolating the i2c bus will be necessary. This one is an updated version of the one recommended on the discussion board posted above:
http://www.ti.com/product/TCA4311A
I think we may need to make a new version of our Loom i2c shield, which includes an option to populate the TCA9548 i2c MUX but also with the TCA4311A buffer on the shield's i2c input.
The shield should also include an i2c pass through after the buffer, for being able to use isolated i2c devices without the MUX if desired.

@baonguyen21
Copy link
Collaborator Author

This issue is not resolved yet. The buffer require some more space that the current Hypnos V2 does not have. Requested feature will be postponed to later version.

@baonguyen21
Copy link
Collaborator Author

baonguyen21 commented Mar 24, 2020

For now, the system is still unstable if the all of the I2C devices are not powered before communicating with the RTC. The I2C Multiplexer can be not powered, and system will still work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants