Myvideo

Guest

Login

STM32 Programming Tutorial for Custom Hardware | SWD, PWM, USB, SPI - Phils Lab #13

Uploaded By: Myvideo
17 views
0
0 votes
0

⏵Hardware and PCB design course: Overview of how to write test firmware for a custom STM32-based PCB, in particular for a variant of one made using the hardware design tutorial videos (including various sensors, flash memory, USB, etc.). Visit for $2 for five 2-layer PCBs and $5 for five 4-layer PCBs. Includes topics such as: STM32CubeIDE, SWD and ST-Link, Timers and PWM (RGB LED), USB (Virtual COM Port), SPI (driver for inertial measurement unit). By no means a complete tutorial but rather a guide on how to approach writing firmware when you first get your custom boards! If you’re enjoying my content, please consider becoming a patron: [TIMESTAMPS] 00:00 Assembled Boards 02:53 Hand-Soldered Components 03:26 Initial Testing Suggestions and ST-Link/USB Connections 04:45 How to Order (JLCPCB) 06:36 STM32CubeIDE Overview 07:43 CubeIDE Project Creation 08:44 Pin and Peripheral Assignment 12:40 Clock Configuration 13:43 USB CDC Config 14:28 SPI Baud Rate Config 15:10 Timer PWM Config 18:23 RGB LED Firmware (Timers and PWM) 21:38 Debugging via ST-Link and SWD 24:11 USB Virtual COM Port Firmware (USB CDC) 29:05 Inertial Measurement Unit (IMU) (SPI in Polling Mode) 37:28 Final Testing ID: QIBvbJtYjWuHiTG0uCoK

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later