Interrupts | #8 STM32 GPIO button interrupt

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии • 81

  • @danmazur6893
    @danmazur6893 11 месяцев назад +1

    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.

  • @jozefsoucik3115
    @jozefsoucik3115 10 месяцев назад +2

    one of the indian tech guy, who is really explaining...not just click here, copy here ..5min and all done.

  • @abelashenafi6291
    @abelashenafi6291 11 месяцев назад +1

    Thanks for all of your video series. They were REALLY helpful to get me started in STM32 MCUs. Kudos man Kudos

  • @Kevin192291
    @Kevin192291 6 месяцев назад +1

    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 года назад +8

    Very good explanation. I like it when you explain the background of the technology -> that's the only way to learn something.

  • @tomcemackovski2578
    @tomcemackovski2578 3 года назад +8

    Great content. Keep on going. Excellent explanation, better than my uni professor 10/10.

  • @rabiahussain4953
    @rabiahussain4953 3 года назад +23

    please complete the series on stm32. it will be very benifial for newbies.

  • @prasoft2999
    @prasoft2999 2 года назад +1

    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.

  • @anithasshenoy6662
    @anithasshenoy6662 8 месяцев назад +1

    @TerminalTwo , Simple explanation on how interrupts work , why & where one could use it. Thank you very much.

  • @faysselouayssa7764
    @faysselouayssa7764 3 года назад +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 9 месяцев назад

    Your tutorials are the best on the topic (Thanks!)

  • @manishnim-q7v
    @manishnim-q7v 3 месяца назад

    HI, Terminal Two
    your STM series of these videos are great,
    It helped me allot.
    But I am little upset as this is the last video of the series, please make more videos on SPI, I2C , UART , LCD interfacing on STM32

  • @DoBaMan77
    @DoBaMan77 Год назад +1

    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

  • @ajoejose2616
    @ajoejose2616 3 года назад

    Very helpful video’s, Thankyou
    Waiting for more videos in this series.

  • @indyzd
    @indyzd 2 года назад

    Thank you so much for this video!! Your explanation on how this works was awesome!

  • @balaswamy100
    @balaswamy100 Год назад

    Good Series. Most helpful. Thank you for the videos,,,,

  • @deangreenhough1178
    @deangreenhough1178 2 года назад

    Excellent work, its been a great help in my understanding. Thank you for sharing

  • @keen2461
    @keen2461 Год назад

    Pretty well explained. Kudos!

  • @ELANCHEZHIYANRJ
    @ELANCHEZHIYANRJ Год назад +1

    That call from ELON MUSK, He must be really famous

  • @rabiahussain4953
    @rabiahussain4953 3 года назад +3

    please make a detailed series of using interrupt using gpios and timers in stm32.

  • @leoUFSJ1
    @leoUFSJ1 2 года назад

    Thanks a lot, sir ! Congratulation for the high quality explanation and video !

  • @mohammadmohd2541
    @mohammadmohd2541 2 года назад

    When will you make the UART interrupt video? I am waiting for it and thanks for this video.

  • @davidbarber6067
    @davidbarber6067 4 месяца назад

    Would like to see a video on "interrupt inside an interrupt." That would be very helpful.

  • @savinogiovannimuscio2953
    @savinogiovannimuscio2953 2 года назад +1

    hi, the program in my case not working (led non switch on/off after press on) also if have no error. Can help me?

  • @maheshgo
    @maheshgo 2 года назад

    Yes Call from Elon Musk is importent one ! Nice video seris . Thank you.

  • @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

  • @GeorgeGalanis1010
    @GeorgeGalanis1010 2 года назад

    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.

  • @soundstream32
    @soundstream32 2 года назад

    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

  • @Cyrusradplus
    @Cyrusradplus 7 месяцев назад

    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)

  • @itsst172
    @itsst172 Год назад

    This was so helpful, thank you! 🎉🎉🎉🎉

  • @pdeepakjayan1993
    @pdeepakjayan1993 Год назад

    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

  • @nikhilawathare5626
    @nikhilawathare5626 3 года назад

    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  3 года назад

      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"

  • @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...?

  • @madhumitamahapatra2969
    @madhumitamahapatra2969 Год назад

    Amazing sir!!!

  • @karthikrr1545
    @karthikrr1545 Год назад

    I don't see any Generate IRQ Handler in my project @ 11:30

  • @mohammadhejazi9668
    @mohammadhejazi9668 2 года назад

    what about debouncing? why was not the bounce problem?

  • @rupendrareddyyaparla4949
    @rupendrareddyyaparla4949 2 года назад

    Nice explanation .....!!

  • @Mr0neShotAway
    @Mr0neShotAway 3 года назад

    Keep up the great work!

  • @mohammadhasanshokoohi7150
    @mohammadhasanshokoohi7150 2 года назад

    Very good. Thanks for the video ☺️

  • @JorgeSilva-em8pf
    @JorgeSilva-em8pf 2 года назад +1

    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.

  • @hero21number18
    @hero21number18 3 года назад

    wonderful explaination, can you please make a video on how to interface a 4 x 4 keypad with stm32f using GPIOs interrupts

  • @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!

  • @franhdez4711
    @franhdez4711 2 года назад

    Great video, thank you so much.

  • @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).

  • @rajshekharrakshit9058
    @rajshekharrakshit9058 3 года назад +2

    Interrupt priority is the answer to the last question.

  • @rajdeeproychowdhury7301
    @rajdeeproychowdhury7301 2 года назад +1

    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?🙏🙏🙏

  • @themallikarjun7
    @themallikarjun7 Год назад +1

    Tqsm sir

  • @mehmetylmaz8359
    @mehmetylmaz8359 3 года назад

    I wrote stm32_Led_Blink codes. The codes "Download Verified Successfully" but Led of STM32 dont blink, why?

  • @refikcancelikgoz7484
    @refikcancelikgoz7484 Год назад

    SEN BİR ADAMSIN

  • @sudheerkumar5966
    @sudheerkumar5966 3 года назад +1

    Very good sir

  • @SurendraSingh
    @SurendraSingh 3 года назад

    1:12 ,gets call from Elon Musk, this guy is going places

  • @InnerCircleGateway
    @InnerCircleGateway 2 года назад

    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?

    • @basitsheikh
      @basitsheikh Месяц назад

      Yes and yes. The same function gets called for all external interrupts.

  • @RobertLugg
    @RobertLugg 2 года назад

    Great work.

  • @soranfatah1033
    @soranfatah1033 5 месяцев назад +1

    you make easy thing difficult...

  • @baladshin7100
    @baladshin7100 2 года назад

    Awesome Video! better than others... your video was really helpful bro! 😍😍😍😍

  • @hsenaed6894
    @hsenaed6894 3 года назад

    Please.Can you help me explain how to activate a xor mode

  • @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.

  • @leszekmatuszczyk9603
    @leszekmatuszczyk9603 4 месяца назад

    nice explenation

  • @sudheerkumar5966
    @sudheerkumar5966 2 года назад

    Very good

  • @uttambasu3845
    @uttambasu3845 2 года назад

    Good One for basic.

  • @hawwoth
    @hawwoth 2 года назад

    Thanks!

  • @prasanthreddy1352
    @prasanthreddy1352 Год назад

    can u do vedio on stm32f103c6t6a can msg transfer and receive

  • @AncientLoaf
    @AncientLoaf 3 года назад

    Good content

  • @CorneliuGutu-y4y
    @CorneliuGutu-y4y Год назад

    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

  • @rukundojobson2249
    @rukundojobson2249 3 месяца назад

    Was that call from Elon Musk???

  • @shreelaxmigm4379
    @shreelaxmigm4379 6 месяцев назад

    Set the priority

  • @Asifuzzaman
    @Asifuzzaman Месяц назад

    "Interrupt inside an interrupt" Please.........

  • @Irshu
    @Irshu 3 года назад

    thanks bud.

  • @williamjones9706
    @williamjones9706 3 года назад

    NiceJob!

  • @melekkarakaya4700
    @melekkarakaya4700 11 месяцев назад

    Did you notice that the caller was Elon Musk :)

  • @creativetechprashant4579
    @creativetechprashant4579 3 года назад +1

    please make video on Glcd 128x64 how to make large font and make different different figures.

  • @hero21number18
    @hero21number18 3 года назад

    from canada

  • @serhioromano
    @serhioromano 2 года назад

    Music serves no good in videos like that.

  • @smooooth_
    @smooooth_ 2 года назад +1

    Man I wish I did next level shit on my computer

    • @Needa13b
      @Needa13b 10 месяцев назад

      lol, that one got me too