STM32 Guide #2: Registers + HAL (Blink example)

Поділитися
Вставка
  • Опубліковано 16 чер 2024
  • This was really hard to make.
    I tried my best to take something overwhelming and make it simple, but it STILL took a 30 minute video to do it.
    Before jumping into the blink example, I cover Registers and the HAL (Hardware abstraction library). This should make the configuration program more understandable.

КОМЕНТАРІ • 506

  • @AlixPro
    @AlixPro 3 роки тому +444

    This is honestly the clearest explanation of STM32 microcontrollers I have seen so far. Please keep up this series!

    • @tim8086
      @tim8086 3 роки тому +2

      ++++++++++++++++

    • @user-bf4kb5hm4n
      @user-bf4kb5hm4n 9 місяців тому +2

      Absolutely agree! Nice tutorial.

    • @gokulramakrishnan4079
      @gokulramakrishnan4079 9 місяців тому +1

      ˍYes it is. I came across lot of videos to know about how to use the STM32. This one is the best one among others.

  • @zainulabideen6134
    @zainulabideen6134 3 роки тому +112

    Even though I am not a beginner and I understand everything that you are saying, I must say your way of teaching is nice, the only thing I fear is that you are going to stop making these videos, Please don't do that, some beginner must be dying to get someone like you to make them understand, and I wish your video was there a year ago when I started, Good luck.

  • @guidorodriguez903
    @guidorodriguez903 3 роки тому +171

    Please continue with this wonderful series. Regards from Argentina.

  • @PatrickRankin
    @PatrickRankin 3 роки тому +48

    Less than 2000 subscribers?! Wtf? This channel is so good it's ridiculous! Everything was so thorough.

  • @HTM-BSCEB
    @HTM-BSCEB 2 роки тому +4

    STM is so convoluted for beginners that it took me 3 days to find this video LOL

  • @naidol
    @naidol 3 роки тому

    Well done. Your pace and content has hit the sweetspot compared to all other videos on explaining STM32. I will definately search for more of your videos.

  • @ShizzleMyChizzle
    @ShizzleMyChizzle Рік тому

    Dude your passion for the subject is contagious. Keep it up it's GOLD you are distributing here!

  • @Mr0neShotAway
    @Mr0neShotAway 3 роки тому +2

    Please continue, a proper series like this was missing on UA-cam. You have a great way of explaining and keeping me focused lol

  • @capistor1
    @capistor1 3 роки тому +6

    This is awesome. Truly amazing how you've managed to squeeze in so much information into 30 minutes in an organized manner. Didn't get bored for a single second.. totally worth the 4 days of hard work.

  • @DhruvPatel-jo9tn
    @DhruvPatel-jo9tn 3 роки тому +2

    These videos have helped me greatly in learning about the embedded systems required to build a CubeSat! Please continue to post more for this playlist!

  • @bhaumikshukla4901
    @bhaumikshukla4901 3 роки тому +32

    Bro you're awesome. This channel is exactly what I was looking for.

  • @mikekidd5975
    @mikekidd5975 3 роки тому +1

    These three STM32 guides are among the best presentations I have ever seen. They are clear, concise and informative. Keep up the good work Mitch!

  • @keen2461
    @keen2461 2 роки тому +1

    What an awesome video! The explanation is so clear. I already know most that stuff but you got me totally engaged throughout the video. Excellent job.

  • @janzaibmbaloch5484
    @janzaibmbaloch5484 Рік тому

    Please continue your series of these videos. These fun tutorials have been superhelpful to so many people, we are awaiting more content from you.

  • @ShizzleMyChizzle
    @ShizzleMyChizzle Рік тому

    Yeah I just have to comment again, this is ridiculously well done. Concise, straight to the point, clear, passionate. You got a talent my dude!

  • @kd4pba
    @kd4pba 2 роки тому +1

    This is absolutely the best STM32 video I have seen. Thank you for making such a detailed and informative video.

  • @dchaitanya2032
    @dchaitanya2032 Рік тому +5

    This is insane, its hard to believe something of this quality is out for free. I appreciate the time you have taken to make these videos, it's been very helpful even to someone from a non-electronics background (I'm an ME branching out into controls).

  • @Bill-qo2jb
    @Bill-qo2jb 8 місяців тому

    Great stuff Mitch ! I liked your STM32 series of videos. Your teaching technic is well organized, covers a lot of stuff, and explains every detail in the correct order. It's obvious the great effort you placed in what you do, and thank you for your time preparing these presentations. We'd like more STM32 videos ! Keep up the good work !

  • @ramimehyar481
    @ramimehyar481 2 роки тому

    Thank you UA-cam algorithm for suggesting this channel and series!! This is the best content regarding STM and MCUs in general that i came across so far!! Along with Ben Eater's of course! :D

  • @jenishrudani-projects
    @jenishrudani-projects 3 роки тому +1

    Loved your teaching style. Thanks and merry Christmas to you.

  • @eduhernanzblanco_1588
    @eduhernanzblanco_1588 3 роки тому +1

    Honestly, I do love your videos. Im studying electronics and i find this videos awesome. Keep going with this STM32 series. Regards from Spain

  • @davidbrooks8621
    @davidbrooks8621 2 роки тому

    The video is worth every minute you invested in it. So 4 days is worth a lot. We can learn a lot from you. You are simply contributing to humanity with the help of your wonderful knowledge and ability to abstract so that everyone can understand what you are teaching.

  • @mibo8130
    @mibo8130 3 роки тому +17

    The "Hello world!" sample in the world of microcontrollers. Getting started with a new microcontroller and using a new toolchain usually requires a lot of reading before seeing any success. Great videos like this do not save you from having to deal with the documentation, but to me they are an enormous help.
    Many thanks Mitch - please continue !

  • @valerienihsimsion1870
    @valerienihsimsion1870 3 роки тому +1

    I've been searching for something as good as this for a startup in stm32, thanks men, u'r doing a great job 👍

  • @tharless100
    @tharless100 4 місяці тому

    This video saved me a TON of time. I know this video is a few years old, but it still is one of the best resources out there for learning how to work with these boards. Thank you so much for putting this together.

  • @muthukkumar9259
    @muthukkumar9259 Рік тому +1

    This is the best explanation anyone could give.. U explained almost everything which other UA-camrs tend to skip… Excellent video! Keep up the good work!❤

  • @moinshaikh6684
    @moinshaikh6684 3 роки тому +6

    You're not an embedded UA-camr but a magician, we get all the things very easily you teach via videos....

  • @ADDEYAFFENDYBINHJIDAM
    @ADDEYAFFENDYBINHJIDAM Рік тому

    Thanks for this setup. I'm able to blink the LED now. The clearest tutorial I have seen so far. Great job Sir.

  • @rahuls7039
    @rahuls7039 2 роки тому +1

    Thank You, Mitch. Your MITCHLED example is the best-explained video that clarified any doubts that a beginner like me have had.
    It is bliss to watch your video. That was a really great explanation. I'm grateful to you.

  • @tonyradice4166
    @tonyradice4166 2 роки тому

    Mitch -
    Thank you for making these videos - As a retired hardware engineer I have been playing with the software that in the past I've only been able to watch (and admire) others do. I look forward to looking at more of your instruction - I am especially looking forward to finding out about timers! Thank you again!!

  • @Ngigi
    @Ngigi 3 роки тому +1

    And you did really well because it is very easy to follow.
    I already got my way around the nucleo board, and blinked the LED with the first attempt!
    Seamlessly!

  • @Almotuguita
    @Almotuguita 2 роки тому +1

    Great video man! I'm a total newbie in this kind of stuff and the way you present your videos is superb. Keep it up! I'll look forward to finish the series and your new videos if you upload them :)

  • @jeanlouism3807
    @jeanlouism3807 Рік тому

    I am an absolute beginner.This video is absolutely brilliant. I spent a full week trying many tutorials on UA-cam with the only benefit of being depressed... Until I found your video. The explanations are clear, to the point, you make sure you don't go into unnecessary items to avoid scaring guys. The quality of the video is great, speed is as it should be. And the green led is blinking. I am a definitive fan. Congratulations and many thanks

  • @jonathanhernandez4304
    @jonathanhernandez4304 Рік тому

    I am moving away from Arduino to bigger and better things. I just found your UA-cam channel and I have to say I am glad I did. Your explanations are clear and at the right pace. I love the STM32 IDE workspace and I am well on my way to learning STM32 projects along with FPGA eventually. One learning project at a time for now though. Good channel.. I look forward to getting through the rest of your posted lessons. Thank You.

  • @ananthakrishnans4951
    @ananthakrishnans4951 3 роки тому +1

    i have been working on stm32 for 2 years and still i watched entire video because of your presentation.. awesome ♥️

  • @gytismonstvilas166
    @gytismonstvilas166 Рік тому

    Ive been working with stm32 (mainly nucleo and discovery boards) for 4 yrs now and this is honestly the best video ive seen

  • @mvbelinskiy
    @mvbelinskiy 11 місяців тому

    this is so clear and interesting for absolute newbie in hardware programming. Kudos for all your efforts!

  • @Leo_Aranji
    @Leo_Aranji Рік тому +1

    hands down THE BEST teaching video I have ever seen. I am studying embedded systems and would love to see some complicated projects, like programming a sensor and displaying the data on a LCD screen, or something similar. thank you very much!

  • @Bob-Is-A-PotterNow
    @Bob-Is-A-PotterNow Рік тому +1

    I have spent (wasted) hours trying to sort out how to run blink LED program. In the past with msp430 devices and a short tutorial it was up and running in minutes, not so with the stm devices and the ide. Your walk through answered all the questions for both the nucleo board and the blue pill I've been experimenting with. Possibly the best 30 minute investment I've made in quite some time. Thank you for your work. (Having produced many youtube videos in the past, I fully appreciate the effort and understand how a 30 minute clip can take days to record and edit!!!) Glad to have subscribed!

  • @neuralmodulator
    @neuralmodulator 5 місяців тому +1

    You are a wizard. Normally tutorials sound like nonsense to my brain, but you've got a way with teaching. I can't wait to check out the rest of your videos!

  • @williamjones9706
    @williamjones9706 3 роки тому +7

    Oh Lord - Would have saved this newbie to STM a ton of time. Best explanations - by far. You should be making a fortune working for STM as their spoke person. (If you want to) Seriously! Please keep posting these!

  • @shafiqrahman8702
    @shafiqrahman8702 2 роки тому

    Mitch we want to see more video like this. You have a unique style of teaching. Thanks for such an outstanding video.

  • @kenwallace6493
    @kenwallace6493 2 роки тому +1

    Whoa! Been fighting these ST ARM micros for a while but found this video very clear and, best of all, makes me want to revisit HAL (which I have hated). The scariest part of HAL is finding the function you want and then understanding just what it does. You have to know what to type to get to a reasonable CTRL-SP list. Anyway, I'm all in.

  • @georgepvs
    @georgepvs 2 роки тому

    Mitch thanks for the set-up info on STM32 it was very helpful instead of digging into the ST manuals just to find out how their IDE works. And yes you did do a very good job explaining things.

  • @missamo80
    @missamo80 2 роки тому

    Spectacular video. Yes, it's a 30 minute video to blink an LED, but it's totally worth it for the crystal clear explanation of the STM32Cube magic that gets glossed over by so many other videos.
    Would love to see a video in the future on how to replicate some of the most common Arduino tasks, like serial communication and maybe using external libraries, or a video on the basics of debugging (a huge benefit to STM32 over ATmega).

  • @user-sl3xq8cx5b
    @user-sl3xq8cx5b 3 роки тому +2

    Great videos! moving from arduino to stm32 is quite scary for me, this videos are making it much more clear! thank you

  • @philipbranch668
    @philipbranch668 Рік тому

    This is terrific Mitch. Really makes it easier to understand.

  • @stevelitt
    @stevelitt 2 роки тому

    Mitch you are a legend in the making. Thanks so much for all the work you've put into this and your other videos.

  • @beevees1636
    @beevees1636 3 роки тому +10

    OH MY GOD.
    I'm actually studying stm32 for an exam but my teacher seems to don't know what he's saying and he supposes that everybody has used a micro before, but I haven't! You literally saved me. I started hating stm32 nucleo, arduino and everything connected to this world. Thanks to you I started appreciating it, you make everything so easy. Thank a lot, you deserve tons of views! Wish you the best!

  • @envisionelectronics
    @envisionelectronics 7 місяців тому

    This is literally the BEST explanation. I am always so confused by the different types of controllers and overwhelmed by the amount of jargon they use to describe things. I'm damn good with hardware, but programming software has eluded me for literally decades. I always hire it out LOL.

  • @kB-hg2ci
    @kB-hg2ci 6 місяців тому

    Mitch, you're a life saver. You made my entry into embedded a pleasant experience and motivated to keep going.

  • @zetaconvex1987
    @zetaconvex1987 3 роки тому +15

    Many thanks for that. It helped clarify a lot of things that were confusing me.

  • @mpkdon
    @mpkdon 5 місяців тому

    usually i wont comment on any videos.im searching for good tutorial for past 10 days and gets bored by all tutorials.ur way really fits my style.thanks for sharing knowledge.

  • @luciomath
    @luciomath 3 роки тому

    On Mac, the macro expansion key command is (command with =/+) while a given macro is highlighted. Have been working with stm32 a while, and still enjoyed your explanation a lot. Please keep going with the series, the stm32 community needs this kind of attitude to demystify things for all! Subscribed :)

  • @vishvraval4079
    @vishvraval4079 11 місяців тому

    underrated channel ,the effort to make it this simpler !! hats off!

  • @arsebiscuitsandwine
    @arsebiscuitsandwine 3 роки тому +1

    Incredible work as always. These videos are an incredible resource.

  • @weiye701
    @weiye701 Рік тому

    This is an amazing tutorial. I made my very first blink program working on the stm32 discovery board!! Thank you so much for the video!!

  • @EdwardPie
    @EdwardPie 6 місяців тому +2

    You are a great teacher! I've had my STM32F303 DISCOVERY for a year without being able to program it because I couldn't find the right teacher. Well, today I'm blinking some LEDs. Thank you.

  • @harshdobariya1030
    @harshdobariya1030 9 місяців тому

    What a presentation! Beautifully explained, understood every bit. Thank you very much ser.

  • @abdularisumar5741
    @abdularisumar5741 3 роки тому +1

    Thank you so much for your explanation. I have such experience in Arduino but I am happy that I can go to STM32 by watching your video, and your explanation is awesome for those who have experience in Arduino.

  • @Mertt1990
    @Mertt1990 2 роки тому

    This video and your whole channel is absolute stunning. I wanted thank you for the video and write a comment for support!
    Keep ist up..

  • @csokan.palandras
    @csokan.palandras 3 роки тому +1

    Thanks for this detailed video on using both boards. Awesome and looking forward for the next one in your series.

  • @luisalvaradovalenzuela1374
    @luisalvaradovalenzuela1374 2 роки тому

    Man, I'm so thankful, for this tutorial, with that kind of approach is just amazing Mitch ;) !

  • @LiQuiZeLL
    @LiQuiZeLL 2 роки тому

    Hello Mitch, I am studying Electrical & Information Technology in Germany. Your video is just great and explained in great detail. THANK YOU!

  • @waynedahlberg927
    @waynedahlberg927 3 роки тому +1

    Love this series on STM32. Please keep it going!

  • @Avionics1958
    @Avionics1958 2 роки тому

    That was the best 30 minutes of my life i spent to learn something. Great job👍🙌

  • @gregsuarez5205
    @gregsuarez5205 2 місяці тому

    Wow, you are technical and also such a great communicator. I feel 'enabled' after going through these. Liked and subscribed. Thank you SO MUCH for your time and putting this together. I wish you could know how helpful this has been for me. Thank you

  • @makrinatskipurishvili6025
    @makrinatskipurishvili6025 7 місяців тому

    Your videos are so good. I am a Computer Science graduate and now getting into microcontrollers. I am good at programming but regarding microcontrollers I only have an Arduino experience. So I wanted to learn more in depth but I was so confused and overwhelmed but all the recourses I found. Your videos are so easy to follow and understandable. THANK YOU!

  • @danielmelendrez1616
    @danielmelendrez1616 Рік тому

    Alright, today the algorithm worked in your favour and after watching a couple of minutes, I am in. Subbed and added your guide to my watch list. I have been extremely reluctant to start learning STM development for multiple reasons, the main being that I get so freaking annoyed by the required workflow. It is SO FREAKING convoluted!
    Let's see how it goes
    Thanks

  • @hainesjw
    @hainesjw Рік тому +1

    I am porting labs for a junior level university course to STM32 from another brand that chose to End-of-life their chip and dev board that we'd previously used, and found this recording (after the register review) to be helpful to give students an overview of the cube IDE and HAL configurator and programmer. Thank you!

  • @thorntontarr2894
    @thorntontarr2894 Рік тому

    Just viewed Vids 1&2. You have clearly saved me an EMENSE amount of time. You have clearly & cheerfully explained in "30 minutes plus" how to blink an LED. However, this has been such a "Rosetta stone" video pair into STM complexity. I am heading toward active debugging using ST-Link so I will stay tuned. Cheers.

  • @hobomaster6237
    @hobomaster6237 Рік тому

    best tutorial vids on youtube love it , could watch you explain/teach anything

  • @will6287
    @will6287 Рік тому

    This is the best stm32 intro video series without a doubt!

  • @1southsoon
    @1southsoon 2 роки тому

    I learned more from this one video than the 80 hours of class time I have spent this year. I, like many, am "Monkey Smart". This means that I can learn from doing and seeing and not from reading a book. Thank you.

  • @pszym87
    @pszym87 2 роки тому

    Dude! Thanks a lot. You taught me more than poring over manuals. Great introduction to STM32. Cheers.

  • @ryansand8158
    @ryansand8158 Рік тому

    This is the best sereies of microcontrllers and how they work and great examples. 5 years of engineering school and diy projects and i finally see the overall picture here.

  • @brianxavier8873
    @brianxavier8873 2 роки тому

    this video was such a blessing and is a great help for anyone trying to understand hal and stm 32

  • @birdost12345
    @birdost12345 2 роки тому +1

    Please continued this series. We need this. You’re awesome thanks.

  • @ShridattDudhat
    @ShridattDudhat 2 роки тому

    Clear and Details information about ESP32, Enjoying the Series, Please continue the same 😊

  • @bilinguliar
    @bilinguliar 10 місяців тому

    Last year I watched your excellent bare-metal AVR series and built something with Attiny85.
    Now, because of how Windows-centric dev environment for new AVR chips became (UPDI), I am looking for a switch to ST.
    Thanks again for your videos, you are a great teacher.

  • @danielagustinmorales5696
    @danielagustinmorales5696 2 роки тому

    I can't believe how easy you make it! I was really struggling, thanks man!

  • @pseudounknow5559
    @pseudounknow5559 2 роки тому

    It was the best video about STM32. I dont know what to say i am so impressed and happy i have found your channel

  • @arifanik1209
    @arifanik1209 2 роки тому

    subscribed just after 5 mins watching the video.. you did a great job bro!❤️ looking forward for more contents 😀

  • @sameerk12982
    @sameerk12982 2 роки тому

    Excellent tutorial... Learning Arm or Stm was never so easy before. Thank you Sir.

  • @uzairbukhari99
    @uzairbukhari99 2 роки тому

    Thank you mitch. This video was super helpful to get started with stm32. Looking forward to more videos, definitely enjoyed it

  • @darkeagle999
    @darkeagle999 2 роки тому +2

    Awesome content Mitch! Hope to see upcoming STM32 videos soon!

  • @LucasBiunessa
    @LucasBiunessa 3 місяці тому

    Comparing it to the Arduino I was able to understand twice as much how it works. Thank youu from Brazil !

  • @guruG509
    @guruG509 3 роки тому +1

    Please do continue this series to expert level, don't stop this awesome work

  • @willgordge6003
    @willgordge6003 8 місяців тому +1

    You’re a brilliant teacher. I’m studying electrical engineering, and was always quite frustrated that in our first embedded systems module, we use an STM board, as I thought that they were over-complicated and overkill for the introductory projects we do. On top of that, we have an extremely incompetent lecturer and there seems to be very little content online. Thanks for your effort, having these basics cleared up clarifies the whole process and I feel much more comfortable learning about more complex topics in the curriculum now👍

  • @DownhillAllTheWay
    @DownhillAllTheWay Рік тому

    I bought a Nucleo board about 5 years ago, and spent a couple of months trying to figure it out - and got so discouraged by the complexity of it all that I put it away and never bothered. However, I have just watched your two videos - choosing a board and this one, Blink example, and I have had a resurgence of courage. I'm going to download Cube and give it a go.
    I did a 5 hour course (on UA-cam) on Assembler programming the ATtiny85, so I apprecite the amount of time that goes into it. The two I have watched here are brilliant. I'll be looking for everything you have done.

  • @k.t.d.chathumisamaraweera9477
    @k.t.d.chathumisamaraweera9477 2 роки тому

    Truly your effort is worthy.. instructions are clean and clear. thanks for sharing your knowledge. keep up the good work.

  • @ElectroMathExp
    @ElectroMathExp 3 роки тому

    This was very helpful , i really enjoyed watching this .thank you so much for making this series

  • @AbdullahKhan-gi4co
    @AbdullahKhan-gi4co Рік тому

    I have been working on STM bluepill for last 30 days and still had no clear understanding. This video really helped me. May God lead you to correct path always and forever.

  • @krzysztof2070
    @krzysztof2070 3 роки тому +2

    Keep it up man, really appreciated this 30 mins long video

  • @manuelchoucino110
    @manuelchoucino110 Рік тому

    Thanks a lot. You answered at so many question I had. You are extremely good at explaining.

  • @RobertJohnson-zs4om
    @RobertJohnson-zs4om 3 роки тому +1

    Mitch I have designed hardware all my life and not ever really programming any thing after watching the other videos and getting some info and able todo it this was a big help. I did use the Arduino ide for a few things and had fun and learned this really got it so i am ready to try

    • @GoluKumar-tf7fd
      @GoluKumar-tf7fd 3 роки тому

      Hello Robert, I am beginner in hardware. Pls do help me in getting things done. Pls Show me a roadmap to career in hardware design engineering.

  • @dieselgeek
    @dieselgeek Рік тому +1

    This is by far the best "get me up to speed on stm32 and I know a little about Arduino" across the entiretyl of UA-cam. Thank you Mitch

    • @dieselgeek
      @dieselgeek Рік тому

      Unfortunately, none of my Blue Pills (which have the correct resistor, etc. but are obviously clones) will flash. The sad part is, I can write an arduino program to make them blink and it works, downloading via STLink. still working at it :)

    • @dieselgeek
      @dieselgeek Рік тому

      figured it out, user error as always

  • @T0R0RIKI
    @T0R0RIKI 3 роки тому

    your efforts are MUCH APPRECIATED!
    hope u keep those tutorials going on !

  • @azhanisyahputra9867
    @azhanisyahputra9867 Рік тому

    This is the most clear explanation of stm32. Thx u so much mate... U help me as a student 🙌

  • @peterlaidlaw8655
    @peterlaidlaw8655 2 роки тому

    I'll add to your list of satisfied users. Very well done, clear, good and useful and got me going right away. STM owes you big!