0% found this document useful (0 votes)
51 views

Summary+STM32F4+-+English

The document outlines a training program for mastering STM32F4 microcontrollers, detailing the goals, methodology, and necessary resources for participants. It includes a comprehensive curriculum covering various features of the STM32F407, practical applications, and debugging techniques using STM32CubeIDE and other tools. The training consists of 16 video lessons, each focusing on different aspects of microcontroller functionality and development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views

Summary+STM32F4+-+English

The document outlines a training program for mastering STM32F4 microcontrollers, detailing the goals, methodology, and necessary resources for participants. It includes a comprehensive curriculum covering various features of the STM32F407, practical applications, and debugging techniques using STM32CubeIDE and other tools. The training consists of 16 video lessons, each focusing on different aspects of microcontroller functionality and development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Document: Date: 05/04/22

Revision 1
Summary STM32F4
Prepared by: Flávio Cavalieri

Mastering STM32F4 Microcontrollers

Eletrocursos 2022 – All Rights Reserved 1/8


Document: Date: 05/04/22
Revision 1
Summary STM32F4
Prepared by: Flávio Cavalieri

Summary
Document History .................................................................................................................. 3

Trainer .................................................................................................................................... 3

Training hours........................................................................................................................ 3

Goals....................................................................................................................................... 3

Index ....................................................................................................................................... 4

Methodology .......................................................................................................................... 8

Necessary resources ............................................................................................................. 8

Eletrocursos 2022 – All Rights Reserved 2/8


Document: Date: 05/04/22
Revision 1
Summary STM32F4
Prepared by: Flávio Cavalieri

Document History
Rev. Date Comments Rev. by
1 05.04.22 Initial document FGC

Trainer
Name Company Email
Flávio Cavalieri Eletrocursos [email protected]

Training hours
Video Lessons
16 h

Goals

1. Explore the features of the STM32F407 microcontrollers by knowing its electrical characteristics, its
main registers and applications;
2. Explore many resources of the STM32CubeIDE as well as software libraries, HAL API, and a bunch of
middlewares to accelarate the development task;
3. Provide practical skills for diagnosing common programming failures through the use of
STM32CubeIDE embeeded debugger tools, or even by monitoring and terminal tools as
STM32CubeMonitor;
4. Develop applications integrating microcontroller peripherals such as ADC, USART, USB, TIM, RTC,
SPI, GPIO, IWDG, etc. With those peripherals and their software resources, develop solutions for
Graphic Display and Touch controller, uSD Cards, Ethernet interface and much more.

Eletrocursos 2022 – All Rights Reserved 3/8


Document: Date: 05/04/22
Revision 1
Summary STM32F4
Prepared by: Flávio Cavalieri

Index

INITIAL CONSIDERATIONS

Introduction – Goals – Hardware and Software resources

Complementary material / software:


• STM32CubeIDE
• STM32CubeMonitor
• STM32Cube MCU Firmware Examples
Video lesson 1 • Termite 3.1 terminal Ethernet/Serial
• Hercules 3.2.8 terminal Ethernet/Serial
• TFTPD64 TFTP tool
• DevBoard
• ST-Link V2 Programmer
• LAN8720 ETH Board
• 320 x 240 LCD DISPLAY - ILI9341 SPI
• XPT2046 Touch Controller
• Dupont FxF Jumpers
• Potentiometer

MCU CONCEPTS

Explore important microcontroller hardware and software documentation. Find in


firmware examples and it’s reference documentation a great starting point for your
project development proccess.

Video lesson 2 Complementary material: (st.com)


• AN4488 Getting started with STM32F4xxxx MCU hardware development
• AN4739 STM32Cube firmware examples for STM32F4 Series
• UM1730 Getting started with STM32CubeF4 MCU Package
• ES0182 STM32F405/407xx and STM32F415/417xx device limitations
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• STM32F405xx STM32F407xx Datasheet

GPIO CMSIS

Explore CMSIS concepts and implement a solution interfacing GPIO and TIM
Video lesson 3 peripherals using microcontroller registers.

Complementary material: (st.com)


• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs

GPIO HAL
Video lesson 4
Explore HAL and LL reference document. Create na application mixing a delay
solution implemented with register direct manipulation and a GPIO solution using HAL
API functions instead.

Eletrocursos 2022 – All Rights Reserved 4/8


Document: Date: 05/04/22
Revision 1
Summary STM32F4
Prepared by: Flávio Cavalieri

Complementary material: (st.com)


• UM1725 Description of STM32F4 HAL and low-layer drivers

EXTI HAL

Understand External Interrupt main features and it’s concept. Implement a EXTI
solution and use IDE embeeded debugging features in order to solve common
software issues. Install STM32CubeMonitor tool and set it for working as a debugger
Video lesson 5 auxiliary graphical tool.

Complementary material: (st.com)


• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• Installing STM32CubeMonitor

PWM

Explore PWM features and implement a solution to control LED brightness.


Video lesson 6 Complementary material: (st.com)
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers

IC

Explore Input Capture features and implemente a frequencimeter solution, capable to


