cancel
Showing results for 
Search instead for 
Did you mean: 

pROBLEM WITH stm32WB05KZ wake-up proccess

LuisL
Associate

Hi, I'm having a problem with the wake-up procces using interruptions. I use three pins, PA0, PA8 and PA9, set the with no pull-up, and in rising mode. then i enable them as wake up pins, in rising mode. i go to sleep in stop mode, using the functions from stm32_lpm.c, inside the UTIL_SEQ handler. When the device goes to sleep  after UTIL_LPM_EnterLowPower(); the consumtion reaches 7uA. If i generate a pulse in PA9 pin, the device wakes up and executes a function that is setted as a task to the handler. the function set on a pin with a led, waits for a second and reset the pin. It works just fine. But with the two other pins, PA0 and PA8, the device wakes-up, reaching 3,5 mA in consumption, but does not follow with the perocces neither returns to low power. Any idea why the changes from one pin to another? PA8 and PA0 seem to have wake up capabilities, following datasheet.

Thanks for the help!

0 REPLIES 0