I appreciate this video so much, I felt so confused trying to figure out where to start and what was needed to learning embedded systems. You made it so much more digestible for a beginner. Looking forward to the other videos, thanks!
Sometimes you really get lucky and find exactly what you're looking for, this was so perfect. I'm interested in STM32 and I didn't really know where to start, now I know. Thanks. :) Regards New subscriber
Apart from the fact that I am going back in time about 30 years, at the beginning of my professional career and then I followed other paths according to local job opportunities and I moved away from Hardware. Now Taking advantage of the fact that I am already beginning my retirement and resuming as a hobby the MCUs and perhaps some freelance jobs. Thank you very much, a great presentation regarding the ARM/STM32 MCUs, it clarified everything regarding this line of MCUs and it helped me a lot to decide to buy the development board and an associated book. And I look forward to seeing the rest of your videos. Very outstanding presentation. ;-)
Thanks for such an outstanding video tutorial series Mitch! Like everyone else, I am looking forward to your next videos, as your schedule permits. Keep up the great work!
Professor, what do you think of the idea of connecting the dies of the STM32 to its support chips directly like the Duo technology? Why the excess packaging and PCB? Missing packaging, missing price tag.
OK, agreed, the price is already comfortably low, but what if we were talking merging a CPU, GPU and an AI processor into one packaging like a multi-core with multi-use dies?
Don't you think industry inaction to consolidate the function of the motherboard into a multi-core like architecture with multi-dies leaves the industry vulnerable to the Profesor Pug's sneak attack?
If there is one lesson I learned from inventing the Duo technology is that the industry can only tolerate one step at a time. I was conceptualizing computers based on these technologies back in 1992. However, the future I had to sell had to wait until today. The financial widow is open and if you take advantage of it. You will take the industry with you. Why do I not do this on my own? Everybody thinks I'm a con-artist because they don't know what I'm talking about and because I am a black man it is just easier to believe the lie that I'm a con-artist.
The ST-Link is for programming and debugging. If you snap the ST-Link off of your Nucleo board, the main board will probably not work because the ST-Link and the processor share an oscillator. Please note the missing oscillator on the Nucleo board which you will probably have to populate if you separate the two boards. BTW, I recommend the Black Pill based off of the STM32F411.
Great video that came at the right time for me! I previously worked on Microchip PIC32 controllers, but not really sure if there will be further developments based on this architecture - so time to look for alternatives. STM offers free all-in-one software suite including compiler, configurator, HAL and programming tools - similar to MPLabX for PIC32. I selected STM32 F103 (BluePill), F411 (BlackPill) and STLinkV2 to get started before I found this video. The information here is well chosen and presented in a compact manner. Looking forward to more videos ...
Ew. I'll take the Black pill because it is more forward seeing as the Floyd monopolized the pharmaceuticals over these colors too. So, I'm not so easy to fool. th-cam.com/video/nDbeqj-1XOo/w-d-xo.html
Great Video! We can immediately see that you have the ability to teach, you have great knowledge and high intelligence. You are the optimal person to give lectures on the TH-cam channel
Great video! Thank you for this! Just what I was looking for. A simple explanation of the difference between the various types of STM boards. (Eval, discovery etc.) I just got an STM32f411 discovery today.
Thumbs up. Wish this video was found and I might have gotten a stm32, already got the stlink but when researching models it was overwhelming so I put stm32 aside and ended up getting espressif's Esp32 board. Everything comes onboard two high speed 240MHz cores and a ultra low power core, wifi and Bluetooth and all the peripherals. The only real choice was model ending in D for pcb antenna built in or U ending to have the ability to plug in an external antenna. Price was right at about $5 to $6 for a ESP32-WROOM-32D DevKitC board and Amazon has three packs for $16-$18 so I don't worry about blowing anything up. I'll finish the stm32 series and see if I understand them better to finally get one with no more analysis paralysis. If anyone hasn't tried Esp32 those are just fantastic for all sorts of projects and the built in 4MB flash and half megabyte of ram let's big programs run. Free-RTOS runs everything. STM gets you ARM cores which I don't have yet, various Esp32s get you Tensilica Xtensa and RISC-V cores if anyone wants to try those.
This is a great video and really help me to know about stm. I picked stm32f446re to make my last project on campus and yeah I'm on the way to overwhelming with this thing already
I've mostly been using the Nucleo-64 boards because they are relatively inexpensive, include the STLink, and have Arduino Uno compatible headers. There are a couple of "black pill" boards that are similar in size and price to the "blue pill." They feature F4 processors (faster, more peripherals), and buttons instead of jumpers for programming. Another possibility is Adafruit's feather STM32F405 express. It's fast, has lots of flash and RAM, small, is compatible with the "feather wing" series of add-on boards, includes a LiPo battery connector and charger, a Neopixel LED, and a Qwiic connector for plug-and-play I2C. It also runs CircuitPython (the "express" in the name), with an external flash module that can be used as a disk. The F3 series has extra support for analog (OpAmps, comparators, fast ADCs). The L series is capable of low power, but still reasonably fast, and has analog support similar to the F3's. The G4 series is the faster replacement for the F3 series.
The Discovery boards with LCD, SPI flash, SDRAMs, audio, etc will get you occupied for months. And if you're done learning these built-in peripherals, you can slap in some Arduino compatible boards for more peripherals.
FYI, all the "bare" STM32 chips come with the bootloader pre-programmed. So you can program your boards with serial and for some models with USB. It's a DFU bootloader. The F103 doesn't have a USB compatible bootloader out of the box, but they are some around.
The blue pill is the way to go, the processor on it, is the one used in the st-link stm32f103c8t6 so this is most used processor because it's on all the develop boards
If you asked what not to but nowadays, the blue pill probably would hit top of the list. It's no longer that cheap, and most importantly, you never know if you just ordered a Chinese knockoff which might give you trouble with usb, etc. Get stm32f4, like stm32f411ce*, it's similarly priced at the moment (still a bit more expensive, though) and not nearly as much of a target for Chinese cloners. It's also faster and has more memory. Those from adafruit have a space to solder 2mb worth of memory chip costing a bit over a buck. Just keep in mind that even though it looks almost the same as a blue pill, it's not a perfect drop in replacement. Or get one of nucleo boards for added goodies and quite an amount of gpio pins available in nucleo-144 series.
He has the 'right' Nucleo boards, anyway. I have a (QFP32) STM32g070kX [~$2.25*] sitting in a bag in another bag in a box some metres away, because I wanted to be 'bare metal', possibly - but I've yet to buy a single Nucleo, or solder a QFP32 anything (0.8 mm pitch - so not exactly super-human). About the other one, it seems to be a 'pedagogical' favourite, so why not? * - funny how I'll translate the currency but not the rest, haha: but it was exported from USA, in my case.
I have 2 boards, a nucleo f411 because I used them in my engineering school and I wanted the same one, the other one I have is a custom arduino style board we made in school based on a L476 chip
[I built this hill, it's mine....] I will throw Pink Floyd back at you! You are the 'Sheep,' and I have to tinker with your awareness---just flowing it.
The Bluepill is known to be broken by design because it has no Schottky diode at the USB power, which makes it dangerous for an attached computer if it is powered by another power supply at the same time. Also it has a wrong USB pull-up resistor, but this still works most of the time.
I have been looking for something a bit more powerful than the Arduino μC, they are a bit limited. Specifically for my current project I want to do 16 bit analog sampling to measure pressure. OK you can use an I²C shield with the Arduino that has 16bit ADC on board, but I’m hoping as I watch the SMT32 videos I’ll be able to do it on chip. 👍
I am having a weird problem for my new board. The boot loader only handshake correctly with my computer if I touch around the VBAT pin. And the handshake will always fail if I enter the bootloader while it is sitting on my desk.
Hi Mitch. I have the STM32F446RE Nucleo-64 I purchased from Amazon in Canada for about 55$! Why such a difference in price? I don't know. I have not used it yet. I don't understand how to use it exactly. It supports Arduino UNO, but why would I need the UNO when I have the STM32 board? As for the IDE, I can use the Arduino IDE or I can use the STM32Cube MCU. Others mention the STM32Cube IDE. What, if any, are the advantages of using either the Arduino IDE, STM32CubeMCU or STM32CubeIDE? This is not clear at all. I understand your initial confusion. I'm there now.
Hey Henri, the price difference is probably due to the microcontroller shortage. For a while, you couldn't get a Nucleo446RE at all. Now they're available in small quantities, but pretty expensive. Hopefully they return down to their normal price in the next 6-months to a year. My second video should clear up some of the questions about which IDE to use. I went with STM32 Cube IDE because I wanted to learn how to write code outside of the Arduino Ecosystem. At the end of the day, no matter what IDE/Framework you choose, you're compiling into machine code that is specific for THAT chip. A bunch of frameworks have tried different approaches to come up with the best way to program a microcontroller. All of them have advantages and disadvantages, ranging from speed/size of the code, to how easy it is to program.
Could you talk more about your project involving CAN-FD? I've used CAN in the past with a bluepill, but I've had no need for CAN-FD. Greetings, great video!
I'm looking for starter tutorials on STM32 and now I found it. Please continue this series.
Digikey has some good videos. Not that you can buy any from them haha
I appreciate this video so much, I felt so confused trying to figure out where to start and what was needed to learning embedded systems. You made it so much more digestible for a beginner. Looking forward to the other videos, thanks!
Sometimes you really get lucky and find exactly what you're looking for, this was so perfect.
I'm interested in STM32 and I didn't really know where to start, now I know.
Thanks. :)
Regards
New subscriber
I was using STM32F4 at work a long time ago. Now I forgot most of my knowledge so I'm very happy to learn it again from your tutorials.
One of the best tutorials channels! i wish there were more videos like that.
thank you for the quality content mitch!
Apart from the fact that I am going back in time about 30 years, at the beginning of my professional career and then I followed other paths according to local job opportunities and I moved away from Hardware.
Now Taking advantage of the fact that I am already beginning my retirement and resuming as a hobby the MCUs and perhaps some freelance jobs.
Thank you very much, a great presentation regarding the ARM/STM32 MCUs, it clarified everything regarding this line of MCUs and it helped me a lot to decide to buy the development board and an associated book. And I look forward to seeing the rest of your videos. Very outstanding presentation. ;-)
This was an absolute god mode amazing tutorial and guide video on this complex STM32 topic. Huge thanks man. Never gunna forget.
Thanks for such an outstanding video tutorial series Mitch! Like everyone else, I am looking forward to your next videos, as your schedule permits. Keep up the great work!
Top tier guide! Going with the blue pill because of its form factor and popularity, will be integrating it into a project.
Insanely well made tutorial. Your channel deserves several times more subscribers.
I wish this video had existed before I bought my first STM32!! Enjoying this channel
Absolutely gorgeous job, @Mitch Davis. You are carrying the word to those of us who are dabbling into the magic of STM32 MCU’s. Thank you!
Professor, what do you think of the idea of connecting the dies of the STM32 to its support chips directly like the Duo technology? Why the excess packaging and PCB? Missing packaging, missing price tag.
OK, agreed, the price is already comfortably low, but what if we were talking merging a CPU, GPU and an AI processor into one packaging like a multi-core with multi-use dies?
Don't you think industry inaction to consolidate the function of the motherboard into a multi-core like architecture with multi-dies leaves the industry vulnerable to the Profesor Pug's sneak attack?
If there is one lesson I learned from inventing the Duo technology is that the industry can only tolerate one step at a time. I was conceptualizing computers based on these technologies back in 1992. However, the future I had to sell had to wait until today. The financial widow is open and if you take advantage of it. You will take the industry with you. Why do I not do this on my own? Everybody thinks I'm a con-artist because they don't know what I'm talking about and because I am a black man it is just easier to believe the lie that I'm a con-artist.
You can bring me along if you like.
The ST-Link is for programming and debugging. If you snap the ST-Link off of your Nucleo board, the main board will probably not work because the ST-Link and the processor share an oscillator. Please note the missing oscillator on the Nucleo board which you will probably have to populate if you separate the two boards. BTW, I recommend the Black Pill based off of the STM32F411.
so it wouldnt default to to the internal oscillator?
I just bought a few black pill boards to play around with. Looking forward to messing around with them.
Does the black pill still require the st-link ?
Great video that came at the right time for me!
I previously worked on Microchip PIC32 controllers, but not really sure if there will be further developments based on this architecture - so time to look for alternatives.
STM offers free all-in-one software suite including compiler, configurator, HAL and programming tools - similar to MPLabX for PIC32.
I selected STM32 F103 (BluePill), F411 (BlackPill) and STLinkV2 to get started before I found this video.
The information here is well chosen and presented in a compact manner. Looking forward to more videos ...
HOLY KOWABUNGA! You are Internet Scientist Number One! That means that you get to choose your captain. I'll back you.
Ew. I'll take the Black pill because it is more forward seeing as the Floyd monopolized the pharmaceuticals over these colors too. So, I'm not so easy to fool.
th-cam.com/video/nDbeqj-1XOo/w-d-xo.html
I'm the Thermal Specialist, by-the-way.
You design a thermal load, and I will design a solution, air, forced air or liquid---up to superconducting.
Hey, mi, have you heard of the Sillycon Valley prophecy?
I just bought an STM32 and I see this video in my feed. Awesome 😍
Best video I've ever seen for starters! congratulations
Great Video! We can immediately see that you have the ability to teach, you have great knowledge and high intelligence. You are the optimal person to give lectures on the TH-cam channel
Hey Mitchel, glad to see you started a STM32 series. You sure will make a great guide.
Waiting for the next video!
Thanks.
One of the best video i have ever seen. Thank you so much.
Very helpful information and nicely summarized, well done
Great video. Just purchased a F103RB. This is just for learning, and some testing. Thanks again Richard Brown
that was an amazing intro to STM32. Thank you very much.
Excellent Video for Beginners of STM32
Great video! Thank you for this! Just what I was looking for. A simple explanation of the difference between the various types of STM boards. (Eval, discovery etc.) I just got an STM32f411 discovery today.
Straight to the point. Loved the explanation
Thanks for this video series. Thanks to you I learned stm32 a bit
Thumbs up. Wish this video was found and I might have gotten a stm32, already got the stlink but when researching models it was overwhelming so I put stm32 aside and ended up getting espressif's Esp32 board. Everything comes onboard two high speed 240MHz cores and a ultra low power core, wifi and Bluetooth and all the peripherals. The only real choice was model ending in D for pcb antenna built in or U ending to have the ability to plug in an external antenna. Price was right at about $5 to $6 for a ESP32-WROOM-32D DevKitC board and Amazon has three packs for $16-$18 so I don't worry about blowing anything up. I'll finish the stm32 series and see if I understand them better to finally get one with no more analysis paralysis. If anyone hasn't tried Esp32 those are just fantastic for all sorts of projects and the built in 4MB flash and half megabyte of ram let's big programs run. Free-RTOS runs everything. STM gets you ARM cores which I don't have yet, various Esp32s get you Tensilica Xtensa and RISC-V cores if anyone wants to try those.
Thx for the tutorial! Starting to discover the F407VET6 Board which i bought 5 years ago.
Thank you for great work sir. You are helping world become a better place. Bless.
This video really make things clear to me.
Thanks Mitchel, just what I needed to make the transition from Arduino to a stm32 dev board. Great job. 👏
Thank you for this great introduction video on stm32 mcu.
I enjoyed your Video!
It is really helpful to start with STM32.
thanks form Japan.
Great video! Id been struggling to find an entry point to STM32 dev, this has really helped
Very well and smoothly explained, thanks a lot
This is a great video and really help me to know about stm. I picked stm32f446re to make my last project on campus and yeah I'm on the way to overwhelming with this thing already
I've mostly been using the Nucleo-64 boards because they are relatively inexpensive, include the STLink, and have Arduino Uno compatible headers.
There are a couple of "black pill" boards that are similar in size and price to the "blue pill." They feature F4 processors (faster, more peripherals), and buttons instead of jumpers for programming.
Another possibility is Adafruit's feather STM32F405 express. It's fast, has lots of flash and RAM, small, is compatible with the "feather wing" series of add-on boards, includes a LiPo battery connector and charger, a Neopixel LED, and a Qwiic connector for plug-and-play I2C. It also runs CircuitPython (the "express" in the name), with an external flash module that can be used as a disk.
The F3 series has extra support for analog (OpAmps, comparators, fast ADCs). The L series is capable of low power, but still reasonably fast, and has analog support similar to the F3's. The G4 series is the faster replacement for the F3 series.
Excellent explanation and video, many THANKS. Hope you make more video about STM32 projects with Arduino IDE.
I also saw your video's on arduino , attiny & bootloaders , great stuff , thanks for sharing , keep up the good work , subbed
Thank you. Best explanation ever.
This is a great video. Thanks for saving me a lot of time.
You seem to be organizing really well.
The Discovery boards with LCD, SPI flash, SDRAMs, audio, etc will get you occupied for months. And if you're done learning these built-in peripherals, you can slap in some Arduino compatible boards for more peripherals.
FYI, all the "bare" STM32 chips come with the bootloader pre-programmed. So you can program your boards with serial and for some models with USB. It's a DFU bootloader. The F103 doesn't have a USB compatible bootloader out of the box, but they are some around.
Huge thank you for creating these videos. I’m a longtime Arduino user and thinking of creating a project using the stm32.
Great video. Will love to see more.
Great... comprehensive work
Thanks. I was really struggling to find out a video like this.
you're
a great teacher, best videos
Very well made. Thank You
The blue pill is the way to go, the processor on it, is the one used in the st-link stm32f103c8t6 so this is most used processor because it's on all the develop boards
Really great intro, thanks for the video
If you asked what not to but nowadays, the blue pill probably would hit top of the list. It's no longer that cheap, and most importantly, you never know if you just ordered a Chinese knockoff which might give you trouble with usb, etc.
Get stm32f4, like stm32f411ce*, it's similarly priced at the moment (still a bit more expensive, though) and not nearly as much of a target for Chinese cloners. It's also faster and has more memory.
Those from adafruit have a space to solder 2mb worth of memory chip costing a bit over a buck.
Just keep in mind that even though it looks almost the same as a blue pill, it's not a perfect drop in replacement.
Or get one of nucleo boards for added goodies and quite an amount of gpio pins available in nucleo-144 series.
Thank you!!! You saved tons of time!
I personally have a Nucleo- F401RE. I chose this as it is inexpensive and there is Matlab/Simulink support package for hardware driver blocks.
I'm new to embedded, thanx for ur suggestion, I'll go with that
Great Video! Thanks for the detailed info.
Awesome video! very informative.
I started my journey with a nucleo144 stm32f439, the thing is a beast, I'll probably never use all its features
Such a nice video! Thank you!
Excellent explanation. Thanks!!
This was so helpful. Thanks man.
Good work buddy !!!!
Thank you for making this fun to watch and so organised and clear 🥹🥹🥹🥹
Great tutorial. Thanks 👍🏼
You, my man, are the real fucking deal. Thanks a lot.
He has the 'right' Nucleo boards, anyway.
I have a (QFP32) STM32g070kX [~$2.25*] sitting in a bag in another bag in a box some metres away, because I wanted to be 'bare metal', possibly - but I've yet to buy a single Nucleo, or solder a QFP32 anything (0.8 mm pitch - so not exactly super-human). About the other one, it seems to be a 'pedagogical' favourite, so why not?
* - funny how I'll translate the currency but not the rest, haha: but it was exported from USA, in my case.
Really good video, man. Just what I was looking for. You earned a well-deserved subscription from me, man.
Excellent video!!
I got the blue pill, because it was available, and a nucleo F3... however thats on back order lol! Can't wait for the blue pill to arrive next week!
Interesting video. I look forward to your series of videos. I personally have a couple of blue pills, so they're the ones that interest me most.
Thought I would find water, found a whole diamond factory
thanks for the guiide, i will be looking for the next videoss
I was filming video #4 this evening, but it looks like it’s going to take a few more days to complete. Glad you like it!
😅very helpful to this beginner, Thank you
thanks for the review, stm32 are to many variant. your review help me a lot
I love your videos.
Hi!
Whats the right board for me if I dont want to use Arduino whatsoever?
You are awesome bro 🙌 I was confused with what to buy 😕
I started out with the blue-pill on the arduino IDE, but I've got the STM32L432KC, as the MCU from my school to pratice with
Thanks for the series brother. If chance kindly upload for Texas instruments development board ❤
I have 2 boards, a nucleo f411 because I used them in my engineering school and I wanted the same one, the other one I have is a custom arduino style board we made in school based on a L476 chip
Thank you for this beautiful video. It would be great if you could make some videos on Custom Bootloader for STM32.
Great Video
Great work man, appreciate it.❤+1
Great introduction!
Now follow the line, keep calm, and obey.
Or you will become a research subject.
Welcome to America where one name has two Special Forces ball teams---the Giants.
You don't have to be a Giant to be a Yankee.
[I built this hill, it's mine....] I will throw Pink Floyd back at you! You are the 'Sheep,' and I have to tinker with your awareness---just flowing it.
The Bluepill is known to be broken by design because it has no Schottky diode at the USB power, which makes it dangerous for an attached computer if it is powered by another power supply at the same time. Also it has a wrong USB pull-up resistor, but this still works most of the time.
Thank you!👍👍👍
I have been looking for something a bit more powerful than the Arduino μC, they are a bit limited. Specifically for my current project I want to do 16 bit analog sampling to measure pressure. OK you can use an I²C shield with the Arduino that has 16bit ADC on board, but I’m hoping as I watch the SMT32 videos I’ll be able to do it on chip. 👍
Great vídeo!
I have a question about ADC. which series has ADC 14 bit 0r 16 bit with 16 channels. (ADC delta sigma type ) ?
I want to use it for 6 PT100 sensors.
very informative, thanks
You are awesome. Thank you
Okay, my turn now to delve into the STM32…👍🏻🤓
You really made me to checkout ST 😂
I am having a weird problem for my new board.
The boot loader only handshake correctly with my computer if I touch around the VBAT pin.
And the handshake will always fail if I enter the bootloader while it is sitting on my desk.
Hahaha I'm pretty sure I made the exact same facial expression as you did when you finished reading out the full part name for the Blue Pill
Greetings sir, for beginners considering STM32, which board-Black Pill or Blue Pill-would you recommend they start with?
Hi Mitch. I have the STM32F446RE Nucleo-64 I purchased from Amazon in Canada for about 55$! Why such a difference in price? I don't know. I have not used it yet. I don't understand how to use it exactly. It supports Arduino UNO, but why would I need the UNO when I have the STM32 board? As for the IDE, I can use the Arduino IDE or I can use the STM32Cube MCU. Others mention the STM32Cube IDE. What, if any, are the advantages of using either the Arduino IDE, STM32CubeMCU or STM32CubeIDE? This is not clear at all. I understand your initial confusion. I'm there now.
Hey Henri, the price difference is probably due to the microcontroller shortage. For a while, you couldn't get a Nucleo446RE at all. Now they're available in small quantities, but pretty expensive. Hopefully they return down to their normal price in the next 6-months to a year.
My second video should clear up some of the questions about which IDE to use. I went with STM32 Cube IDE because I wanted to learn how to write code outside of the Arduino Ecosystem. At the end of the day, no matter what IDE/Framework you choose, you're compiling into machine code that is specific for THAT chip. A bunch of frameworks have tried different approaches to come up with the best way to program a microcontroller. All of them have advantages and disadvantages, ranging from speed/size of the code, to how easy it is to program.
table at 8:16:
i think Harvard and von Neuman are mixed up. M3/4 are von Neumann, M0/1 are Harvard.
This stuff is out out my expertise. If they look flipped, that table is from Wikipedia. I’m impressed you looked at that with such detail. A+
Could you talk more about your project involving CAN-FD? I've used CAN in the past with a bluepill, but I've had no need for CAN-FD.
Greetings, great video!
good shit
biggest thanks from Taiwan
great help! thank you