How can we determine whether the lpc55s28 is powered on or reset by software when it starts.
Solved! Go to Solution.
Hi @JJ3,
I tested your code, and it should work fine. If what you need is a visual way to you know if the reset happen you can use a LED to know this, other way could be send a message via UART to be able to see it in Terminal.
If what you want is to change the code if is not a power one reset, you can use an if else with different whiles.
Hope it helps you!
Hi @JJ3,
Can you provide me with more details about your application in order to give you better feedback?
Why do you think the software is restarting?
Is this software reset expected or is it due to a hard fault?
Hi @JJ3,
I tested your code, and it should work fine. If what you need is a visual way to you know if the reset happen you can use a LED to know this, other way could be send a message via UART to be able to see it in Terminal.
If what you want is to change the code if is not a power one reset, you can use an if else with different whiles.
Hope it helps you!