How to know wakeup source/interrupt in S32k144?

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

How to know wakeup source/interrupt in S32k144?

ソリューションへジャンプ
506件の閲覧回数
huangkenny
Contributor II

Hello all, 

I'm facing weird issue that when I setup s32k144 into VLPS mode, sometimes it will be waken up with no reason, which means it cannot successfully enter VLPS mode.

The only interrupt I setup is by using following code:

PINS_DRV_SetPinIntSel( PORTA, PTA0_WAKE_PIN, PORT_INT_LOGIC_ONE );
then
POWER_SYS_SetMode( VIMSM_MCU_STATE_VLPS, POWER_MANAGER_POLICY_AGREEMENT );
 
So I'm wondering if there's some internal interrupt being triggered that cause this issue.
 
Are there any register I can check further to confirm which wakeup source/interrupt from VLPS mode is being triggered?
 
Thanks,
Kenny
タグ(2)
0 件の賞賛
1 解決策
485件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@huangkenny

S32K1 does not have a register specially used to indicate the wake-up source, but the user can judge whether an interrupt is currently generated by capturing the NVIC value.

Here is a similar problem and a solution you can refer to.

https://community.nxp.com/t5/S32K/How-to-identify-which-interrupt-changed-Power-Mode-from-VLPS-to/m-... 

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
486件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@huangkenny

S32K1 does not have a register specially used to indicate the wake-up source, but the user can judge whether an interrupt is currently generated by capturing the NVIC value.

Here is a similar problem and a solution you can refer to.

https://community.nxp.com/t5/S32K/How-to-identify-which-interrupt-changed-Power-Mode-from-VLPS-to/m-... 

0 件の賞賛
467件の閲覧回数
huangkenny
Contributor II

Hi Senlent,

Thanks for pointing out that clue, I have found which interrupt cause MCU wakeup from VLPS mode,

thanks!

0 件の賞賛