Skip to main content
SBébi.1
Associate
April 12, 2025
Solved

Code generation problem on HAL_PWREx_S3WU_IRQHandler

  • April 12, 2025
  • 1 reply
  • 938 views

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

This topic has been closed for replies.
Best answer by STTwo-32

Salut @SBébi.1 

Thank you so much for your escalation. I've reported this to our concerned team for correction  (under internal ticket number 207504).

 

PS: this has been solved on the version 6.15.0 of the STM32CubeMX.

Best Regards.

STTwo-32

1 reply

STTwo-32
STTwo-32Best answer
ST Technical Moderator
April 12, 2025

Salut @SBébi.1 

Thank you so much for your escalation. I've reported this to our concerned team for correction  (under internal ticket number 207504).

 

PS: this has been solved on the version 6.15.0 of the STM32CubeMX.

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.