EXTI not work as expected
i am using NUCLEO-F410RB board
i followed the simple exti tutorial try to print "button pressed" to uart when the corresponding button is pressed
like most of the tutorial setting : interrupt rising edge . no pull up and pull down , one side of button is the certain pin and the other side is connect to the board 3.3V pin
and insert code like this
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
{
if(GPIO_Pin == GPIO_PIN_14){
printf("button pressed");
}
}
i have tried several exti gate. they have the same problem
even i just plug a wire to the certain pin , the other end of wire has not connected anything yet
the uart would display a tons of 'button pressed' which means the exti was triggered multiple time
it is kind of weird
do you guys have encountered this problem before?
