the reset source detect in the software

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

the reset source detect in the software

Jump to solution
730 Views
yinqiu
Contributor III

hello :

I want to do a function that detect the reset source in S32K312 when the MCU jump into bootloader,do you have any source code for referrence. thank you preety much.

0 Kudos
Reply
1 Solution
696 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @yinqiu,

Use the Power_Ip RTD driver and call Power_Ip_GetResetReason().

 

Regards,

Daniel

View solution in original post

0 Kudos
Reply
1 Reply
697 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @yinqiu,

Use the Power_Ip RTD driver and call Power_Ip_GetResetReason().

 

Regards,

Daniel

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1924820%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ethe%20reset%20source%20detect%20in%20the%20software%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1924820%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehello%20%3A%3C%2FP%3E%3CP%3EI%20want%20to%20do%20a%20function%20that%20detect%20the%20reset%20source%20in%20S32K312%20when%20the%20MCU%20jump%20into%20bootloader%2Cdo%20you%20have%20any%20source%20code%20for%20referrence.%20thank%20you%20preety%20much.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1925048%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20the%20reset%20source%20detect%20in%20the%20software%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1925048%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F207672%22%20target%3D%22_blank%22%3E%40yinqiu%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EUse%20the%20Power_Ip%20RTD%20driver%20and%20call%20Power_Ip_GetResetReason().%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3EDaniel%3C%2FP%3E%3C%2FLINGO-BODY%3E