Question
Wakeup signal
Posted on May 18, 2015 at 11:05
Hello,
I am trying to configure a wakeup signal WKPU6 as below.WKUP.WISR.B.EIF = 0x02000000; //Clear interrupt flagWKUP.WIREER.B.IREE = 0x02000000; //Disable rising edgeWKUP.WIFEER.B.IFEE = 0x02000000; //Enable falling edgeWKUP.IRER.B.EIRE = 0x00000000; //Enable interruptWKUP.WRER.B.WRE = 0x02000000; //Enable system wakeupWKUP.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.Mike. #wakeup