STOP2 mode, MCU wakes up just after entering stop mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

STOP2 mode, MCU wakes up just after entering stop mode

跳至解决方案
699 次查看
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 解答
674 次查看
dinesh_balaji
Contributor III

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
675 次查看
dinesh_balaji
Contributor III

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

0 项奖励
回复
685 次查看
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 项奖励
回复
682 次查看
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 项奖励
回复