Tutorial 11: LAB - External Interrupt ( EXTI ) Interfacing in STM32 using STM32CUBEMX

preview_player
Показать описание
External Interrupt ( EXTI ) Interfacing in STM32 using STM32CUBEMX

▶️ARM Cores also support interrupts lines which are external to the core itself. These interrupt lines are usually routed to vendor specific peripherals on the MCU such as GPIO, SPI, I2C, Timers, RTC etc.
Out of these many external interrupts, some are directly connected to processor core by Nested Vector interrupt Controller (NVIC) and some are connected through called External Interrupt Controller (EXTI) block.

▶️External Interrupt Controller (EXTI) block basically handles interrupt related to GPIO and wakeup events with the help of EXTI Interrupt mask register, pending register and edge selection register. We can find IRQ numbers as well as addresses of their handler in the vector table.

EXTI Controller Features
The EXTI controller main features are the following:
➡️Independent trigger and mask on each interrupt/event line
➡️Dedicated status bit for each interrupt line
➡️Generation of up to 23 software event/interrupt requests
➡️Detection of external signal with pulse width lower than the APB2 clock period.
➡️mapping of multiple GPIO lines to 16 NVIC external interrupt inputs
➡️Dedicated status bit for external interrupt line

✔ Register for this free course & you will get an access to e-Learning content and code files🏆🚀

🌐 STM32 Related Courses:

✨ HEXNBIT Social Media :

🎓 Other Courses:

About us: Hexnbit provides one-stop solutions for the students & working professionals in Skill development programs. The platform not only provides subject expertise to the candidates but also, give them industry exposure to apply their learning analytically in a practical real-world.
Рекомендации по теме
Комментарии
Автор

The best explanation on Youtube, you save me for my enbedded systems class, thanks!!! Greetings from Mexico

trabajosfacu
Автор

Ohh man, you don't know how much you helped me!! You saved my life ahah. Thank's man

FrnzBOM
Автор

Is this function not available for nucleo-c031c6 because i cannot find EXTI line [15:10] interrupts checkbox in my NVIC Tab :(

jingtingleow
Автор

I understand the interruption method, but what can the event be used for?

csigabigaboca
Автор

for multiple ISR

call back function name is same then how to use it?

VinothkannanR-vuyl
Автор

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)

ltlt
Автор

Hi,
What if we have used the 2 external interrupts? How we differentiate GPIO_Pin); " for each interrupt?

abbasraimkulov
Автор

hello sir
this is not working on NUCLEO-L053R8

MamathaJ
Автор

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

mrezamuktasib