STM32f302R8 NUCLEO64 EXTI interrupts firing multiple times
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-06-06 4: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.
Labels:
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-06-06 4:57 PM
Related? https://community.st.com/s/question/0D50X0000Avee6rSQA/interrupt-fires-multiple-times-on-exti95
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
