greatfet-hardware / jasmine

a lithium polymer battery charging neighbor
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

no way to turn off oscillator X1 #19

Open mossmann opened 5 years ago

mossmann commented 5 years ago

It would be nice to have a method to turn on/off X1 and to have it default to off. I'm thinking a flip-flop such as NC7SZ175 that can be powered by VBAT and has 5.5V-tolerant inputs. The flip-flop can be controlled by a bigger I/O expander (see #17). X1 draws such a tiny current that it can easily be powered by the flip-flop output.

yhetti commented 5 years ago

Add an LED indicator to know when the oscillator is on.

mossmann commented 4 years ago

8b7733e provides a way to turn off VBAT which also turns off X1, but there is still no way to turn off X1 without switching off VBAT.