AnsweredAssumed Answered

Recover from low-voltage warning?

Question asked by indraastra on Aug 8, 2014
Latest reply on Aug 13, 2014 by indraastra

I was very happy to see that the low voltage detection (LVD) module in my Kinetis K device provides a low-voltage warning interrupt. My goal is to use this to mitigate software corruption of an SD card in the event of an abrupt power loss by entering a low-power sleep mode when the warning interrupt fires.

 

What I would like is to avoid a situation where a voltage blip causes the CPU to enter sleep mode without any chance of waking up. I am wondering if the LVD module gives you any mechanism for recovering from a low-voltage warning that eventually goes away, i.e. a false alarm. I see that the LVD is disabled in any of the LLS states, so this seems difficult to do using the LVD itself.

 

Basically, what I want to do is pause the core while the voltage is in a questionable state (low-voltage warning) and resume it when a normal voltage level is reached again.

 

I am using the MK20DX256 MCU.

 

Thanks!

Outcomes