Visit jlcpcb.com/RHS for $2 for five 2-layer PCBs and $5 for five 4-layer PCBs. Have fun & win in JLCPCB Exhibition: jlcpcb.com/E-exhibition
Overview of how to set up and program DMA for STM32 microcontrollers (SPI peripheral). Additionally, how to combine the DMA code with FreeRTOS as a task scheduler.
Using STM32CubeIDE for configuration, programming, and debugging.
This video follows on from the previous 'STM32 Programming Tutorial', which you can find on my channel.
If you're enjoying my content, please consider becoming a patron:
/ phils94
Hardware files and firmware repository:
github.com/pms67/LittleBrain-...
[TIMESTAMPS]
00:00 Introduction
00:57 Ordering Boards with Assembly from JLCPCB
(DMA)
03:21 STM32CubeIDE Overview
03:50 GPIO External Interrupts Set-Up
05:08 DMA + SPI Set-Up
07:06 Generated Code Overview
08:24 DMA SPI Read/Write (txBuf should be declared 'static'!)
14:59 Triggering DMA on GPIO External Interrupt
16:47 DMA Transfer Complete Interrupt
18:53 Testing DMA on Custom Hardware
(FreeRTOS)
19:30 FreeRTOS STM32CubeIDE Set-Up
23:06 FreeRTOS Generated Code Overview
24:25 FreeRTOS Tasks (LED and USB)
27:35 Testing FreeRTOS on Custom Hardware
ID: QIBvbJtYjWuHiTG0uCoK
Негізгі бет Ғылым және технология STM32 DMA and FreeRTOS Tutorial - Phil's Lab #14
Пікірлер: 190