2 Intended Operation of the Power Management Utility
Zac Adam-MacEwen edited this page 2022-01-12 14:10:25 -04:00

Note Bene: This implementation was conceived before the issue in #20 was identified, and was conceived around that power implementation being sufficient. Until a decision is made on how to address that particular problem, it won't be directly possible to use this exact reference implementation.

The MSP430FR5994 contains a variety of pathways to evaluate incoming voltage, one of which is the Power Supervisor. By using this utility we can set a few values that would allow us to raise an interrupt when input voltage drops below a certain threshold value.

The immediate implementation ask would be to illuminate the low battery LED when we reach a threshold above the absolute crash voltage.

The long term ask would then be to act on that warning by beginning to back up game state into FRAM and then stopping the game, potentially.