mm9z1-638:How to prevent system crashing after entering stop mode.

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

mm9z1-638:How to prevent system crashing after entering stop mode.

跳至解决方案
1,538 次查看
gumu
Contributor V

Dear Sir,

I'd like to ask a question, after the system enters the stop mode and the COP is disabled, if the system crashes in this state, how can it be recovered and is there any way to solve this scenario?

标记 (1)
0 项奖励
回复
1 解答
1,519 次查看
Q_man
NXP Employee
NXP Employee

Hi Mu,

if the system (analog die) can be woken up (e.g. LIN, after Timeout, PTB4, etc.) I suggest to use the watchdog timer on the analog die (must be enabled before entering stop!

See https://community.nxp.com/t5/S12-MagniV-Microcontrollers/COP-and-analog-die-watchdog-usage/td-p/1700...

W.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,502 次查看
Q_man
NXP Employee
NXP Employee

Hi Mu, the device always wakes up if enabled and in low power mode (LP). If you observe issue its best to find the root cause.

The watchdog can not recover from LP as its always idle in LP.

0 项奖励
回复
1,503 次查看
Q_man
NXP Employee
NXP Employee

Hi Mu, the wakeup should always work if enabled! If you observe strange behaviour it's best to first check any wrong configuration / sw issues!

If the device is in low power mode, then the watchdog can not help, e.g. if you have all wakeup sources disabled and enter low power mode the device will require a power cycle to recover.

0 项奖励
回复
1,520 次查看
Q_man
NXP Employee
NXP Employee

Hi Mu,

if the system (analog die) can be woken up (e.g. LIN, after Timeout, PTB4, etc.) I suggest to use the watchdog timer on the analog die (must be enabled before entering stop!

See https://community.nxp.com/t5/S12-MagniV-Microcontrollers/COP-and-analog-die-watchdog-usage/td-p/1700...

W.

0 项奖励
回复
1,510 次查看
gumu
Contributor V

Hi @Q_man ,

In practical testing, I found that the device cannot be woken up with PTB4 after it enters sleep mode. It requires a power cycle to recover. I am wondering if enabling the analog die watchdog can help avoid such a problem? Is there any way to recover?

Thanks!

0 项奖励
回复