STOP2 mode, MCU wakes up just after entering stop mode

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

STOP2 mode, MCU wakes up just after entering stop mode

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

#s32k146
I have configured CAN0 as the wakeup source and I'm using the pretended network feature. 
But just after entering STOP2 mode, the MCU wakes up on it own even though no CAN message was sent in the bus. I've disabled all other peripherals and the systick timer is also disabled.

タグ(4)
0 件の賞賛
返信
1 解決策
695件の閲覧回数
dinesh_balaji
Contributor III

My bad. I had left WTOF bit set in WU_MTC register. 
Clearing this bit solves this issue. 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
696件の閲覧回数
dinesh_balaji
Contributor III

My bad. I had left WTOF bit set in WU_MTC register. 
Clearing this bit solves this issue. 

0 件の賞賛
返信
706件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @dinesh_balaji 

Just to be sure, did you follow the STOP mode entry sequence that is described in section 5.5 (STOP and VLPS mode entry sequence) of the application note: Power Management for S32K1xx?

 

B.R.

VaneB

0 件の賞賛
返信
703件の閲覧回数
dinesh_balaji
Contributor III

@VaneB 
Yes, I'm following the entry sequence mentioned. I tried by configuring GPIO wake up from stop2 mode, it works fine(MCU remains in sleep until GPIO state change). So, I feel there shouldn't be any mistake with the entry sequence. 
But when I try with CAN wake up, this issue where MCU wakes just after entering stop2 mode occurs. Even I've verified that no resets occurred during sleep entry and exit.

0 件の賞賛
返信