STM32WB15 Wake_up pin polarity issue
Hello,
I use a stm32WB15 MCU in shutdown mode with a wake up by the wake up pin PA0 (System wake-up 1).
Everything works fine with the polarity "High". I use the HAL function "HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1_HIGH)".
But with the polarity "Low" and the function "HAL_PWR_EnableWakeUpPin(PWR_WAKEUP_PIN1_LOW)" the MCU wakes up regardless of the logic level on the input pin (as if both Edges were selected !).
I checked the WP1 bit in PWR_CR4 and is setting is correct (0 for high level detection and 1 for low level).
I set the level on the input pin wiht a generator and I verify with a oscilloscope for debugging so it is not a hardware problem...
Thanks for your answer.
Best regards,
Joel
