2023-11-24 05:22 AM
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
2023-11-24 05:38 AM
Please check if the pins are configured with the appropriate triggering sensitivity (e.g., rising edge, falling edge, etc.).
2023-11-24 06:03 AM
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
2023-11-24 07:13 AM
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.
2023-11-24 07:26 AM