Skip to main content
Associate
June 10, 2025
Question

pROBLEM WITH stm32WB05KZ wake-up proccess

  • June 10, 2025
  • 1 reply
  • 237 views

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!

1 reply

STTwo-32
Technical Moderator
June 20, 2025

Hello @LuisL 

Could you please give more details about this issue (how you did the original configuration and the changes and the code that reproduce this behavior if possible).

Best Regards.

STTwo-32