This project serves as a simple and practical tutorial for those interested in getting started with STM32 firmware development.
-
Development Board:
NUCLEO-G474RE -
USB cable
Type A (male) to Micro B (male) -
IDE:
STM32CubeIDE 1.19.0
- You must create a ST account to download the IDE.
- Important: After installation, you need to log in to use the IDE.
STM32 provides a wide range of official documents for different purposes. In my opinion, the following are the most essential:
-
Datasheet
- Basic introduction to the MCU
- Block diagram
- Pin descriptions: Each pin supports only a limited set of functionalities; check this section for mapping.
- Order information: Understand designations like
"RE".
-
Reference Manual
- Comprehensive technical details
- System architecture and memory map
- In-depth explanation of each peripheral:
- Functionality of each register — this is essential reading beyond just using the provided APIs.
- Register addresses
-
User Manual
- Powering the board (multiple configurations supported)
- The pin of USER Button and USER LED
- The UART mapped to the virtual COM port
- Description of onboard LED indicators
-
Schematic
- Full PCB wiring details
- Understand why certain pins cannot be used for specific peripheral
