Easy Introduction and Practice with STM32 Microcontroller

Easy Introduction and Practice with STM32 Microcontroller

Introduction The STM32 series chips are developed based on the Cortex-M3 core. They adopt the industry-leading Cortex-M3 core architecture, utilizing Harvard architecture and the Thumb-2 instruction set. They can achieve 32-bit performance with a 16-bit code density. Additionally, with single-cycle multiplication instructions, hardware division instructions, and a built-in fast interrupt controller, STM32 chips can run … Read more

Common Issues and Solutions in STM32 Debugging

Common Issues and Solutions in STM32 Debugging

Click the above “Chuangxue Electronics” to follow and easily learn electronic knowledge. Chuangxue Electronics Subscription Daily updates on technical articles in the electronics industry and the latest news on microcontrollers, allowing you to learn easily anytime, anywhere. In the debugging of STM32 microcontrollers, a series of issues may arise. This article mainly introduces the possible … Read more

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