STOP2 mode, MCU wakes up just after entering stop mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

STOP2 mode, MCU wakes up just after entering stop mode

Jump to solution
698 Views
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.

0 Kudos
Reply
1 Solution
673 Views
dinesh_balaji
Contributor III

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

View solution in original post

0 Kudos
Reply
3 Replies
674 Views
dinesh_balaji
Contributor III

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

0 Kudos
Reply
684 Views
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 Kudos
Reply
681 Views
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 Kudos
Reply