Classic Microcontroller Power Supply Circuit Analysis

Classic Microcontroller Power Supply Circuit Analysis

Click the blue text to follow us Today, we will analyze a classic microcontroller power supply circuit. The circuit schematic is shown in the figure below: ▲ Simplified switch circuit Before powering the circuit, the switch “TEST” is open, and the microcontroller is not powered through VCC. At this time, the base of T1 is … 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

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

Powerful ITM Debugging Tool for STM32

Powerful ITM Debugging Tool for STM32

STM32 has a code tracing feature, known as ITM, which is a very powerful debugging function that can replace serial input/output functionality, requiring only one I/O line to implement. Of course, its benefits are not limited to this; when debugging embedded operating system code, you will find it quite convenient. However, the focus of this … Read more

How to Solve Runaway Phenomenon During STM32 Upgrade with IAP?

How to Solve Runaway Phenomenon During STM32 Upgrade with IAP?

During the firmware upgrade process of the STM32 microcontroller, many engineers choose the IAP technology, which allows firmware updates to the microcontroller via the host computer while the application is running. However, occasionally, there may be a low probability of encountering a runaway phenomenon. How to solve it? 1. Check Power Supply Voltage Ensure that … Read more

Comprehensive Embedded System Vocabulary Reference

Comprehensive Embedded System Vocabulary Reference

A ASIC (Application-Specific Integrated Circuit) – A piece of custom-designed hardware in a chip. address bus – A set of electrical lines connected to the processor and all of the peripherals with which it communicates. The address bus is used by the processor to select a specific memory location or register within a particular peripheral. … Read more

Understanding OBG in Microcontrollers

Understanding OBG in Microcontrollers

Understanding OBG in Microcontrollers: The STM32 microcontroller’s core (Cortex-M3) contains a hardware debugging module that supports various complex debugging operations. The hardware debugging module allows the core to halt when fetching addresses or accessing data—this is the assurance we have for online simulation during microcontroller development and debugging.When the core is halted, both its internal … Read more

HardFault Diagnosis Methods and Steps

HardFault Diagnosis Methods and Steps

1. Introduction to Cortex-M0 Processor Core Exception Interrupts The Cortex-M0 core is equipped with an exception response system that supports numerous system exceptions and external interrupts. Among them, numbers 1-15 correspond to system exceptions, while numbers greater than or equal to 16 are all external interrupts. The smaller the numerical value of the priority, the … Read more

How to Use KEIL MDK to Download Programs

How to Use KEIL MDK to Download Programs

1. Introduction to KEIL MDK RealView MDK development suite originates from Keil, Germany, and has been validated and used by over 100,000 embedded development engineers worldwide. It is the latest software development tool released by ARM for various embedded processors. RealView MDK integrates the most advanced technologies in the industry, combining the features and functions … Read more