Based on the pin number which is given as a parameter to this callback function. If you have configured PC7 and PD8 so you have to check what is the pin number for source of interrupt and then decode the isr to be executed..
Hi how much is the time between interrupt(falling or rising edge) and function and how we can decrease this time ? (Doing the function immediately after interrupt without any delay)
i want use Motor with encoder, and the encoder have Signal FG Wire that send hall signal, how do i manage it in stm32 using external intterupt? jgb37-3525
You can try working with timer instead of external interrupt. There is separate section for encoder interface. Try referring the example code for eval board from repository. C:\Users\User_Name\STM32Cube\Repository\STM32Cube_FW_F4_V1.27.1\Projects\STM324xG_EVAL\Examples\TIM\TIM_Encoder If you have used any custom path then you can select the path likewsie
The best explanation on TH-cam, you save me for my enbedded systems class, thanks!!! Greetings from Mexico
Greetings from India !! Thank you for your feedback. Happy to help!
Ohh man, you don't know how much you helped me!! You saved my life ahah. Thank's man
Welcome!! Happy to help!
Is this function not available for nucleo-c031c6 because i cannot find EXTI line [15:10] interrupts checkbox in my NVIC Tab :(
Thx for this very clear tutorial
thx man you so helped me ! :D
Welcome!! Happy to help!
Sir Make video timer interup...thanks🎉🎉
Hi, I tried to setup an interrupt like this one but it only triggers once, what could be the problem?
Have you figured this out? I'm getting the same thing
I understand the interruption method, but what can the event be used for?
for multiple ISR
call back function name is same then how to use it?
Hi,
What if we have used the 2 external interrupts? How we differentiate "HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin); " for each interrupt?
Based on the pin number which is given as a parameter to this callback function. If you have configured PC7 and PD8 so you have to check what is the pin number for source of interrupt and then decode the isr to be executed..
@@Hexnbitgreat answer, what about when I use mul.tiple inputs such as GPIOAPIN7 and GPIOBPIN7 ? these both have same pins
@@5245jahi have the same doubt did you get any answer
Hi how much is the time between interrupt(falling or rising edge) and function and how we can decrease this time ?
(Doing the function immediately after interrupt without any delay)
hello sir
this is not working on NUCLEO-L053R8
Good stuff, thanks!
thanks you very much.
Welcome!!
i want use Motor with encoder, and the encoder have Signal FG Wire that send hall signal, how do i manage it in stm32 using external intterupt? jgb37-3525
You can try working with timer instead of external interrupt. There is separate section for encoder interface.
Try referring the example code for eval board from repository. C:\Users\User_Name\STM32Cube\Repository\STM32Cube_FW_F4_V1.27.1\Projects\STM324xG_EVAL\Examples\TIM\TIM_Encoder
If you have used any custom path then you can select the path likewsie
Nice thanks
Welcome!!
wrong unit8_t mode == 0;
nice
Thanks man
Cool❤