Hi Peter Wang,
Next time, when you post the question, please also let us know the kinetis chip part number.
This time I will reply you directly.
If you want to store the data to flash after the power off, you can use the LVD function in the PMC, so you need to use the PMC interrupt when the Low voltage warning happen, the interrupt vector is:
The KEA reference manual Table 3-8. Interrupt vector assignments (continued).
About the LVD details, please read the KEA reference manual Chapter 13 Power Management Controller (PMC).
Please also associated with the KEA datasheet,
It defines the voltage warning threshold.
Please read the document carefully, then try it on your side.
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------