Get source of reset

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get source of reset

866 Views
oaf
Contributor IV

When I'm using ProcessorExpert on my HC12 targets I use Cpu_GetResetSource() to get the source of my current startup.

Is there any similar function for Kinetis?

Tags (3)
0 Kudos
Reply
2 Replies

576 Views
marek_neuzil
NXP Employee
NXP Employee

Hello,

The CPU_GetResetSource() method is not supported on Kinetis but you can use Cpu_OnReset(uint16_t Reason) event where the reset reason is provided as a parameter (value of RCM_SRS1 and RCM_SRS0 registers) or you can use PDD macros of RCM module, see below:

RCM_ReadSystemStatus.png
Best Regards,

Marek Neuzil

0 Kudos
Reply

576 Views
norbertoj
Contributor III

Hi, I was looking for the file RCM but I couldn't find it. I am using a M60DN512VLQ10

0 Kudos
Reply