HOW to Distinguish between initial power-on and sleep wake-up states in S32K344

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

HOW to Distinguish between initial power-on and sleep wake-up states in S32K344

ソリューションへジャンプ
1,017件の閲覧回数
KerryJ
Contributor II

Hi, I got a problem with S32K344, I learned sleep wake-up will trigger a function reset, But I don't know how to Distinguish between initial power-on and sleep wake-up states. Hope to get your help, thanks a lot.

0 件の賞賛
返信
1 解決策
1,002件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @KerryJ,

Read the MODE_STAT[PREV_MODE] bit.

danielmartynek_0-1662550983413.png

If you use RTD, there is this API of the POWER_IP driver: Power_Ip_GetPreviousMode().

 

BR, Daniel

 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,003件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @KerryJ,

Read the MODE_STAT[PREV_MODE] bit.

danielmartynek_0-1662550983413.png

If you use RTD, there is this API of the POWER_IP driver: Power_Ip_GetPreviousMode().

 

BR, Daniel

 

0 件の賞賛
返信