STM32 Microcontroller Learning Notes

STM32 Microcontroller Learning Notes

1. The AHB system bus is divided into APB1 (36MHz) and APB2 (72MHz), where 2>1 means APB2 connects to high-speed devices. 2. Stm32f10x.h is equivalent to reg52.h (which contains basic bit operation definitions), while stm32f10x_conf.h is specifically for controlling the configuration of peripheral devices, essentially acting as a switch for header files. 3. HSE Osc … Read more

Comprehensive Guide to STM32 GPIO

Comprehensive Guide to STM32 GPIO

1. Introduction to GPIO GPIO stands for General-Purpose Input/Output, which can be simply understood as the pins controllable by STM32. The GPIO pins of the STM32 chip connect to external devices, enabling communication, control, and data acquisition with the outside world. The GPIO pins of the STM32 chip are divided into several groups, each with … Read more

Mastering STM32: Overcoming Project Challenges

Mastering STM32: Overcoming Project Challenges

Follow,Star public number, don’t miss wonderful content Source: Zhihu Editor: Zhang Qiaolong Someone asked on Zhihu: I’ve been learning STM32 for a long time, but I still feel helpless when it comes to doing projects independently? I started learning from 51, and now I’ve been learning STM32 for almost two years, mainly following the courses … Read more

Reverse Engineering STM32 Firmware: A Comprehensive Guide

Reverse Engineering STM32 Firmware: A Comprehensive Guide

This article is a highlight from the KX forum, authored by KX forum user ID: Lpwn 1 Overview Using an old project on fan control as an experiment. It utilized external interrupts, timer interrupts, and PWM. The MCU is STM32F103ZET6. In the Keil settings, you can see the starting address of the firmware, which is … Read more

Understanding Arduino: Differences from Microcontrollers and Beginner’s Guide

Understanding Arduino: Differences from Microcontrollers and Beginner's Guide

Q: How can I see articles like this every day? A: Just search for the public account “51 Microcontroller Learning Network” and follow it for free Readers who work with microcontrollers should have heard of Arduino or even used it, but many friends are still unclear about what Arduino actually is. Today, I will briefly … Read more

Introduction to Microcontroller Basics and Circuit Diagrams

Introduction to Microcontroller Basics and Circuit Diagrams

Innovation Classroom Lesson Five Mechanical Society Microcontroller Basics and Circuit Diagrams Class Information Instructor: Shao Ziyang Location: Room 507, Building 37 Date: November 22 (Friday) at 6:30 PM Class Content 01 Understanding Microcontroller Basics First, Minister Shao introduced the unique position of microcontrollers as microcomputers, analyzing their basic structure, including core components like CPU, memory, … Read more

Creating an SPWM Inverter Module with STM32 Microcontroller

Creating an SPWM Inverter Module with STM32 Microcontroller

Contributed by Circuit City Source: Yufei Network Function Description This module can convert a DC input voltage of 4.5V to 35V into an AC voltage of ±4.5V to ±35V. The module uses the STM32F030F4P6 microcontroller to generate SPWM waves to drive the L298 module. The L298 module integrates an H-bridge circuit and the circuit that … Read more

Choosing the Right Power Module for Your Design: A Critical Decision!

Choosing the Right Power Module for Your Design: A Critical Decision!

When transitioning from concept to product, selecting a power supply is essential. An isolated power module provides 12V power for advanced ASICs, microcontrollers, FPGAs, and various other components. As always, these components practically fill the space on the circuit board, providing sufficient power, stability, thermal performance, low noise, and reliability, which challenge the laws of … Read more

Advanced MPU Memory Protection for Dynamic APP Loading on Microcontrollers

Advanced MPU Memory Protection for Dynamic APP Loading on Microcontrollers

This video tutorial brings you advanced techniques for dynamic APP loading on microcontrollers with MPU memory protection. By utilizing MPU and SVC, applications can be isolated, ensuring that even if an APP crashes, the system remains unaffected. The dynamic APP loading on microcontrollers is similar to Android applications, allowing programs to be loaded from various … Read more

Dynamic APP Loading Techniques for Microcontrollers

Dynamic APP Loading Techniques for Microcontrollers

Dynamic APP loading techniques for microcontrollers are similar to applications on mobile phones and computers, allowing programs to be loaded from various sources such as SD cards, NAND, NOR, eMMC, etc., into execution spaces like SRAM, SDRAM, QSPI Flash, and internal Flash. Moreover, if MPU support is available, it can isolate APPs; if an APP … Read more