Skip to main content
PMana.1
Associate II
Nov 18, 2021 1:44 PM UTC
Question

the user button code is not working on NUCLEO-WB55RG

I am trying to use the pushbutton of NUCLEO-WB55RG and I tried coding it in both external interrupts and also as a gpio input. The pin configuration is correct. The same code is running on other Nucleo boards such as L496 and L432. But the code does not work on wb55rg. I am using cubemx to generate the code and development is done with keil. Please do help me on this

This topic has been closed for replies.

1 reply

TDK
Nov 18, 2021 1:59 PM UTC

Monitor the IDR value of the pin while you press the button. If it's not changing when you press the button, the hardware isn't connected correctly (or you need a pull resistor). If it does change, the EXTI setup is incorrect.

"If you feel a post has answered your question, please click ""Accept as Solution""."