How to know the reason of reset in AURIX™ ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User17740
Level 4
Level 4
First solution authored First like received
Hi all ,

Unexpected resets are normally encountered, how to know what causes the reset ?

Thank you in advance
Bernie

#8042000 13177
0 Likes
2 Replies
User18237
Level 5
Level 5
First solution authored First like received
Hi Bernie,

The reset status register RSTSTAT is a good indicator of the cause of the reset.
In case of reset triggered by SMU, the SMU alarm debug registers SMU_ADx held further information on the alarm(s) that were raised prior to the reset.

Kind regards
Mr.AURIX™
0 Likes
teoBits
Employee
Employee
5 sign-ins 100 replies posted 50 replies posted
Hello Bernie,

You can also find a code example project that shows how to get the reset cause here: Reset Detection code example.
this example also comes with a tutorial, which can be found here: Reset Detection tutorial.

If you are interested in other modules and you want to start programming for AURIX™, you can get the new Integrated Development Environment (IDE) here: AURIX™ Development Studio and get inspired by numerous other trainings from here: AURIX™ Trainings.

If you are not familiar with Eclipse based IDE’s checkout the Getting Started guide!

Hope it helps,
teoBits
0 Likes