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 Folks,
I already found there are ways to reset the whole controller or just the core by several sources, even by software.
Is it possible to identify the reset source afterwards?
best regards :)
Yes, you can identify the source of the reset by reading the RESC (reset cause) register in the system module. You can do this with a call to the TivaWare function SysCtlResetCauseGet(). Since these bits will retain their state through a reset, you should clear them after reading so they will not still be set upon the next reset if it is caused by a different source. Clear the bits with the TivaWare function SysCtlResetCauseClear().