First steps with STM32 in the STM32CubeIDE environment. This video aims to take away some overwhelming choices when picking out your first piece of hardware.
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!
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 RUclips 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.
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
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. ;-)
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
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.
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.
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.
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. ruclips.net/video/nDbeqj-1XOo/видео.html
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.
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.
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.
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.
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
I have recently started with the 'Blue Pills' and there is no returning back to the Arduino microcontrollers. Although I had to flash each of them with a USB bootloader (It is very easy after the first one), they offer great value for money.
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.
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.
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 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.
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. 👍
One problem I'm finding right now is it's really hard to find standalone chips right now. I spent quite sometime learning a particular development board which is the Tiva C Series by TI to find out later that all the chips are out of stock everywhere, which makes it impossible to develop your own project. Particularly the Cortex-M4 microcontroller chips are impossible to find right now.
I used an Arduino nano with the reset and ground pins connected and the tx and rx going to the blue pill to program mine (A9 and A10). Mine wanted the reset released about when the cube programmer was searching after you press connect. My understanding is there is a rom segment in system memory that is the loader that can program the flash. That isn't quite the same thing as being blank or reprogramming itself. That boot0 jumper selects the ROM of the flash to boot from.
It’s been a little while since I read the datasheet, but I think the blue pill doesn’t have ROM support for UART/serial programming. I know some blue pill boards ship with a software bootloader that allows programming over UART.
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.
Hey, I have a question.. What is the difference between F303K8 and L432k obviously without letter F and L, they are very very similar I didn't find none difference. Please I want answers. Sorry for my english ;D
Sir can you help us in designing a simple Single axis controller for servo drive. out put frequency 400khz Max with a simple display using stm32 chipset
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!
Thanks Mitchel, just what I needed to make the transition from Arduino to a stm32 dev board. Great job. 👏
I just bought an STM32 and I see this video in my feed. Awesome 😍
I wish this video had existed before I bought my first STM32!! Enjoying this channel
One of the best tutorials channels! i wish there were more videos like that.
thank you for the quality content mitch!
Thank you for making this fun to watch and so organised and clear 🥹🥹🥹🥹
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 RUclips channel
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.
This was an absolute god mode amazing tutorial and guide video on this complex STM32 topic. Huge thanks man. Never gunna forget.
Great video. Just purchased a F103RB. This is just for learning, and some testing. Thanks again Richard Brown
Great video! Id been struggling to find an entry point to STM32 dev, this has really helped
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.
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
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. ;-)
One of the best video i have ever seen. Thank you so much.
Best video I've ever seen for starters! congratulations
Thanks for this video series. Thanks to you I learned stm32 a bit
Thank you for great work sir. You are helping world become a better place. Bless.
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
Very helpful information and nicely summarized, well done
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
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.
Thank you for this great introduction video on stm32 mcu.
that was an amazing intro to STM32. Thank you very much.
Thx for the tutorial! Starting to discover the F407VET6 Board which i bought 5 years ago.
Very well and smoothly explained, thanks a lot
I also saw your video's on arduino , attiny & bootloaders , great stuff , thanks for sharing , keep up the good work , subbed
I enjoyed your Video!
It is really helpful to start with STM32.
thanks form Japan.
Straight to the point. Loved the explanation
Excellent Video for Beginners of STM32
This video really make things clear to me.
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.
Thanks. I was really struggling to find out a video like this.
Great video. Will love to see more.
This is a great video. Thanks for saving me a lot of time.
You seem to be organizing really well.
you're
a great teacher, best videos
Huge thank you for creating these videos. I’m a longtime Arduino user and thinking of creating a project using the stm32.
Really great intro, thanks for the video
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.
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.
ruclips.net/video/nDbeqj-1XOo/видео.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?
Hey Mitchel, glad to see you started a STM32 series. You sure will make a great guide.
Waiting for the next video!
Thanks.
Great... comprehensive work
Great Video! Thanks for the detailed info.
Thank you. Best explanation ever.
Thank you!!! You saved tons of time!
Awesome video! very informative.
This was so helpful. Thanks man.
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.
Excellent explanation. Thanks!!
You are awesome bro 🙌 I was confused with what to buy 😕
Very well made. Thank You
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.
Such a nice video! Thank you!
Excellent video!!
Really good video, man. Just what I was looking for. You earned a well-deserved subscription from me, man.
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.
I love your videos.
Great tutorial. Thanks 👍🏼
Thank you for this beautiful video. It would be great if you could make some videos on Custom Bootloader for STM32.
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.
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!
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.
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!
Great Video
thanks for the review, stm32 are to many variant. your review help me a lot
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
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
Great work man, appreciate it.❤+1
Thanks for the series brother. If chance kindly upload for Texas instruments development board ❤
great help! thank you
Okay, my turn now to delve into the STM32…👍🏻🤓
very informative, thanks
You are awesome. Thank you
I have recently started with the 'Blue Pills' and there is no returning back to the Arduino microcontrollers. Although I had to flash each of them with a USB bootloader (It is very easy after the first one), they offer great value for money.
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.
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.
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 video!!!
Thanks for the guide, helped alot (+1 sub)
Three sons, God!
I started my journey with a nucleo144 stm32f439, the thing is a beast, I'll probably never use all its features
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
Thank you!👍👍👍
good shit
biggest thanks from Taiwan
Cool info thanks :)
Thank you
Thank you bru
awesome, thanks
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.
38 bucks for that F4 dev board today! I got one to add to my big stack of dev boards
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. 👍
One problem I'm finding right now is it's really hard to find standalone chips right now. I spent quite sometime learning a particular development board which is the Tiva C Series by TI to find out later that all the chips are out of stock everywhere, which makes it impossible to develop your own project. Particularly the Cortex-M4 microcontroller chips are impossible to find right now.
Thanks Boss...
Thanks a lot
I used an Arduino nano with the reset and ground pins connected and the tx and rx going to the blue pill to program mine (A9 and A10). Mine wanted the reset released about when the cube programmer was searching after you press connect. My understanding is there is a rom segment in system memory that is the loader that can program the flash. That isn't quite the same thing as being blank or reprogramming itself. That boot0 jumper selects the ROM of the flash to boot from.
It’s been a little while since I read the datasheet, but I think the blue pill doesn’t have ROM support for UART/serial programming. I know some blue pill boards ship with a software bootloader that allows programming over UART.
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
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.
Hey, I have a question.. What is the difference between F303K8 and L432k obviously without letter F and L, they are very very similar I didn't find none difference. Please I want answers. Sorry for my english ;D
Greetings sir, for beginners considering STM32, which board-Black Pill or Blue Pill-would you recommend they start with?
Sir can you help us in designing a simple Single axis controller for servo drive.
out put frequency 400khz Max with a simple display using stm32 chipset