WAKEUP/WKUP pin assignments STM32H7 devices appear to be documented incorrectly
- March 3, 2020
- 5 replies
- 3778 views
On an application board I'm developing using an STM32H750VB, I ran into problems with being unable to wake the device from STANDBY mode using WKUP2 on PC13. Measuring current consumption confirmed STANDBY was being entered, however the expected pull-up was not present, and the device did not wake.
I decided to check the functionality using an evaluation board, an NUCLEO-H743ZI was the closest match I had to hand.
I ran the provided sample STM32Cube_FW_H7_V1.5.0\Projects\NUCLEO-H743ZI\Examples\PWR\PWR_STANDBY, and observed the expected behaviour of the user button waking the device from sleep.
However, on closer inspection I could see that the code references PWR_WAKEUP_PIN4, wheras the actual IO connected to the user button (PC13) is listed as WKUP2 in both the part datasheet & STM32CubeMX.
From my quick investigations I looked at the two IO's of interest to me & found they both are incorrectly labelled. This probably applies to all WAKEUP sources, but these are the only two I have tested.
PWR_WAKEUP_PIN4 => datasheet pin WKUP2
PWR_WAKEUP_PIN6 => datasheet pin WKUP5
Am I missing something here?
Best regards,
Paul
