Background:
1. Use the S32Design Studio tool to import the example [Power_Ip_Example_S32K312], and additionally configure the STANDBY mode.
2. Added Wkpu in Drivers and configured PTB19 as the wakeup source, and configured related Wkp interrupt.
3. Configure PTE18 as GPIO output
Operation:
1. Perform Power initialization, Siul2 initialization, wkp initialization, interrupt enable, etc. in the Main function.
2. Set PTE18 as high level output.
3. 3. Call the Power_Ip_SetMode function to pass in the StandBy parameters.
Problems:
1. PTE18 does not change to low level after StandBy.
2. The current does not drop significantly after StandBy.
What are the reasons for the above two questions?
解決済! 解決策の投稿を見る。
if padkeeping is disabled, the pin will remain the run mode after entering standby mode, but once it wakeups, the pin will become floating until initialized by software again.
would you please take a look at this post, it might be help you.
https://community.nxp.com/t5/S32K/about-S32K312-STANDBY-CURRENT/td-p/1654304
Hi @Senlent
Thank you for your answer.
Regarding the first question, after entering StandBy, if PadKeeping is not set, will the output pad level be maintained?
if padkeeping is disabled, the pin will remain the run mode after entering standby mode, but once it wakeups, the pin will become floating until initialized by software again.
Hi @Senlent
Thank you for your answer