Тёмный
No video :(

Interrupts | #8 STM32 GPIO button interrupt 

Terminal Two
Подписаться 21 тыс.
Просмотров 55 тыс.
50% 1

This video explains how to configure GPIO input as interrupts.
Kshitij Dadhekar

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 75   
@danmazur6893
@danmazur6893 5 месяцев назад
I stopped by for one video and stayed to watch the entire series. Very nicely done helped to fill in a lot of questions I had after watching many other videos including STMicros series.
@anithasshenoy6662
@anithasshenoy6662 3 месяца назад
@TerminalTwo , Simple explanation on how interrupts work , why & where one could use it. Thank you very much.
@Kevin192291
@Kevin192291 Месяц назад
Your videos are pure gold, Thank you so much, I don't think there is any other place to get all of this info so well explained.
@romanreiter1358
@romanreiter1358 3 года назад
Very good explanation. I like it when you explain the background of the technology -> that's the only way to learn something.
@jozefsoucik3115
@jozefsoucik3115 5 месяцев назад
one of the indian tech guy, who is really explaining...not just click here, copy here ..5min and all done.
@tomcemackovski2578
@tomcemackovski2578 2 года назад
Great content. Keep on going. Excellent explanation, better than my uni professor 10/10.
@rabiahussain4953
@rabiahussain4953 3 года назад
please complete the series on stm32. it will be very benifial for newbies.
@abelashenafi6291
@abelashenafi6291 6 месяцев назад
Thanks for all of your video series. They were REALLY helpful to get me started in STM32 MCUs. Kudos man Kudos
@prasoft2999
@prasoft2999 2 года назад
Thank you. This is the best explanation of gpio interrupt that I came across. Appreciate it🙏 Please do more videos on debugging n monitoring the application using CubeIDE. Thank you in advance.
@faysselouayssa7764
@faysselouayssa7764 2 года назад
Great content. Keep on going, best and excellent explanation. Please complete this courses.
@michaelalex5235
@michaelalex5235 Год назад
All the videos were really good and so very well explained. Excellent!
@kleindavid9416
@kleindavid9416 4 месяца назад
Your tutorials are the best on the topic (Thanks!)
@DoBaMan77
@DoBaMan77 Год назад
Hi, you did a really nice job in creating these video series! I like it very much. Are you planning to do more videos like that? Your videos are very helpful. Regards Dom
@indyzd
@indyzd Год назад
Thank you so much for this video!! Your explanation on how this works was awesome!
@ajoejose2616
@ajoejose2616 2 года назад
Very helpful video’s, Thankyou Waiting for more videos in this series.
@savinogiovannimuscio2953
@savinogiovannimuscio2953 Год назад
hi, the program in my case not working (led non switch on/off after press on) also if have no error. Can help me?
@ELANCHEZHIYANRJ
@ELANCHEZHIYANRJ Год назад
That call from ELON MUSK, He must be really famous
@rabiahussain4953
@rabiahussain4953 3 года назад
please make a detailed series of using interrupt using gpios and timers in stm32.
@deangreenhough1178
@deangreenhough1178 2 года назад
Excellent work, its been a great help in my understanding. Thank you for sharing
@GeorgeGalanis1010
@GeorgeGalanis1010 Год назад
Great explanation. Just writing my own code and the compiler gives a warning that the HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) is unused. Sure enough when I check with the debugger and step through the code, when I trigger the interrupt it goes to the weak definition of the callback function. Has me beat at the moment.
@leoUFSJ1
@leoUFSJ1 2 года назад
Thanks a lot, sir ! Congratulation for the high quality explanation and video !
@balaswamy100
@balaswamy100 8 месяцев назад
Good Series. Most helpful. Thank you for the videos,,,,
@keen2461
@keen2461 Год назад
Pretty well explained. Kudos!
@maheshgo
@maheshgo Год назад
Yes Call from Elon Musk is importent one ! Nice video seris . Thank you.
@rajshekharrakshit9058
@rajshekharrakshit9058 3 года назад
Interrupt priority is the answer to the last question.
@JorgeSilva-em8pf
@JorgeSilva-em8pf 2 года назад
Dear KD. If two Interrupt requests were issued at the same time, the priority of each of them will decide which one will be serviced, but, my question is: Does the STM32's HAL_ or LL_ function for ISR will DISABLE any Interrupt during the ISR? OR just THAT serviced ISR, or what? And where, or when, the general Interrupt will be allowed, just after the finishing ISR (or do we need to take explicit actions for each act)? Regards.
@keen2461
@keen2461 Год назад
Very good question. Too bad he never bothered to answer.
@ltlt6117
@ltlt6117 2 месяца назад
Hi how much is the time between interrupt(falling or rising edge) and function in normal case and how we can decrease this time ? (Doing the function immediately after interrupt without any delay)
@mohammadmohd2541
@mohammadmohd2541 Год назад
When will you make the UART interrupt video? I am waiting for it and thanks for this video.
@pdeepakjayan5515
@pdeepakjayan5515 10 месяцев назад
Sir, I am trying to receive gps data each second using interrupt function.What I understood is that,I had enabled the global interrupt in stm32 configuration for uart3, and whenever the interrupt triggers,the programs goes to the callback function which is hal_uart_rxcpltcallback.The program reaches the function..I do some processing again and then enable the interrupt again..The next sexond when the data arrives at 100ms after a pps signal(reference signal marked for 1 second),again interrupt is triggered , program goes to callback function, does the particular function, comes out of callback function.This happens in every 100th -130th millisecond of each second.I understood that whenever the codes enters the callback, ,the interrupt is diabled and we need to enable the interrupt again to receive the next data..Altogether 300bytes of data arrives from 100 to 130milliseconds..After 130 milisecond,if suppose some random data arrives, the interrupt may still trigger, since each time i enable the interrupt while coming out of callback function..how to stop receing the interrupt after 300millisecond? Can i use abort function?? Also can you please explain What is the differnce between isr function and callback function??Looking forward for your reply
@satwikagarwal3736
@satwikagarwal3736 Год назад
Where did you learn STM32 coding from ? I am new to this and I need to learn about interfacing sensors with interrupts and i2c
@dipsylogic1715
@dipsylogic1715 Год назад
In the "strongly" defined HAL_GPIO_EXTI_Callback function, you put if(GPIO_Pin == B1_Pin). Does that mean if you have another external interrupt, you would put another if statement for that other pin in the same callback function? Is that callback function shared amongst all the EXTI's?
@itsst172
@itsst172 Год назад
This was so helpful, thank you! 🎉🎉🎉🎉
@madhumitamahapatra2969
@madhumitamahapatra2969 10 месяцев назад
Amazing sir!!!
@csigabigaboca1987
@csigabigaboca1987 Год назад
I wanted to use the PE4 pin, but the compiler shows an error, it only accepts EXTI0 - EXTI3 registers, what's the problem? The documentation and implementation are completely incomprehensible... I prefer to use pe3? According to the documentation, i can use all of them from 0-15, but how...?
@Mr0neShotAway
@Mr0neShotAway 3 года назад
Keep up the great work!
@hero21number18
@hero21number18 2 года назад
wonderful explaination, can you please make a video on how to interface a 4 x 4 keypad with stm32f using GPIOs interrupts
@baladshin7100
@baladshin7100 2 года назад
Awesome Video! better than others... your video was really helpful bro! 😍😍😍😍
@alexanderurezchenko6446
@alexanderurezchenko6446 2 года назад
hi, why don't you use hal_gpio_togglepin to switch on led inside your interrupt handler? the code will be much shorter!
@nikhilawathare5626
@nikhilawathare5626 2 года назад
Good explanation ,wanted to know how to come out of an interrupt for eg. consider that in main some execution is going on and an interrupt occurs and controller moves to serve interrupt so after serving the interrupt how to come back to main program wanted to know which instruction to use to come out of any interrupt
@TerminalTwo
@TerminalTwo 2 года назад
On a higher-level(In C code), you will return from the interrupt as soon as all the code in the ISR ends. But if you are looking for the exactly assembly instruction then you will have to look into the Assembly code equivalent of the C code ISR. This can be done when debugging is on and you can click on "view disassembly"
@refikcancelikgoz7484
@refikcancelikgoz7484 Год назад
SEN BİR ADAMSIN
@mohammadhasanshokoohi7150
@mohammadhasanshokoohi7150 2 года назад
Very good. Thanks for the video ☺️
@rupendrareddyyaparla4949
@rupendrareddyyaparla4949 2 года назад
Nice explanation .....!!
@soundstream32
@soundstream32 Год назад
how can i determine the port that generate the interruption as i can see you can get the pin wich generarte the interruption but i dont get how to get the port
@themallikarjun7
@themallikarjun7 Год назад
Tqsm sir
@soranfatah1033
@soranfatah1033 13 дней назад
you make easy thing difficult...
@franhdez4711
@franhdez4711 2 года назад
Great video, thank you so much.
@sudheerkumar5966
@sudheerkumar5966 2 года назад
Very good sir
@mehmetylmaz8359
@mehmetylmaz8359 2 года назад
I wrote stm32_Led_Blink codes. The codes "Download Verified Successfully" but Led of STM32 dont blink, why?
@mohammadhejazi9668
@mohammadhejazi9668 2 года назад
what about debouncing? why was not the bounce problem?
@hrishikeshgarud7177
@hrishikeshgarud7177 2 года назад
Hi, can you tell me if i have two external interrupts how to differentiate between them? (Two or more push buttuns as external interrupts).
@hrishikeshgarud7177
@hrishikeshgarud7177 2 года назад
sorry i havent noticed.
@rajdeeproychowdhury7301
@rajdeeproychowdhury7301 2 года назад
you have done soo good sir💯. Please complete that STM32 series programming codes. Its makes helps for me. Sir if I want to contact with you regarding STM32 code then how to contact with you sir?🙏🙏🙏
@RobertLugg
@RobertLugg 2 года назад
Great work.
@karthikrr1545
@karthikrr1545 Год назад
I don't see any Generate IRQ Handler in my project @ 11:30
@sudheerkumar5966
@sudheerkumar5966 Год назад
Very good
@SurendraSingh
@SurendraSingh 3 года назад
1:12 ,gets call from Elon Musk, this guy is going places
@uttambasu3845
@uttambasu3845 2 года назад
Good One for basic.
@hsenaed6894
@hsenaed6894 3 года назад
Please.Can you help me explain how to activate a xor mode
@hawwoth
@hawwoth Год назад
Thanks!
@user-pd2hq8vd1b
@user-pd2hq8vd1b Год назад
Ciuvak, Artur de la BSWTech o facut mai repede si mai ciotka, el o folosit volatile variabila in functia _weak. Daca ceva iti dau nr lui si il suni pentru consultari. Te pup
@hasibarian3588
@hasibarian3588 3 года назад
Good content
@nagababuveeranki8800
@nagababuveeranki8800 2 года назад
good video bro. how to Count number of push button press by external interrupt.
@TerminalTwo
@TerminalTwo 2 года назад
You can add a counter variable in the isr.
@shreelaxmigm4379
@shreelaxmigm4379 Месяц назад
Set the priority
@prasanthreddy1352
@prasanthreddy1352 7 месяцев назад
can u do vedio on stm32f103c6t6a can msg transfer and receive
@melekkarakaya4700
@melekkarakaya4700 6 месяцев назад
Did you notice that the caller was Elon Musk :)
@Irshu
@Irshu 3 года назад
thanks bud.
@williamjones9706
@williamjones9706 2 года назад
NiceJob!
@smooooth_
@smooooth_ 2 года назад
Man I wish I did next level shit on my computer
@Needa13b
@Needa13b 5 месяцев назад
lol, that one got me too
@hero21number18
@hero21number18 2 года назад
from canada
@creativetechprashant4579
@creativetechprashant4579 3 года назад
please make video on Glcd 128x64 how to make large font and make different different figures.
@serhioromano
@serhioromano Год назад
Music serves no good in videos like that.
Далее
How to Blink a LED | #5 STM32 GPIO output
24:41
Просмотров 54 тыс.
STM32 PWM basics
18:31
Просмотров 20 тыс.
Using I2C for any device on STM32 with HAL | VIDEO 26
37:51
Program, Interrupted - Computerphile
6:41
Просмотров 127 тыс.