Hello,
I need to monitor wake up event caused by battery connection. My assumption is, that I can monitor Local Wake-Up (LWU) via WAKE Input Terminal and another way that I can use is monitor PWRON Flag, reflected on nFAULT pin. Am I right?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I need to monitor wake up event caused by battery connection. My assumption is, that I can monitor Local Wake-Up (LWU) via WAKE Input Terminal and another way that I can use is monitor PWRON Flag, reflected on nFAULT pin. Am I right?
Hi Alex,
You are correct that you could monitor the PWRON Flag on the nFAULT pin. The PWRON flag is specifically triggered when the WAKE event is caused by attaching a battery, which sounds like the solution to your question. It is typical for the battery to have some connection to the WAKE pin so that connecting a battery should trigger the WAKE event, so as long as you have that, monitoring for the PWRON Flag should be all you need.
In Theory, you could monitor for the LWU on the WAKE pin, but you would have to also monitor for the battery connection, and you would need additional logic to ensure that the WAKE event being monitored is from the battery, and the PWRON flag does that automatically, so I'd recommend sticking with that.
Please reach out for any other Questions!
Zach