HARDWARE RESET or SOFTWARE RESET

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

HARDWARE RESET or SOFTWARE RESET

跳至解决方案
2,489 次查看
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

标记 (1)
0 项奖励
回复
1 解答
2,455 次查看
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 项奖励
回复
2 回复数
2,395 次查看
akhilranga
Contributor IV

Hi @Julián_AragónM 

Thank you for the information.

 

2,456 次查看
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 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1993717%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E7%A1%AC%E4%BB%B6%E9%87%8D%E7%BD%AE%E6%88%96%E8%BD%AF%E4%BB%B6%E9%87%8D%E7%BD%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1993717%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%3C%2FP%3E%3CP%3E%E6%9C%89%E4%BA%BA%E5%8F%AF%E4%BB%A5%E5%B8%AE%E5%8A%A9%E6%88%91%E5%90%AF%E7%94%A8%E7%9C%8B%E9%97%A8%E7%8B%97%E8%AE%A1%E6%97%B6%E5%99%A8%E5%B9%B6%E5%B8%AE%E5%8A%A9%E6%88%91%E5%90%AF%E5%8A%A8%E8%BD%AF%E4%BB%B6%E9%87%8D%E7%BD%AE%E7%9A%84%E6%AD%A5%E9%AA%A4%E5%90%97%EF%BC%9F%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%20S32k14x%20EAR%20SDK%20v0.8.6%20%E7%BC%96%E5%86%99%E6%88%91%E7%9A%84%E8%BD%A6%E8%BE%86%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E4%BB%A3%E7%A0%81%E3%80%82%E6%89%80%E4%BB%A5%E6%88%91%E6%83%B3%E5%90%AF%E7%94%A8%E7%9C%8B%E9%97%A8%E7%8B%97%E8%AE%A1%E6%97%B6%E5%99%A8%EF%BC%8C%E4%BD%86%E6%97%A0%E6%B3%95%E6%89%BE%E5%88%B0%E4%BB%BB%E4%BD%95%E5%8F%AF%E4%BB%A5%E4%BB%8E%E4%B8%AD%E8%8E%B7%E5%BE%97%E5%B8%AE%E5%8A%A9%E7%9A%84%E7%9F%A5%E8%AF%86%E5%BA%93%E3%80%82%E8%80%8C%E4%B8%94%E6%88%91%E8%BF%98%E9%9C%80%E8%A6%81%E7%A1%AC%E4%BB%B6%E9%87%8D%E7%BD%AE%E5%92%8C%E8%BD%AF%E4%BB%B6%E9%87%8D%E7%BD%AE%E8%BF%87%E7%A8%8B%E4%B8%AD%E7%9A%84%E5%B8%AE%E5%8A%A9%E3%80%82%3C%2FP%3E%3CP%3E%E5%A6%82%E6%9E%9C%E6%9C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