2023-03-03 11:45 AM
Hello,
I am using the STM32H7B3IIT6 MCU to control a master control board, which has a push button connected to PB11 with the following hardware:
My objective for this is the following:
According to another forum post I made, any pin connected to an EXTI line can be used to do this, so I selected PB11. However, I'm looking through the reference manual and they just refer to "wakeup pins" and don't define what they are or how to configure them as wake-up pins.
Can anyone please explain to me how to do the following steps:
Thank you in advance.
Solved! Go to Solution.
2023-03-05 04:24 PM
As explained in the other topic, PB11 is not a wake-up pin. So choose one of the 6 wake-up pins available on your MCU. As for the code:
Also I would recommend a hardware debounce circuit like for a B1 button (sheet 13) in this schematic.
2023-03-05 04:24 PM
As explained in the other topic, PB11 is not a wake-up pin. So choose one of the 6 wake-up pins available on your MCU. As for the code:
Also I would recommend a hardware debounce circuit like for a B1 button (sheet 13) in this schematic.
2023-03-07 12:38 PM
Hello Piranha,
Thank you so much for this comprehensive explanation!
I did what you implemented and it worked perfectly.
I did forget the 100nF capacitor in my design, so I have implemented that into my design as well. I will keep an eye on the signal for any debouncing.