Course Overview
The STM32G474 microcontroller, a powerful and highly sought-after chip within the STM32 G series, is widely used in the power electronics industry. This course is designed for power electronics engineers who are beginners in embedded systems, providing them with a solid foundation in the functionality of microcontrollers and their integration into power electronics applications.
Through clear, approachable explanations, the course covers the key features and peripherals of the STM32G474 microcontroller, helping learners understand its role in real-world applications. The course emphasizes commonly used modules in power electronics: GPIOs (General Purpose Input/Output), timers, Pulse Width Modulation (PWM), and Analog-to-Digital Converters (ADC).
The curriculum includes hands-on experiments using the NUCLEO-G474RE development board (priced at just USD 20!), which features the STM32G474RE microcontroller and all its peripherals made accessible through convenient headers for easy experimentation. Learners will gain practical experience through simple, engaging projects, helping them build confidence in applying their knowledge to real-world scenarios.
The course is structured to allow learners to set up an affordable home lab for under USD 150, using cost-effective components. The course also introduces STM32CubeIDE, a free tool from STMicroelectronics that simplifies development with auto code generation and detailed register-level configuration of peripheral modules. Learners will explore how to download example projects, access technical documentation, and leverage powerful development tools for optimal learning.
By the end of this course, you will have a comprehensive understanding of the STM32G474 microcontroller, be able to design and implement basic power electronics systems, and gain hands-on experience with the NUCLEO-G474RE development board.
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 4 bài · 50 phút
- Welcome to the course Học thử 8:05
- Target audience of the course Học thử 8:38
- Requirements of the course Học thử 25:38
-
Tips on completing the course 7:17
Chương 2 Installation and setup 9 bài · 1 giờ 16 phút
- Introduction Học thử 3:40
-
Installing STM32CubeIDE 10:19
- Downloading example projects for the NUCLEO-G474RE board Học thử 7:31
-
Downloading documentation 8:59
-
Importing the example GPIO toggle project 7:19
-
Executing the example GPIO toggle project on the NUCLEO board 6:20
- Example GPIO toggle project description Học thử 15:34
-
Overview of the types of files in a STM32 project 5:53
- Tips for starting with electronics Học thử 10:05
Chương 3 General Purpose Input Output (GPIO) 15 bài · 2 giờ 30 phút
-
Introduction 2:35
-
Use of microcontroller peripherals in a power electronics application 14:33
-
Overview of the GPIO modules in the STM32G474 6:47
-
Enabling the timers for the GPIO modules 11:37
-
Configuration registers for the GPIO module 13:14
-
Connecting LEDs to GPIO pins 8:26
-
Creating a new project in STM32CubeIDE 15:31
-
New project walk through 11:00
-
Configuration register data structures 12:01
-
Simplifying documentation and understanding board connectors 11:32
-
Configuring GPIO pins - part 1 15:41
-
Configuring GPIO pins - part 2 18:03
-
Compiling the GPIO project 1:53
-
Executing the GPIO project 3:13
-
Conclusions 3:29
Chương 4 Timers and Interrupts 17 bài · 2 giờ 19 phút
-
Introduction 3:07
-
Oscillators and clock signals in the STM32G474 11:57
-
Setting up the system clock 3:45
-
An overview of timers in the STM32G474 7:33
-
Timer configuration - part 1 14:05
-
Timer configuration - part 2 4:34
-
Nested Vectored Interrupt Controller (NVIC) 5:06
-
STM32CubeIDE clock configuration feature 12:19
-
Project setup and timer module document extraction 11:56
-
Timer 1 configuration 16:42
-
Timer 6 configuration 4:46
-
NVIC configuration 12:36
-
Interrupt Service Routines (ISRs) 13:12
-
Compiling the project 3:29
-
Executing project 2:07
-
Debugging project 8:18
-
Conclusions 3:20
Chương 5 Pulse Width Modulation 39 bài · 5 giờ 13 phút
-
Introduction 4:25
-
Module overview 8:26
-
Configuration and setup of the High Resolution Timer Module (HRTIM) - part 1 14:54
-
Configuration and setup of the High Resolution Timer Module (HRTIM) - part 2 12:40
-
Configuration and setup of the High Resolution Timer Module (HRTIM) - part 3 5:33
-
Configuration and setup of the High Resolution Timer Module (HRTIM) - part 4 6:21
-
Configuration and setup of the Advanced Control Timer - part 1 15:28
-
Configuration and setup of the Advanced Control Timer - part 2 3:55
-
Project setup and document extraction 5:22
-
Configuring the HRTIM - part 1 21:38
-
Configuring the HRTIM - part 2 9:50
-
Configuring the HRTIM - part 3 7:57
-
Configuring the HRTIM - part 4 12:07
-
Configuring the HRTIM - part 5 12:40
-
Configuring the HRTIM - part 6 11:05
-
Compiling basic HRTIM PWM project 2:14
-
Executing the basic HRTIM project 3:57
-
Configuring the HRTIM - part 7 14:18
-
Compiling the HRTIM project with deadtime 2:01
-
Executing HRTIM project with deadtime 4:35
-
Configuring TIM1 (Advanced-control timer) - part 1 7:35
-
Configuring TIM1 (Advanced-control timer) - part 2 15:25
-
Configuring TIM1 (Advanced-control timer) - part 3 11:04
-
Configuring TIM1 (Advanced-control timer) - part 4 14:42
-
Compiling basic TIM1 PWM project 2:50
-
Compiling corrected basic TIM1 PWM project 1:47
-
Executing basic TIM1 PWM project 5:16
-
Inserting deadtime between the TIM1 PWM gate pulses 8:35
-
Executing the complete TIM1 PWM project 3:20
-
Enabling interrupts 12:27
-
Writing ISRs for PWM interrupts 13:45
-
Clearing interrupt flags 4:35
-
Compiling final PWM project 2:29
-
Executing final PWM project 2:32
-
Configuring HRTIM in up-down count mode 13:37
-
Configuring TIM1 in up-down count mode 5:53
-
Compiling project with PWMs configured in up-down count mode 0:41
-
Executing the PWM project in up-down count mode 4:11
-
Conclusions 2:53
Chương 6 Analog to Digital Converter (ADC) 30 bài · 4 giờ 28 phút
-
Introduction 3:23
-
ADC initialization 10:43
-
Selecting the input channels for the ADC module 15:21
-
Using the digital results 6:56
-
Conditioning the analog signals at the input pins 6:46
-
Adjusting the VREF jumper setting on the NUCLEO-G474RE board 3:17
-
Setting up the ADC project 5:01
-
Copying code from previous projects 9:49
-
Verifying project setup by fixing old code 7:20
-
Setting up ADC input clock 10:57
-
Initializing the ADC module 10:39
-
Configuring the sample and hold time of the ADC inputs 13:13
-
Configuring the analog inputs in a sequence 15:32
-
Configuring ADC SOC trigger and EOC ISR 14:14
-
Triggering ADC SOC from HRTIM ISR 7:11
-
Configuring TIM6 to generate mock analog signals 11:14
-
Compiling the project to generate test analog signals 3:26
-
Executing project to view test analog signals 4:21
-
Feedback of test signals to analog input pins and testing approach 3:59
-
Verifying ADC operation through debug mode 7:43
-
Verifying the ADC accuracy through GPIO waveforms 14:36
-
Configuring the test GPIO pins 13:13
-
Compiling the project for testing ADC accuracy 2:53
-
Executing the test project and verifying the ADC conversions 5:49
-
Setting up external hardware triggers for ADC - part 1 16:34
-
Setting up external hardware triggers for ADC - part 2 8:27
-
Executing HRTIM trigger project 13:38
-
Setting up external hardware triggers for ADC - part 3 13:36
-
Executing TIM1 trigger project 4:18
-
Conclusions 3:30
Chương 7 Conclusions 1 bài · 10 phút
-
Conclusions 9:40
Requirment
-
Basic C programming
-
Basic power electronics - Pulse Width Modulation strategies
Outcomes
-
STM32G474 microcontroller architecture and peripherals
-
Installing and setting up STM32CubeIDE
-
Architecture and features of the NUCLEO-G474RE
-
Importing example projects and executing them on the NUCLEO-G474RE
-
Configuring and using GPIO pins as digital outputs
-
Configuring and using timers for control
-
Configuring and using timers for generating PWM gating pulses
-
Configuring and using the ADC module to receive measured analog signals
0 Student
3 Courses
0 review