AnsweredAssumed Answered

Wakeup signal

Question asked by Mike on May 18, 2015
Latest reply on May 20, 2015 by Erwan Y
I am trying to configure a wakeup signal WKPU6 as below.

WKUP.WISR.B.EIF = 0x02000000;          //Clear interrupt flag
WKUP.WIREER.B.IREE = 0x02000000;     //Disable rising edge
WKUP.WIFEER.B.IFEE = 0x02000000;     //Enable falling edge
WKUP.IRER.B.EIRE = 0x00000000;     //Enable interrupt
WKUP.WRER.B.WRE = 0x02000000;          //Enable system wakeup
WKUP.WIFER.B.IFE = 0x02000000;

But when above code is executed, after the first statement, the code looses the track and never returns. What is the reason? I have tried to configure the bits from another end as well. Can you please clarify the behavior? Any test app for wakeup up signal?

Thanks in advance for all your help.