Hardware Debugging of STM32F373 Control Board

Hardware Debugging of STM32F373 Control Board

Signal Acquisition and Control Circuit Board Based on STM32F373 – Production Process[1] 01 STM32F373 Debugging Process 1. Introduction   This is the signal acquisition and control circuit board just made, designed based on the STM32F373 microcontroller. Below, we will debug this freshly soldered circuit board to prepare for the subsequent software development. 2. Preliminary Debugging 1. … Read more

A Comprehensive Guide to STM32 Watchdog (Part 1)

A Comprehensive Guide to STM32 Watchdog (Part 1)

● Significance of the Watchdog 1、 The c language execution process In microcontrollers, c programs execute sequentially starting from address 0, where the PC pointer indicates the current execution address. For the STM32F407, as the code executes, the PC pointer continuously moves along the memory addresses. When it reaches the last statement of the main … Read more

Testing the 16-bit ADC in STM32F373

Testing the 16-bit ADC in STM32F373

1. Introduction   The previously made test circuit board for the STM32F373 did not have the 16-bit high-precision ADC pins exposed, so a new board was made to test the performance of the 16-bit ADC in the F373. 2. Designing the Circuit Board   Based on the previous experimental circuit board, the original output pin header was … Read more

Step-By-Step Guide to STM32 General Timers (Part 1)

Step-By-Step Guide to STM32 General Timers (Part 1)

● General Timer (TM2~TM5) The general timer is managed by the chip and can perform up counting, down counting, or both simultaneously. Additionally, these timers have other functionalities: input capture, output compare, PWM, and single pulse. ● From Manual to Flow The main module of the timer consists of a 16/32-bit counter and its related … Read more

Building STM32 F103C8T6 System Board Download Circuit Tutorial

Building STM32 F103C8T6 System Board Download Circuit Tutorial

1. What is a Download Circuit The download circuit of a microcontroller refers to the hardware circuit used to download the written program (firmware) to the internal memory of the microcontroller. This process is often referred to as programming or flashing. The download circuit includes the debugging interface with the microcontroller and the corresponding circuit … Read more

Step-by-Step Guide to STM32 GPIO

Step-by-Step Guide to STM32 GPIO

GPIO, translated as General Purpose Input Output. I believe everyone is quite clear about the meaning of input and output. The most commonly used output function is the LED, while the most commonly used input function is the key. To use the GPIO functionality of STM32, the first thing to clarify is who controls this … Read more

Hands-On STM32 SPI Interface (Part 1)

Hands-On STM32 SPI Interface (Part 1)

●SPI Bus 1. What is SPI SPI is the abbreviation for Serial Peripheral Interface, which is a serial peripheral interface. SPI is a high-speed, full-duplex, synchronous communication bus that occupies only four pins on the chip, saving pin space and providing convenience for PCB layout. Due to its simplicity and ease of use, more and … Read more

Summary of C Language Basics for STM32 Microcontrollers

Summary of C Language Basics for STM32 Microcontrollers

C language is essential foundational knowledge in microcontroller development. This article lists some common C language basics encountered while learning STM32. 1 Bit Manipulation First, we will explain several bitwise operators, followed by tips for using bitwise operations. The C language supports the following six types of bitwise operations: Next, we will focus on some … Read more

Designing High Load UART Communication with STM32

Designing High Load UART Communication with STM32

1 Introduction Direct Memory Access (DMA) is a component used by the CPU to “move” (copy) data from one address space to another without CPU intervention during the data copying process. The CPU is notified once the data copying is complete. As a result, using DMA can free up CPU resources when copying large amounts … Read more

STM32 F103C8T6 System Board Reset Circuit Design Tutorial

STM32 F103C8T6 System Board Reset Circuit Design Tutorial

1. Reset (1) What is Microcontroller Reset The reset of the STM32 microcontroller refers to the process of resetting the microcontroller to its initial startup state. The reset behavior causes all running programs to terminate and restores the microcontroller’s registers and functions to their initial values. The reset process provides a known starting state for … Read more