2019-06-06 04:15 PM
Hello, I'm developing an application for the STM32F302R8 using the STM32IDE.
What is happening that any pin I choose as external interrupt EXTI, when the pulse that is free from bouncing (I checked with the oscilloscope) the EXTI handler is called several times and always randomly, I am using the default settings of the IDE , and i use the HAL_GPIO_EXTI_CALLBACK function as the interrupt calls. this is my code:
/* USER CODE BEGIN 4 */
/**
* @brief EXTI line detection callbacks
* @param GPIO_Pin: Specifies the pins connected EXTI line
* @retval None
*/
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
{
if(GPIO_Pin == GPIO_PIN_0)
{
count++ ;
}
}
/* USER CODE END 4 */
can anybody help me . thank you.
2019-06-06 04:57 PM
Related? https://community.st.com/s/question/0D50X0000Avee6rSQA/interrupt-fires-multiple-times-on-exti95