retrieve frequency and pulse width values. Using PWM output as a generator signal
Video lesson 7 source. Graphical monitoring option is possible with STM32CubeMonitor tool.

Complementary material: (st.com)


• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers

TIM

Explore general-purpose timer concepts in order to create and understand a timer


period elapsed interruption application.
Video lesson 8
Complementary material: (st.com)
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• AN4476 General-prupose timer cookbook for STM32 microcontrollers

IWDG

Explore Independent Watchdog basis and create a sample application.


Video lesson 9
Complementary material: (st.com)
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
Eletrocursos 2022 – All Rights Reserved 5/8
Document: Date: 05/04/22
Revision 1
Summary STM32F4
Prepared by: Flávio Cavalieri

ADC Basis

Understand STM32 main ADC characteristics and create a polling application in order
to test the peripheral. Explore and observe results using a graphical monitoring
Video lesson interface with STM32CubeMonitor.
10
Complementary material: (st.com)
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• AN3116 STM32™’s ADC modes and their applications

ADC DMA

Understand STM32 main DMA controller concepts. Use this peripheral to transfer ADC
input data directly to RAM memory.
Video lesson Complementary material: (st.com)
11
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• AN3116 STM32™’s ADC modes and their applications
• AN4031 Using the STM32F2, STM32F4 and STM32F7 Series DMA
controller

RTC

Understand STM32 main Real-time clock concepts. Follow STM32F4 firmware


examples to implement a RTC Calendar application. Comprehend importante registers
as the backup one.
Video lesson Complementary material: (st.com)
12 • RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• AN4031 Using the STM32F2, STM32F4 and STM32F7 Series DMA
controller
• AN3371 Using the hardware real-time clock (RTC) in STM32 F0, F2, F3, F4
and L1 series of MCUs

USART Basis

Understand STM32 main USART characteristics and create a polling application in


order to test the peripheral. Use STM32CubeMonitor and Termite 3.1 as serial terminal
Video lesson
tool.
13
Complementary material: (st.com)
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers

Eletrocursos 2022 – All Rights Reserved 6/8


Document: Date: 05/04/22
Revision 1
Summary STM32F4
Prepared by: Flávio Cavalieri

USART Advanced

Apply advanced technics using serial port idle interrupt and DMA to create a variable
lenght serial port reception with low MCU processing resources.
Video lesson
14 Complementary material: (st.com)
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• AN4031 Using the STM32F2, STM32F4 and STM32F7 Series DMA
controller

USB HID

Understant the USB device library concepts. Implement a USB HID application and
test it with a demonstrator executable file from ST.
Video lesson Complementary material: (st.com)
15 • RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• UM1734 STM32Cube™ USB device library
• UM0551 USB HID demonstrator
• USB HID Demonstrator V1.0.2

EEPROM Emulation

Implement an EEPROM emulation using microcontroller Flash memory sectors. Fully


understand important concepts regarding on-chip Flash memory access and its
Video lesson characteristics.
16
Complementary material: (st.com)
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• AN3969 EEPROM emulation in STM32F40x/STM32F41x microcontrollers

FATFS uSD

Develop a FAT file system application using FatFs Middleware. Use SDIO as hardware
peripheral connection to uSD card. Perform step by step debugging in order to execute
Video lesson open, read, write and close instructions.
17
Complementary material: (st.com)
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• UM1721 Developing applications on STM32Cube™ with FatFs

LWIP
Video lesson
18 With a LAN8720 ETH board and using the LwIP Middleware and the TCP/IP stack
demonstration project from ST, develop a interesting TCP server project. Use Hercules
3.2.8 as TCP terminal tool.

Eletrocursos 2022 – All Rights Reserved 7/8


Document: Date: 05/04/22
Revision 1
Summary STM32F4
Prepared by: Flávio Cavalieri

Complementary material: (st.com)


• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• AN3966 LwIP TCP/IP stack demonstration for STM32F4x7 microcontrollers
• LwIP TCP/IP stack demonstration

ETH IAP

Follow STM32F4 firmware examples to implement IAP over the ethernet. Use
TFTPD64 tool and Hercules 3.2.8 to load MCU program throught TFTP protocol.
Video lesson
19 Complementary material: (st.com)
• RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• AN3968 Implementing IAP over the Ethernet on the
STM32F407/STM32F417

LCD + Touch
(ILI9341 + XPT2046)

With a touch display based on ILI9341 and XPT2046 controllers, develop a HMI
application using TouchGFX Middleware and graphical tool.
Video lesson Complementary material:
20 • RM0090 STM32F405/415, STM32F407/417, STM32F427/437 and
STM32F429/439 advanced Arm®-based 32-bit MCUs
• UM1725 Description of STM32F4 HAL and low-layer drivers
• TouchGFX Documentation
• Library Files
• ILI9341 Datasheet
• XPT2046 Datasheet

Methodology
• STM32F407 Development board + aditional peripheral boards and display
• Video lessons, handouts, softwares and manuals;

Necessary resources
• Microcomputer with at least two free USB ports, software and drivers installed:

Eletrocursos 2022 – All Rights Reserved 8/8

You might also like