STM32 Getting Started Tutorial Video Series (by STM32World)

From Stm32World Wiki
Jump to navigation Jump to search

This site have quite a lot of visitors and it appears quite popular, but these days more people are watching Youtube videos for learning rather than reading actual documentation. For this reason, we have decided to create some getting started videos.

STM32 is a family of MCUs and there will never be a "one fit all". For this reason, these videos will use different MCUs, probably mostly STM32World and Black Pill.

The videos will all be posted here: https://www.youtube.com/@stm32world/videos

And in the following playlist: https://www.youtube.com/playlist?list=PLVfOnriB1RjWT_fBzzqsrNaZRPnDgboNI

STM32 Tutorial #1 - Overview, Families, Documentation and Development boards and tools

The first video in the series cover the wide array of STM32 MCUs, where to find documentation (obviously mostly here on this wiki) and how to download and install STM32CubeIDE.

You can watch the video on Youtube: https://www.youtube.com/watch?v=EZqwBuRpdns

STM32 Tutorial #2 - First project in STM32CubeIDE (blink)

In the second video we develop our first application in STM32CubeIDE for the Black Pill board.

You can watch the video on youtube here: https://www.youtube.com/watch?v=O6cNvE9ZrVU.

STM32 Tutorial #3 - First Blink (done WRONG!)

The third video in the series showing the Arduino way - which is just plain wrong!

Watch on Youtube here: https://www.youtube.com/watch?v=g-RVJDnlHd0

STM32 Tutorial #4 - Second Blink (done right!)

The blink application the way it _should_ be done!

Watch on Youtube here: https://www.youtube.com/watch?v=rQDa_vxYM2Q

STM32 Tutorial #5 - Getting started - Introduction to Debugging

Introducing STM32 debugging.

Watch on Youtube here: https://www.youtube.com/watch?v=WT_wqCAuR-c

STM32 Tutorial #6 - External Interrupt

Introducing external interrupts.

Watch on Youtube here: https://www.youtube.com/watch?v=eLrsCw1UDJU

STM32 Tutorial #7 - Optimizing my stuff (getting smarter every day)

Someone pointed out that my code was not optimal - so tweaked and that was leading to a massive improvement.

Watch on Youtube here: https://www.youtube.com/watch?v=AA-mjZ4hWZc

STM32 Tutorial #8 - Introduction to Timers

In this video we begin a dive into STM32 timers.

Watch on Youtube here: https://www.youtube.com/watch?v=sdr0EFT2LqU

STM32 Tutorial #9 - Using a timer channel to blink a LED

Final video on the topic of blinking a LED. Using a timer and timer channel alone with absolutely no code being executed so no CPU cycles wasted.

Watch on Youtube here: https://www.youtube.com/watch?v=Sy-WHDiYVm4

STM32 Tutorial #10 - Pulsing a LED using PWM from a Timer Channel

In this video, rather than simply blinking - toggling on/ff - a LED we use PWM to change the brightness or intensity of the LED.

Watch on Youtube here: https://www.youtube.com/watch?v=4eVfLC05spU

STM32 Tutorial #11 - Running multiple timer channels

In this video we will add more timer channels, so run PWM on 4 different LEDs simultaneously. Apologies that this video got a bit short and perhaps a bit boring.

For this video a few more LEDs are needed. How they are hooked up is described on this page: 4 LEDs Hooked up to GPIO.

Watch on Youtube here: https://www.youtube.com/watch?v=ubfZBRW8Onc

Planned videos

Some planned videos. Order not guaranteed.

  • STM32 Memory Map
  • UARTS
  • SPI
  • I2C
  • ADCs
  • DACs
  • CAN
  • USB
  • FreeRTOS
  • DMA