How to detect PMC LVR reset.

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

How to detect PMC LVR reset.

ソリューションへジャンプ
589件の閲覧回数
Pusoy
Contributor III

hi,
According to the reference manual, PMC will trigger an LVR event after detecting an under-voltage condition in the monitored power supply and initiate a reset by default.
Furthermore, the LVR event will be combined with the POR event into a single POR event.
Pusoy_0-1704874462313.png

Pusoy_1-1704875201935.png

 

Supposing that the previous reset was caused by an LVR event:
1. When invoking the function Mcu_GetResetReason(), will it return MCU_POWER_ON_RESET?
2. If MCU_POWER_ON_RESET is returned, does the SW32K3_RTD_4.4_2.0.1 provide a method to identify which voltage source anomaly caused the reset?

タグ(3)
0 件の賞賛
返信
1 解決策
567件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Pusoy,

1. Yes, any of the below LVR sources set DES[F_POR] which is read is MCU_POWER_ON_RESET in Mcu_GetResetReason().

danielmartynek_0-1705052266246.png

 

2. There is no RTD API that would return PMC_LVSC.

 

Regards,

Daniel

元の投稿で解決策を見る

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

Hi @Pusoy,

1. Yes, any of the below LVR sources set DES[F_POR] which is read is MCU_POWER_ON_RESET in Mcu_GetResetReason().

danielmartynek_0-1705052266246.png

 

2. There is no RTD API that would return PMC_LVSC.

 

Regards,

Daniel

0 件の賞賛
返信