Тёмный

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

Mitch Davis
Подписаться 40 тыс.
Просмотров 199 тыс.
50% 1

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

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 525   
@AlixPro
@AlixPro 3 года назад
This is honestly the clearest explanation of STM32 microcontrollers I have seen so far. Please keep up this series!
@tim8086
@tim8086 3 года назад
++++++++++++++++
@mithgil-cool
@mithgil-cool Год назад
Absolutely agree! Nice tutorial.
@gokulramakrishnan4079
@gokulramakrishnan4079 Год назад
ˍ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.
@guidorodriguez903
@guidorodriguez903 3 года назад
Please continue with this wonderful series. Regards from Argentina.
@kionmahuermicio9860
@kionmahuermicio9860 3 года назад
¿Qué decís, sos Argentino?
@arvindh4327
@arvindh4327 2 года назад
Regards from India too
@gauravbhattarai1521
@gauravbhattarai1521 Год назад
Vamos Argentina!! Who is the GOAT? Regards from Nepal..
@vanshmantri2126
@vanshmantri2126 Год назад
@@gauravbhattarai1521 MESSIIIIIIIII
@mortenlund1418
@mortenlund1418 Год назад
Ditto from Denmark@@vanshmantri2126
@PatrickRankin
@PatrickRankin 3 года назад
Less than 2000 subscribers?! Wtf? This channel is so good it's ridiculous! Everything was so thorough.
@EdwardPie
@EdwardPie 10 месяцев назад
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.
@zainulabideen6134
@zainulabideen6134 3 года назад
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.
@bhaumikshukla4901
@bhaumikshukla4901 3 года назад
Bro you're awesome. This channel is exactly what I was looking for.
@mibo8130
@mibo8130 3 года назад
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 !
@carlgradolph9676
@carlgradolph9676 8 дней назад
I've had a small STM32 development board sitting around for quite awhile now. The first time I opened up the package, my brain went into "stall" mode and I tossed the damned thing aside in horror.... Thanks to this video, I finally feel ready to pick it up and use it. I don't want to hate on Arduino, Raspberry Pi, MicroPython, etc., so I'll just observe that I'm a grown man of reasonable intelligence who is quite willing to trade "cutesy time" for actual learning about embedded systems programming. Great work, Mitch: Please don't stop making videos!
@williamjones9706
@williamjones9706 3 года назад
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!
@beevees1636
@beevees1636 3 года назад
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!
@moinshaikh6684
@moinshaikh6684 3 года назад
You're not an embedded RU-vidr but a magician, we get all the things very easily you teach via videos....
@sanjune1370
@sanjune1370 3 месяца назад
Here as a noob in 2024. Thanks so much for this series, it's making my project seem possible!!
@hainesjw
@hainesjw Год назад
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!
@dchaitanya2032
@dchaitanya2032 Год назад
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).
@zetaconvex1987
@zetaconvex1987 3 года назад
Many thanks for that. It helped clarify a lot of things that were confusing me.
@Leo_Aranji
@Leo_Aranji 2 года назад
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!
@rahuls7039
@rahuls7039 2 года назад
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.
@MihaiDesigns
@MihaiDesigns 2 года назад
Awesome job, Mitch. Thank you!
@HTM-BSCEB
@HTM-BSCEB 2 года назад
STM is so convoluted for beginners that it took me 3 days to find this video LOL
@willgordge6003
@willgordge6003 Год назад
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👍
@gregsuarez5205
@gregsuarez5205 5 месяцев назад
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
@Bob-Is-A-PotterNow
@Bob-Is-A-PotterNow Год назад
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!
@TheModularChannel
@TheModularChannel 9 месяцев назад
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!
@capistor1
@capistor1 3 года назад
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.
@kd4pba
@kd4pba 2 года назад
This is absolutely the best STM32 video I have seen. Thank you for making such a detailed and informative video.
@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.
@envisionelectronics
@envisionelectronics 10 месяцев назад
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.
@ananthakrishnans4951
@ananthakrishnans4951 3 года назад
i have been working on stm32 for 2 years and still i watched entire video because of your presentation.. awesome ♥️
@LucasBiunessa
@LucasBiunessa 6 месяцев назад
Comparing it to the Arduino I was able to understand twice as much how it works. Thank youu from Brazil !
@DhruvPatel-jo9tn
@DhruvPatel-jo9tn 3 года назад
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!
@muthukkumar9259
@muthukkumar9259 Год назад
This is the best explanation anyone could give.. U explained almost everything which other RU-vidrs tend to skip… Excellent video! Keep up the good work!❤
@mpkdon
@mpkdon 9 месяцев назад
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.
@kenwallace6493
@kenwallace6493 3 года назад
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.
@tharless100
@tharless100 7 месяцев назад
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.
@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
@mikekidd5975
@mikekidd5975 3 года назад
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!
@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
@יובלאיטקין
@יובלאיטקין 3 года назад
Great videos! moving from arduino to stm32 is quite scary for me, this videos are making it much more clear! thank you
@Mr0neShotAway
@Mr0neShotAway 3 года назад
Please continue, a proper series like this was missing on RU-vid. You have a great way of explaining and keeping me focused lol
@makrinatskipurishvili6025
@makrinatskipurishvili6025 10 месяцев назад
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!
@geoffdraper138
@geoffdraper138 2 года назад
Mitch, You have explained so much that the ST doco does not. Thank you!
@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.
@ramimehyar481
@ramimehyar481 2 года назад
Thank you RU-vid 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
@thorntontarr2894
@thorntontarr2894 2 года назад
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.
@bilinguliar
@bilinguliar Год назад
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.
@Adeltraut
@Adeltraut Год назад
Where has this channel been when I started working with microcontrollers. After googling through 1 Million RTFM posts, finally something relatable.
@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!!
@gino.avanzini
@gino.avanzini 3 года назад
Before doing any programming on a project using a bluepill I recommend setting the debugger, it makes everything easier. Inside Pinout & Configuration, go to System Core -> SYS -> Debug -> Serial Wire (if you are using an st-link, whether original or chinese copy). You should also configure the crystals under RCC->HSE = Crystal/Ceramic resonator and RCC->LSE = Crystal/Ceramic resonator. Another important thing is that sometimes the diagram on the case of the chinese stlinks are wrong. To make sure, you can open the stlink, pulling the case towards the usb. The silkscreen will tell you the correct pins Great video!
@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.
@keen2461
@keen2461 2 года назад
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.
@regal_7877
@regal_7877 3 года назад
This is such an amazing video I can't even begin to describe. All the other "How to program stm32 bluepill" only ever shows how to use the damn arduino platform. There's barely any information on truly getting started with and ARM chip like STM like you did. Going through the difference between ARM and AVR, platforms, IDE's, Compilers, CubeMX, CubeIDE, CubeProgrammer, HAL, UsinG STLink V2 to program. Just amazing. Please continue the series. Please Please
@regal_7877
@regal_7877 3 года назад
@@MitchDavis2 "The native way". Those were the words I was looking for. Anyway, subscribed to stay updated on the following videos.
@proffirmanable
@proffirmanable 3 года назад
Damn this video is so good that time flies by
@jeanlouism3807
@jeanlouism3807 2 года назад
I am an absolute beginner.This video is absolutely brilliant. I spent a full week trying many tutorials on RU-vid 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
@Bill-qo2jb
@Bill-qo2jb 11 месяцев назад
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 !
@abdularisumar5741
@abdularisumar5741 3 года назад
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.
@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!!
@hobomaster6237
@hobomaster6237 Год назад
best tutorial vids on youtube love it , could watch you explain/teach anything
@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.
@jonathanhernandez4304
@jonathanhernandez4304 2 года назад
I am moving away from Arduino to bigger and better things. I just found your RU-vid 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.
@RobertSmith-wj7zf
@RobertSmith-wj7zf 6 месяцев назад
Mitch, I love your style! Please, please, please more STM32. Specifically, STM32H747 M7 and M4 cross core operations like shared memory, RPC's, cross core interrupts, etc. These are the best STM32 videos I have found. Thank you!
@1southsoon
@1southsoon 3 года назад
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.
@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.
@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!
@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!
@valerienihsimsion1870
@valerienihsimsion1870 3 года назад
I've been searching for something as good as this for a startup in stm32, thanks men, u'r doing a great job 👍
@gonesurfingNC
@gonesurfingNC 2 года назад
This is better than any paid course I've found so-far.
@MitchStahara
@MitchStahara 2 месяца назад
fantastic series so far, really appreciate the hard work you put into this!!! Thank you!
@birdost12345
@birdost12345 2 года назад
Please continued this series. We need this. You’re awesome thanks.
@norm1124
@norm1124 3 года назад
Same Nucleo 446re board here since 3 or 4 year - Finally a good reason to start with it ;-)
@LITHIUMINWATER
@LITHIUMINWATER 3 года назад
As clear and concise as it can possibly get. This is awesome. thanks!
@RobertJohnson-zs4om
@RobertJohnson-zs4om 3 года назад
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.
@luisalvaradovalenzuela1374
@luisalvaradovalenzuela1374 2 года назад
Man, I'm so thankful, for this tutorial, with that kind of approach is just amazing Mitch ;) !
@ShizzleMyChizzle
@ShizzleMyChizzle Год назад
Dude your passion for the subject is contagious. Keep it up it's GOLD you are distributing here!
@ahmadhasan3258
@ahmadhasan3258 Год назад
Finally! I was seriously considering downgrading to rpi pico for my project. You have cleared all the doubts I've had! I cannot thank you enough!
@MitchDavis2
@MitchDavis2 Год назад
With that said, the Pi Pico is awesome too. I use picos for all sorts of projects. I try not to say that there’s 1 magic platform for every problem. Everything depends on your project. In my opinion, STM32 is better for a large scale project and pico is best for prototyping or making quick hacks
@ahmadhasan3258
@ahmadhasan3258 Год назад
@@MitchDavis2 yup yup. for my application, a light disk encoder with ADC, it would work decently but I need the high rate (2MSPS+) of the ADC that the stm32 offers for dirt cheap. Pico manages about 500ksps. I think I'll try pico the moment I get stuck again in this project 🤣
@Al-dp1pe
@Al-dp1pe Год назад
You have enhanced my understanding of the STM 32 more than any other tutorials . Other tutorial do the CAN which I'm still struggling to follow and duplicate - my comments/inquiries go unanswered. Can you do one on the STM32 CAN with at least one Master and several slaves with STM32F103C8, F750,F446RE. And thanks for the "under the hood " explanation on the STM32 cube IDE , the registers, PWM, etc Wiil continue with this series -a lot of great information
@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 :)
@fernandoi8958
@fernandoi8958 7 месяцев назад
I already knew everything in the video, but I had to watch it just because you explain it so perfectly I had to go through it all hahah
@kB-hg2ci
@kB-hg2ci 9 месяцев назад
Mitch, you're a life saver. You made my entry into embedded a pleasant experience and motivated to keep going.
@eduhernanzblanco_1588
@eduhernanzblanco_1588 3 года назад
Honestly, I do love your videos. Im studying electronics and i find this videos awesome. Keep going with this STM32 series. Regards from Spain
@nathanquattrochi1299
@nathanquattrochi1299 3 года назад
I will watch this series for as long as you continue it. This is some of the best content I've seen on youtube (and I'm gen z so I've seen my fair share lol)
@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.
@hornox4life
@hornox4life Год назад
made some leds blinks on an arduino 15 years ago and this is perfectly clear from a-z!👌
@shafiqrahman8702
@shafiqrahman8702 3 года назад
Mitch we want to see more video like this. You have a unique style of teaching. Thanks for such an outstanding video.
@10xDevLog
@10xDevLog Месяц назад
Thank you so much! I had spent atleast one day trying to figure this out and managed to do it somehow. But this video has helped me understand it a lot better! Wish I had found it sooner
@mohammadtila7746
@mohammadtila7746 Год назад
Bro i am at my internship right now and the whole day i was stressing out on this STM32 project i have you dont even know how much you have helped me. I love you (no homo)
@ForTheManDIY
@ForTheManDIY 2 года назад
Very good so far. I moved from PIC controllers to learn the STM32. My focus is on CAN development. Thanks for the goood video.
@guruG509
@guruG509 3 года назад
Please do continue this series to expert level, don't stop this awesome work
@missamo80
@missamo80 3 года назад
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).
@mustafaissa98
@mustafaissa98 2 года назад
you literally made it easier for me to understand how to use HAL with STM32cube, I wish someday you will create a Udemy course and i will be your student from day one
@will6287
@will6287 Год назад
This is the best stm32 intro video series without a doubt!
@sayyedabbas5041
@sayyedabbas5041 3 года назад
you make very detail and clearest tutorial on youtube. Thank you
@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.
@waynedahlberg927
@waynedahlberg927 3 года назад
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👍🙌
@Almotuguita
@Almotuguita 3 года назад
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 :)
@krzysztof2070
@krzysztof2070 3 года назад
Keep it up man, really appreciated this 30 mins long video
@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.
@jasongoertzen
@jasongoertzen Год назад
This video has given me the courage to move on from arduino! Thanks a ton!
@sameerk12982
@sameerk12982 3 года назад
Excellent tutorial... Learning Arm or Stm was never so easy before. Thank you Sir.
@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..
Далее
STM32 Guide #3: PWM + Timers
20:24
Просмотров 143 тыс.
STM32 Guide #1: Your first STM32 dev board
12:12
Просмотров 212 тыс.
Bare-Metal MCU #1 - Intro to registers
13:10
Просмотров 74 тыс.
STM32 Guide #4: Generated Code, HAL, and Bare Metal
26:20
STM32 Blue Pill vs Black Pill Microcontroller Boards
18:31
Hello World Blinky! Bare Metal Programming Series 1
38:34