cancel
Showing results for 
Search instead for 
Did you mean: 

WKUP2 Operation on STM32L152-EVAL

brianshankland9
Associate II
Posted on August 02, 2012 at 17:12

Hello, I'm hoping someone can either confirm or deny what I as seeing.

I've modified the PWR STANDBY example to check the working of all three WKUP pins.

I seem to have a problem when I enable WKUP2.

If I only enable WKUP1 & WKUP3 then both work as expected, but when I enable all three then none them work. 

All I have done is to add in the additional calls to PWR_WakeupPinCmd as below:

  PWR_WakeUpPinCmd(PWR_WakeUpPin_1, ENABLE);  

  PWR_WakeUpPinCmd(PWR_WakeUpPin_3, ENABLE);  

  PWR_WakeUpPinCmd(PWR_WakeUpPin_2, ENABLE);  

If I comment out the third call that enabled WKUP2 then WKUP1 & 3 work again.

Even if the PC13 line was being pulled high or low by the eval board I would not expect it to prevent the other two from working.

Can anyone shed any light on this.

Thanks.

#wkup2-stm32l152-eval-pc13
0 REPLIES 0