cancel
Showing results for 
Search instead for 
Did you mean: 

Code generation problem on HAL_PWREx_S3WU_IRQHandler

SBébi.1
Associate II

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

1 REPLY 1
STTwo-32
ST Employee

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.