Skip to main content
AFeo
Associate
January 18, 2021
Question

Can't enter standby if WKUP_PIN is high and wkp polarity is PWR_PIN_POLARITY_HIGH

  • January 18, 2021
  • 0 replies
  • 539 views

I try to change in

STM32Cube\Repository\STM32Cube_FW_H7_V1.7.0\Projects\NUCLEO-H743ZI\Examples\PWR\PWR_STANDBY

logic of WKUP_PIN - to PWR_PIN_POLARITY_HIGH from PWR_PIN_POLARITY_LOW. Board is NUCLEO-H743ZI.

In case of PWR_PIN_POLARITY_LOW all works fine - mcu in standby, i am pushing button and hold it and after i release button there is falling edge and mcu wakes up, then it goes to standby again.

In case of PWR_PIN_POLARITY_HIGH - mcu in standby, i am pushing button - rising edge wakes up mcu, i DONT RELEASE button and wait, but mcu cant eneter to standby mode.

Why logic of entering to standby mode is not similar with different edges: in case of PWR_PIN_POLARITY_LOW low level on WKUP pin doesnt interfere standby mode and in case of PWR_PIN_POLARITY_HIGH high level on wake up pin disables entering to standby mode.

Thanks a lot!

This topic has been closed for replies.