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

239074
429
5910
25.10.2020
Phil’s Lab

Phil’s Lab

5659357
98300
111
10.02.2007
DE
Описание видео:

⏵Hardware and PCB design course: 🤍🤍phils-lab.net/courses 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 🤍jlcpcb.com/RHS 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: 🤍🤍patreon.com/phils94 🤍github.com/pms67/LittleBrain-STM32F4-Sensorboard [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

Кадры из видео
STM32 Programming Tutorial for Custom Hardware | SWD, PWM, USB, SPI - Phil's Lab #13
STM32 Programming Tutorial for Custom Hardware | SWD, PWM, USB, SPI - Phil's Lab #13
STM32 Programming Tutorial for Custom Hardware | SWD, PWM, USB, SPI - Phil's Lab #13
STM32 Programming Tutorial for Custom Hardware | SWD, PWM, USB, SPI - Phil's Lab #13
Тэги из видео
Комментарии пользователей:
SurvivalSquirrel
2023-03-14 11:40:17

The HAL is buggy? Omfg...

Wristocrat
2023-03-07 21:03:37

Beautiful board

Satwik Agarwal
2023-02-28 14:21:25

hey, can anyone suggest me a software for serial communication for macos as hterm is not available .

Steve Black
2023-02-25 15:51:23

I just discovered your videos and they are awesome!
I have a question for you: do you think it is possible to program an STM32 based PCB through the SPI1 interface instead of SWD? If so, what type of device can I use for this?
Thank you so much!

John Hatton
2023-02-21 15:03:34

Would you do a video, or have you done a video, explaining in more detail about how you test your new board for issues with voltage and current? I'm sure it's hard to condense so much into one video, I really appreciate the knowledge you share!!!

Himanshu Rakholiya
2023-02-16 13:15:56

well explain thanks

Muhammad
2023-01-12 15:57:04

Hallo sir can you tell me ,how to programming arm gd32f403 please🙏

Pierre
2023-01-07 13:10:54

Hello, thanks for your nice video. I have a question please: I have an SMT32 onboard. It has a program inside. Is it possible to copy the program from it and burn it on another SMT32? What are the steps for that? Thanks a lot

Abdoul fnta
2022-12-13 23:58:57

Hi dear. I’d love you to give the manner or advice so that I can understand STM32 because when I see a code HAL I panicked suddenly. I have very difficult
Best regards 😢

PayDayOVERKILL
2022-12-12 19:01:23

I need help. Does anyone know what I would need to program something that will have a camera and be able to talk/answer questions?

صوت الشعب المنكوب
2022-10-18 22:59:29

❤❤❤ thank you

Yellow Purple
2022-10-15 01:26:12

❤❤❤

Nelson Amador
2022-09-26 02:46:03

Try to program without IDE it is so funny when you do it from zero. Great video thanks for sharing.

hemanth kumar
2022-09-21 17:30:12

You down that program with St- link with swb Pina(clk,Dio pins) or usb.
Is their any secondary boot loader you done . For uploading the new firmware every time that boot file also required ? Can you please explain

Hassan Gafar Omotoba
2022-09-18 20:37:43

Your videos are usually helpful, but I noticed here you didn't use ground pour on your stm dev board, why?

Michael Martin
2022-09-16 21:31:45

Hi Phil! I’m finding your videos quite helpful as I learn how to program stm32. I was wondering if you could make a video showing how to control an stm32 over Ethernet using one of the stm32 versions which work on ethernet. Thank you!

Victor Lin
2022-09-07 05:20:49

so if I have a EMW3088, that has a STM32 cortex m3 inside, how do i know what part number/package it is?

Shanto Islam
2022-08-29 13:49:11

brother how did you learn stm32 programming ,please share me some information, book,pdf or something like that

Daniel Lidén
2022-07-25 20:45:46

How do you get the angle values of the gyroscope? Would be interested in pitch

Что ищут прямо сейчас
Carlos Galaxy растущие каналы дорама НТК PUFER nederland davinci resolve mode proxy brawl painful day rasberry meme erpan Mariya Mironova мир 24 онлайн стресс тест видеокарты 宮崎 juegagerman фм warzone free unlocker quinn lol my summer car сборка автомобиля рнпп
Похожие видео
28.04.2020
STM32 + SWD + ST-Link + CubeIDE | Debugging on Custom Hardware Tutorial - Phil's Lab #4

STM32 + SWD + ST-Link + CubeIDE | Debugging on Custom Hardware Tutorial - Phil's Lab #4

21.11.2020
KiCad STM32 Hardware Design - An Overview in 20 Minutes - Phil's Lab #15

KiCad STM32 Hardware Design - An Overview in 20 Minutes - Phil's Lab #15

06.12.2020
STM32 Guide #1: Your first STM32 dev board

STM32 Guide #1: Your first STM32 dev board

02.06.2018
Installing the STM32 USB Bootloader, Easily! [SEE DESCRIPTION]

Installing the STM32 USB Bootloader, Easily! [SEE DESCRIPTION]

09.09.2022
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡

Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡

26.03.2022
Usage ST-LINK V2 Tutorial. STM32 Programming for Beginners. Cheap clone ST-Link comparation

Usage ST-LINK V2 Tutorial. STM32 Programming for Beginners. Cheap clone ST-Link comparation

17.07.2020
#345 ESP32 vs STM32: Which one is better (Bluepill)?

#345 ESP32 vs STM32: Which one is better (Bluepill)?

18.01.2021
How To Improve Your PCB Designs (Common Mistakes) - Phil's Lab #18

How To Improve Your PCB Designs (Common Mistakes) - Phil's Lab #18

04.07.2022
KiCad 6 STM32 PCB Design Full Tutorial - Phil's Lab #65

KiCad 6 STM32 PCB Design Full Tutorial - Phil's Lab #65

02.09.2018
Remote Debugging ARM Chip with SWD/JTAG - Hardware Wallet Research #3

Remote Debugging ARM Chip with SWD/JTAG - Hardware Wallet Research #3

21.01.2018
Easy & Powerful Arduino Alternative? STM32 Beginner's Guide

Easy & Powerful Arduino Alternative? STM32 Beginner's Guide

15.02.2022
The Best way to Solder? Hot Plate to the rescue! (DIY or Buy)

The Best way to Solder? Hot Plate to the rescue! (DIY or Buy)

31.05.2021
STM32 with Arduino IDE | Schematic & custom PCB | NRF24 radio | Bootloader

STM32 with Arduino IDE | Schematic & custom PCB | NRF24 radio | Bootloader

07.11.2020
STM32 DMA and FreeRTOS Tutorial - Phil's Lab #14

STM32 DMA and FreeRTOS Tutorial - Phil's Lab #14

10.12.2019
Flight Control System Design: Hardware and PCB Design with KiCAD - Phil's Lab #1

Flight Control System Design: Hardware and PCB Design with KiCAD - Phil's Lab #1

06.05.2021
Miniature PCB Design | STM32 + Magnetometer + CAN | Altium - Phil's Lab #22

Miniature PCB Design | STM32 + Magnetometer + CAN | Altium - Phil's Lab #22

24.01.2023
Add USB To Your Electronics Projects! - The USB Protocol Explained

Add USB To Your Electronics Projects! - The USB Protocol Explained