OPEnSLab-OSU / Loom

Arduino library for Internet of Things Rapid Prototyping in environmental sensing
GNU General Public License v3.0
26 stars 3 forks source link

i2C MUX + Hypnos needs powerup re-init #25

Closed udellc closed 4 years ago

udellc commented 4 years ago

Describe the bug Using the Hypnos board to power the i2c MUX down and back up in between sleep cycles, MUX does not retain initialization. This should be handled as part of a larger issue with powering down/up devices in general.

Hardware in Use Feather M0 Hypnos i2c MUX powered on the switched rails from Hypnos

To Reproduce Steps to reproduce the behavior: Connect hardware together. Put Mux to power down via hypnos using Loom sleep functions

Expected behavior Mux should work the same after power down as before

Code Get from Max Chu

Config Get from Max Chu

Additional context Add any other context about the problem here.

prototypicalpro commented 4 years ago

Fixed with https://github.com/OPEnSLab-OSU/Loom/commit/e42d600c2249a2a952dc53896cce4fc1d25d615b.