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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,540件の閲覧回数
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,521件の閲覧回数
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,504件の閲覧回数
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,505件の閲覧回数
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,522件の閲覧回数
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,512件の閲覧回数
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 件の賞賛
返信