Push-Buttons - ST STM32U5 User Manual

Nucleo-144 board mb1549
Hide thumbs Also See for STM32U5:
Table of Contents

Advertisement

6.6

Push-buttons

Two buttons are available on the Nucleo board.
User button (B1)
The blue button for user and wake‑up functions is connected to PC13 to support the default TAMPER function
or to PA0 to support the optional wake‑up function of the STM32 microcontroller. When the button is pressed the
logic state is HIGH, otherwise, the logic state is LOW.
To connect the USER button to PC13, SB58 must be ON and SB59 must be OFF. This is the default
configuration.
To connect the USER button to PA0, SB58 must be OFF and SB59 must be ON. This is the optional
configuration.
Buttons are implemented using a hardware debounce filter combined with a serial resistor to avoid damaging the
STM32 GPIO in case of wrong GPIO setting. This 330 Ω serial resistor (R39) can be replaced by a 0 Ω resistor
assuming the GPIO configuration is properly done. The hardware debounce filter is composed of a 100 nF
capacitor (C84) with a 100 kΩ pull-down resistor (R38). Both components can be suppressed to reduce the BOM
cost assuming that the debounce is handled by firmware.
Warning:
Reset button (B2)
The black button connected to NRST is used to reset the STM32 microcontroller. When the button is pressed the
logic state is LOW, otherwise, the logic state is HIGH.
The blue and black plastic hats placed on these push‑buttons can be removed if necessary when a shield or
an application board is plugged into the top of the Nucleo board. This avoids pressure on the buttons and
consequently a possible permanent target MCU reset.
UM2861 - Rev 5
The PC13 I/O used for the user button must be set to INPUT, pull
debouncing. Never set the PC13 to OUTPUT / LOW level to avoid a shortcut when the
user button is pressed.
UM2861
Push-buttons
‑ down (PD) with
page 25/49

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32U5 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Nucleo-u575zi-qNucleou5a5zj-q

Table of Contents