2025-04-12 12:42 AM - last edited on 2025-04-12 1:17 AM by STTwo-32
Hi,
I'm working on an STM32U595 and there is a code generation problem in the function `void PWR_S3WU_IRQHandler(void)` where when you have multiple wake up pins and S3WU interrupt enabled :
/* USER CODE END PWR_S3WU_IRQn 0 */
HAL_PWREx_S3WU_IRQHandler(PWR_WAKEUP_PIN2 || PWR_WAKEUP_PIN5 || PWR_WAKEUP_PIN6);
/* USER CODE BEGIN PWR_S3WU_IRQn 1 */
But the generated code should be:
/* USER CODE END PWR_S3WU_IRQn 0 */
HAL_PWREx_S3WU_IRQHandler(PWR_WAKEUP_PIN2 | PWR_WAKEUP_PIN5 | PWR_WAKEUP_PIN6);
/* USER CODE BEGIN PWR_S3WU_IRQn 1 */
This creates a big problem because as soon as you define several wake up pins in stop mode 3, it no longer works.
Best regards,
Steven
2025-04-12 1:16 AM - edited 2025-04-12 1:17 AM
Salut @SBébi.1
Thank you so much for your escalation. I will report this to our concerned team for correction.
Best Regards.
STTwo-32
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.