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.
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?
Solved! Go to Solution.
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().
2. There is no RTD API that would return PMC_LVSC.
Regards,
Daniel
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().
2. There is no RTD API that would return PMC_LVSC.
Regards,
Daniel