HARDWARE RESET or SOFTWARE RESET

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

HARDWARE RESET or SOFTWARE RESET

Jump to solution
2,490 Views
akhilranga
Contributor IV

Hi there,

Can someone help me with enabling a Watchdog timer and also steps to initiate Software reset. I am using a S32k14x EAR SDK v0.8.6 for writing my vehicle application code. So i want to enable Watchdog timer so couldn't able to figure any knowledge base where i can get help from. And also i need help in Hardawre reset and Software Reset process.

It would be really helpfull if some one lends me hand here. Thanks in advance 

#S32K146

Tags (1)
0 Kudos
Reply
1 Solution
2,456 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

 Hi @akhilranga,

For SW reset, please look at chapter 25.2.2.7 from the S32K Reference Manual, it explains the reset control register. 

You can also use this example as reference, where a SW reset is implemented to test the ram retention: Example S32K144 RAM Retention S32DS.R1 - NXP Community.

There is also this function in the system_S32K144.c file:

Julin_AragnM_0-1731595074372.png

For the watchdog, there are many community posts sharing some reference code, such as:

You can also refer to the examples inside the EAR SDK.

Best regards,
Julián

View solution in original post

0 Kudos
Reply
2 Replies
2,396 Views
akhilranga
Contributor IV

Hi @Julián_AragónM 

Thank you for the information.

 

2,457 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

 Hi @akhilranga,

For SW reset, please look at chapter 25.2.2.7 from the S32K Reference Manual, it explains the reset control register. 

You can also use this example as reference, where a SW reset is implemented to test the ram retention: Example S32K144 RAM Retention S32DS.R1 - NXP Community.

There is also this function in the system_S32K144.c file:

Julin_AragnM_0-1731595074372.png

For the watchdog, there are many community posts sharing some reference code, such as:

You can also refer to the examples inside the EAR SDK.

Best regards,
Julián

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1993717%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHARDWARE%20RESET%20or%20SOFTWARE%20RESET%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1993717%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3ECan%20someone%20help%20me%20with%20enabling%20a%20Watchdog%20timer%20and%20also%20steps%20to%20initiate%20Software%20reset.%20I%20am%20using%20a%20S32k14x%20EAR%20SDK%20v0.8.6%20for%20writing%20my%20vehicle%20application%20code.%20So%20i%20want%20to%20enable%20Watchdog%20timer%20so%20couldn't%20able%20to%20figure%20any%20knowledge%20base%20where%20i%20can%20get%20help%20from.%20And%20also%20i%20need%20help%20in%20Hardawre%20reset%20and%20Software%20Reset%20process.%3C%2FP%3E%3CP%3EIt%20would%20be%20really%20helpfull%20if%20some%20one%20lends%20me%20hand%20here.%20Thanks%20in%20advance%26nbsp%3B%3C%2FP%3E%3CP%3E%23S32K146%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1997730%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20HARDWARE%20RESET%20or%20SOFTWARE%20RESET%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1997730%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CEM%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F200831%22%20target%3D%22_blank%22%3E%40Juli%C3%A1n_Arag%C3%B3nM%3C%2FA%3E%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EThank%20you%20for%20the%20information.%20%3C%2FEM%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1994716%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20HARDWARE%20RESET%20or%20SOFTWARE%20RESET%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1994716%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%26nbsp%3BHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F203425%22%20target%3D%22_blank%22%3E%40akhilranga%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EFor%20SW%20reset%2C%20please%20look%20at%20chapter%26nbsp%3B%3CSTRONG%3E25.2.2.7%26nbsp%3B%3C%2FSTRONG%3Efrom%20the%20S32K%20Reference%20Manual%2C%20it%20explains%20the%20reset%20control%20register.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20also%20use%20this%20example%20as%20reference%2C%20where%20a%20SW%20reset%20is%20implemented%20to%20test%20the%20ram%20retention%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FExample-S32K144-RAM-Retention-S32DS-R1%2Fta-p%2F1107548%22%20target%3D%22_blank%22%3EExample%20S32K144%20RAM%20Retention%20S32DS.R1%20-%20NXP%20Community%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EThere%20is%20also%20this%20function%20in%20the%20system_S32K144.c%20file%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Julin_AragnM_0-1731595074372.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Julin_AragnM_0-1731595074372.png%22%20style%3D%22width%3A%20320px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F310591i176E29A8E88A148F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Julin_AragnM_0-1731595074372.png%22%20alt%3D%22Julin_AragnM_0-1731595074372.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFor%20the%20watchdog%2C%20there%20are%20many%20community%20posts%20sharing%20some%20reference%20code%2C%20such%20as%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FWatchDog-S32k144%2Fm-p%2F660503%22%20target%3D%22_blank%22%3ESolved%3A%20WatchDog%20S32k144%20-%20NXP%20Community%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2Fwatchdog-test%2Fm-p%2F1469370%22%20target%3D%22_blank%22%3ESolved%3A%20watchdog%20test%20-%20NXP%20Community%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EYou%20can%20also%20refer%20to%20the%20examples%20inside%20the%20EAR%20SDK.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3CBR%20%2F%3EJuli%C3%A1n%3C%2FP%3E%3C%2FLINGO-BODY%3E