Interrupts | #8 STM32 GPIO button interrupt

แชร์
ฝัง

ความคิดเห็น • 71

  • @danmazur6893
    @danmazur6893 3 หลายเดือนก่อน

    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.

  • @romanreiter1358
    @romanreiter1358 2 ปีที่แล้ว +5

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

  • @rabiahussain4953
    @rabiahussain4953 3 ปีที่แล้ว +21

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

  • @tomcemackovski2578
    @tomcemackovski2578 2 ปีที่แล้ว +5

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

  • @faysselouayssa7764
    @faysselouayssa7764 2 ปีที่แล้ว +2

    Great content. Keep on going, best and excellent explanation. Please complete this courses.

  • @jozefsoucik3115
    @jozefsoucik3115 2 หลายเดือนก่อน

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

  • @michaelalex5235
    @michaelalex5235 9 หลายเดือนก่อน

    All the videos were really good and so very well explained. Excellent!

  • @leoUFSJ1
    @leoUFSJ1 2 ปีที่แล้ว

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

  • @kleindavid9416
    @kleindavid9416 หลายเดือนก่อน

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

  • @abelashenafi6291
    @abelashenafi6291 3 หลายเดือนก่อน

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

  • @ajoejose2616
    @ajoejose2616 2 ปีที่แล้ว

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

  • @indyzd
    @indyzd ปีที่แล้ว

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

  • @DoBaMan77
    @DoBaMan77 10 หลายเดือนก่อน +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

  • @prasoft2999
    @prasoft2999 ปีที่แล้ว

    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.

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

  • @deangreenhough1178
    @deangreenhough1178 2 ปีที่แล้ว

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

  • @keen2461
    @keen2461 10 หลายเดือนก่อน

    Pretty well explained. Kudos!

  • @anithasshenoy6662
    @anithasshenoy6662 22 วันที่ผ่านมา

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

  • @Mr0neShotAway
    @Mr0neShotAway 3 ปีที่แล้ว

    Keep up the great work!

  • @itsst172
    @itsst172 ปีที่แล้ว

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

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

  • @rabiahussain4953
    @rabiahussain4953 3 ปีที่แล้ว +3

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

  • @mohammadmohd2541
    @mohammadmohd2541 ปีที่แล้ว

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

  • @mohammadhasanshokoohi7150
    @mohammadhasanshokoohi7150 2 ปีที่แล้ว

    Very good. Thanks for the video ☺️

  • @franhdez4711
    @franhdez4711 ปีที่แล้ว

    Great video, thank you so much.

  • @savinogiovannimuscio2953
    @savinogiovannimuscio2953 ปีที่แล้ว +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?

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

  • @balaswamy100
    @balaswamy100 5 หลายเดือนก่อน

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

  • @rupendrareddyyaparla4949
    @rupendrareddyyaparla4949 2 ปีที่แล้ว

    Nice explanation .....!!

  • @satwikagarwal3736
    @satwikagarwal3736 9 หลายเดือนก่อน

    Where did you learn STM32 coding from ? I am new to this and I need to learn about interfacing sensors with interrupts and i2c

  • @madhumitamahapatra2969
    @madhumitamahapatra2969 7 หลายเดือนก่อน

    Amazing sir!!!

  • @ELANCHEZHIYANRJ
    @ELANCHEZHIYANRJ ปีที่แล้ว

    That call from ELON MUSK, He must be really famous

  • @JorgeSilva-em8pf
    @JorgeSilva-em8pf ปีที่แล้ว +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 10 หลายเดือนก่อน

      Very good question. Too bad he never bothered to answer.

  • @RobertLugg
    @RobertLugg 2 ปีที่แล้ว

    Great work.

  • @alexanderurezchenko6446
    @alexanderurezchenko6446 ปีที่แล้ว

    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"

  • @rajshekharrakshit9058
    @rajshekharrakshit9058 2 ปีที่แล้ว +2

    Interrupt priority is the answer to the last question.

  • @maheshgo
    @maheshgo ปีที่แล้ว

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

  • @pdeepakjayan5515
    @pdeepakjayan5515 7 หลายเดือนก่อน

    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

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

  • @sudheerkumar5966
    @sudheerkumar5966 2 ปีที่แล้ว +1

    Very good sir

  • @baladshin7100
    @baladshin7100 2 ปีที่แล้ว

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

  • @mohammadhejazi9668
    @mohammadhejazi9668 2 ปีที่แล้ว

    what about debouncing? why was not the bounce problem?

  • @hasibarian3588
    @hasibarian3588 3 ปีที่แล้ว

    Good content

  • @mehmetylmaz8359
    @mehmetylmaz8359 2 ปีที่แล้ว

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

  • @themallikarjun7
    @themallikarjun7 9 หลายเดือนก่อน +1

    Tqsm 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...?

  • @uttambasu3845
    @uttambasu3845 2 ปีที่แล้ว

    Good One for basic.

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

  • @sudheerkumar5966
    @sudheerkumar5966 ปีที่แล้ว

    Very good

  • @hawwoth
    @hawwoth ปีที่แล้ว

    Thanks!

  • @hsenaed6894
    @hsenaed6894 2 ปีที่แล้ว

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

  • @refikcancelikgoz7484
    @refikcancelikgoz7484 ปีที่แล้ว

    SEN BİR ADAMSIN

  • @Irshu
    @Irshu 2 ปีที่แล้ว

    thanks bud.

  • @williamjones9706
    @williamjones9706 2 ปีที่แล้ว

    NiceJob!

  • @SurendraSingh
    @SurendraSingh 3 ปีที่แล้ว

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

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

  • @hero21number18
    @hero21number18 2 ปีที่แล้ว

    from canada

  • @karthikrr1545
    @karthikrr1545 10 หลายเดือนก่อน

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

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

  • @prasanthreddy1352
    @prasanthreddy1352 4 หลายเดือนก่อน

    can u do vedio on stm32f103c6t6a can msg transfer and receive

  • @melekkarakaya4700
    @melekkarakaya4700 3 หลายเดือนก่อน

    Did you notice that the caller was Elon Musk :)

  • @smooooth_
    @smooooth_ ปีที่แล้ว +1

    Man I wish I did next level shit on my computer

    • @Needa13b
      @Needa13b 2 หลายเดือนก่อน

      lol, that one got me too

  • @creativetechprashant4579
    @creativetechprashant4579 3 ปีที่แล้ว +1

    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.

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