How to view and retrieve the wakeup reason in S32K344?
I see all zeros in the watch registers. Has the system been reset after wakeup?
via Attach to Running Target
I use PTB0 UART RX as the wakeup source.
EVB: S32K3-T-BOX
RTD3.0.0
S32DS v3.5
problem solved
thanks!
Hi
Have you already refer to the S32K344_FlexCAN_Wkup_S32DS_3_4_RTD_LLD_2_0 example in S32K3 Low Power Management AN and demos?
What debugger are you using for Attach to Running Target? Have you tried reading the reset reason via Power_Ip_GetResetReason();?
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
I have already seen the demo.
I use Mcu_ResetType Mcu_GetResetReason(void); to display the following reasons:
MCU_SW_DEST_RESET = McuConf_McuResetReasonConf_MCU_SW_DEST_RESET, /**< @brief HSE SNVS tamper detected. RGM_DES[F_DR17]. */
I am using PEmicro Debugger.
I have attached my project below. If possible, please help me check where the issue might be.
I enter standby mode through the standby command under FS26_handle.
Hello @iverson3ya,
I saw that you didn't call Icu functions to initial wakeup.
Please add some below code into your project and let me know your test result.
Icu_Init();
Icu_EnableWakeup();