STM32 Tutorial Videos
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 tutorial videos which will teach you how to learn stm32 and move beyond Arduino.
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 but should be fairly development board agnostic.
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
The source code of all the examples will be put in this github repository: https://github.com/STM32World/stm32fun
STM32 Tutorial Video #81 - AMAZING TinyUSB Library
In this video we will use the TinyUSB library with STM32CubeMX, STM32CubeIDE and HAL to create a composite USB CDC (communication device class) and MSC (mass storage class) device on a STM32H562.
Watch on youtube here: https://www.youtube.com/watch?v=ZywYPsIohcw
STM32 Tutorial Video #80 - CLion More Basic Usage
In this video we continue from the previous video to explore the basic editing functionality in CLion. We cover the most basic commands like moving lines/blocks, search/replace, column selection mode, refactoring and more.
Watch on youtube here: https://www.youtube.com/watch?v=bZQ-bXu5rWY
STM32 Tutorial Video #79 - CLion Basic Usage
In this video we continue from the previous video to explore the basic navigation that is needed to get going with CLion. We cover debugging tools, selection, navigation, git and diff.
Watch on youtube here: https://www.youtube.com/watch?v=IhvXF8aVAdA
STM32 Tutorial Video #78 - Timers in libopencm3
In this video we will configure a timer and a timer interrupt using libopencm3.
Watch on youtube here: https://www.youtube.com/watch?v=e43YzQ12B9o
STM32 Tutorial Video #77 - Printing with libopencm3 uart
In this video we continue the journey using STM32 with open source tools only. We will add printf redirect.
Watch on youtube here: https://www.youtube.com/watch?v=KrPzrj2nZWI
STM32 Tutorial Video #76 - Jailbreaking ST Vendor lock-in - clion + libopencm3 + cmsis-dap
As a result of ST's somewhat botched release of STM32CubeIDE 2.0.0 and their failure to keep their own promises of providing ST-Link binaries to third parties, in this video we will make an attempt to break out of ST's vendor lockin eco-system and go with alternative tools. In this video we will use command line (for one example) and CLion for another. We will be using CMSis Dap-link as a debug probe and libopencm3.
Watch on youtube here: https://www.youtube.com/watch?v=zra_bvB9MGs
STM32 Tutorial Video #75 - Introduction to CLion for STM32 development
CLion is a C/C++ IDE from Jetbrains, and has over the last few years improved a lot when it comes to STM32 embedded support. In this video we look at the first steps on how to set up an STM32CubeMX project for CLion, more easily than doing the same thing with the new STMCubeIDE 2.0.0
Watch on youtube here: https://www.youtube.com/watch?v=OAcD135fnms
STM32 Tutorial Video #74 - Streamline Demo
In an earlier video we did an unboxing of our new Streamline boards. In this video we will do an in-depth demonstration of what we believe to be the ultimately flexible development board.
Watch on youtube here: https://www.youtube.com/watch?v=LAGfzWwsIlk
STM32 Tutorial Video #73 - FIRST STM32CubeIDE 2.0.0 Tutorial
Introducing the new and improved STM32CubeIDE along with the new and improved bowtie Lars. As mentioned in my earlier rant video, STMicroelectronics have just made using STM32CubeIDE a LOT harder. In this video we go through how it can be used with a few extra steps.
Watch on youtube here: https://www.youtube.com/watch?v=Sa_HBrblF0w
STM32 Tutorial Video #72 - Fixing Using Built-in Flash for Data
In the last video we covered using STM32 built-in Flash memory for data storage. I was a bit of an idiot and it didn't really work too well ;) In this video we will fix it and actually show something that works.
Watch on youtube here: https://www.youtube.com/watch?v=PwpEMPpylro
STM32 Tutorial Video #71 - Using Built-in Flash for data
In this video we will cover the possibility of using STM32 built-in Flash memory for data storage. It is questionable if you should ever do this but it's an option.
Watch on youtube here: https://www.youtube.com/watch?v=SOCwnj1N-hg
STM32 Tutorial Video #70 - ST7789 Display
Introducing the Magic Key - in this video we will be working with the 1.3" ST7789 display.
Watch on youtube here: https://www.youtube.com/watch?v=5M2c9OoWSEU
STM32 Tutorial Video #69 - WS2812 USB HID Controller (Neopixel RGB LED)
In this video we will combine earlier videos using USB HID to control the programmable RGB WS2812 Neopixels.
Watch on youtube here: https://www.youtube.com/watch?v=gc_AD8k0PCI
STM32 Tutorial Video #68 - USB HID Bidirectional
In a previous video (linked below) we created a very basic USB HID device and had working communication from the host to the device. In this video we're going to expand on this video implementing full bi-directional communications.
Watch on youtube here: https://www.youtube.com/watch?v=EQKnW47atDU
STM32 Tutorial Video #67 - DIY STM32 Programmer/Debugger mk. II (ST-Link)
In several of our videos we have used our own STM32 Programmer/Debugger. That one is much much better than any of the Chinese knock-offs having both Serial and SWO. In this video we'll explain why we never considered selling these and we show a "new" design which could potentially be manufactured in volume and a reasonable price. The device is hardware-compatible with ST-Link/V2-1 and can run the Open Source Black Magic firmware (or STMicroelectronics ST-Link firmware).
Watch on youtube here: https://www.youtube.com/watch?v=8pg0efEfDvc
STM32 Tutorial Video #66 - Testing Relay Board
Thoroughly testing the relay board we received about a week ago.
Watch on youtube here: https://www.youtube.com/watch?v=g02UB753B60
STM32 Tutorial Video #65 - Bit Banging PWM SUPER Optimized
In this Tutorial video we will dive further into timers by using a timer to bit bang PWM on a GPIO where no timer channel is available (such as PC13). We will begin by letting STM32CubeMX generate all the code but then optimize that by creating our own interrupt handler.
Watch on youtube here: https://www.youtube.com/watch?v=QHcK3Ani-As
STM32 Tutorial Video #64 - Proper SD Breakout Board
In some earlier videos we used SDIO and SPI to access a FatFS on a SD Card. In those videos we used a quick and dirty hacked together breakout board created by soldering some wires of a SD to Micro-SD adapter. In this video we explain WHY creating a proper breakout board was necessary, how the board is created, how to order at JLCPCB and demonstrate the result.
Watch on youtube here: https://www.youtube.com/watch?v=yRuedNsV-5M
STM32 Tutorial Video #63 - I2C RGB LED Board
In this video we will test our AW9523 based I2C RGB LED Board and develop a STM32 library for it.
Watch on youtube here: https://www.youtube.com/watch?v=IqPsK76vg-Y
STM32 Tutorial Video #62 - STM32F402 Mystery MCU - Real life testing
We have done a few videos about the mysterious non-existing STM32F402 MCU (Chinese market only MCU). In an earlier video we speculated that it was in FACT a STM32F401. Having received our STM32World STM32F402 development board, we finally get to put this theory to the test! Watch the video to learn the secrets of this MCU.
Watch on youtube here: https://www.youtube.com/watch?v=M0rFRm_3GuA