cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U585 - Problem with more than one wake up pin in Stop3 mode

ASavi.3
Associate II

Dear all,

I am using STM32U585CIT6Q in Stop3 mode. When one wakeup pin is active, everything works fine, and I can wake up my microcontroller.

But when I want to use two wakeup pins (Two wakeup pins are selected in .ioc file and enabled in code), I can't wake up the microcontroller.

What could be a problem?

Best regards,

Ana

4 REPLIES 4
liaifat85
Senior III

Please check if the pins are configured with the appropriate triggering sensitivity (e.g., rising edge, falling edge, etc.).

ASavi.3
Associate II

I don't think that is the problem. The wakeup pins are enabled with functions:

HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN4_LOW_0);

HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN6_LOW_0);

That means that wakeup pins have a low polarity.

When I use one or the other of these wakeup pins, everything works as it should.

Best regards,

Ana

Sarra.S
ST Employee

Hello @ASavi.3

What pins are you using as wakeup pins?

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

ASavi.3
Associate II

Hello @Sarra.S ,

I'm using PA2 and PB5