Reading Power Pin On Teensy 4.0

Status
Not open for further replies.

Lemonade

Member
Hello,

I would like to know if it is possible to read signals from the powerpin through SNVS_LP or SNVS_HP. I understand that once the pin grounds for the defined time of 500ms, the teensy turns off into low power mode. I would like to see if I can run functions before the teensy turns off, so I can save some data, etc.

Additionally, if I explicitly disable the power pin, as Frank B describes here , and I disconnect the battery to turn off the system, will the pin stay disabled? In other words, could disabling this pin risk being unable to turn the device back on to push new code?

Thanks a bunch.
 
Status
Not open for further replies.
Back
Top