Common Printing Output Methods and Their Differences in Microcontroller Development

Common Printing Output Methods and Their Differences in Microcontroller Development

Follow+Star Public Account Number, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | Embedded Column In microcontroller (MCU) development, printing output is quite common and important. Today, I will share with you the common printing output methods and their differences. 1Introduction In MCU projects, printf is mainly used to print debugging … Read more

Design and Implementation of a Multi-Machine Communication System Based on the 51 Microcontroller

Design and Implementation of a Multi-Machine Communication System Based on the 51 Microcontroller

This article introduces a design scheme for a multi-machine communication system based on the 51 microcontroller. The system achieves data exchange between a master device and multiple slave devices through a serial communication interface (UART), supporting address recognition and data verification functions. The article elaborates on the system’s hardware design, software programming, and communication protocol … Read more

Understanding the SWD Debug Interface Protocol

Understanding the SWD Debug Interface Protocol

Overview 1.1 What is the SWD Protocol SWD (Serial Wire Debug) is a two-wire debugging interface protocol developed by ARM, specifically designed for debugging and programming Cortex-M series microcontrollers. As a replacement for the traditional JTAG interface, SWD significantly reduces the number of pins while maintaining powerful debugging capabilities, making it the mainstream choice for … Read more

Complete Technical Analysis of 51 Microcontroller and PC Serial RS-485 Communication: What You Should Know

Complete Technical Analysis of 51 Microcontroller and PC Serial RS-485 Communication: What You Should Know

In various fields such as industrial control and smart home systems, communication between devices is a key aspect of achieving system functionality. The RS-485 bus, with its strong anti-interference capability, long transmission distance, and multi-node communication advantages, has become a widely used serial communication standard. The 51 microcontroller, as a classic entry-level microcontroller, can achieve … Read more

STM32CUBEMX Tutorial 5 — DMA Configuration & Combining DMA with UART for Data Transfer

STM32CUBEMX Tutorial 5 — DMA Configuration & Combining DMA with UART for Data Transfer

Follow and star the public account “Embedded Development Notes”,so you won’t miss any exciting content! Previous articles recommended:STM32CUBEMX Tutorial 4 — UART (USART) Configuration and Redirecting printf OutputSTM32CUBEMX Tutorial 3 — Using External Interrupts (EXTI)STM32CUBEMX Tutorial 2 — Using GPIO, Input/OutputSTM32CUBEMX Tutorial 1 — Environment Setup and New Project CreationDetailed Installation Guide for STM32CUBEMX1. Introduction … Read more

Understanding the SWD Debug Interface Protocol

Understanding the SWD Debug Interface Protocol

Scan to FollowLearn Embedded Systems Together, learn and grow together Overview 1.1 What is the SWD Protocol SWD (Serial Wire Debug) is a two-wire debugging interface protocol developed by ARM, specifically designed for debugging and programming Cortex-M series microcontrollers. As a replacement for the traditional JTAG interface, SWD significantly reduces the number of pins while … Read more

ESP32: Serial Communication Interface Protocols

ESP32: Serial Communication Interface Protocols

The ESP32, as a powerful IoT chip, integrates various serial communication interface protocols to meet different connectivity and peripheral needs. Below are the main serial communication protocols supported by the ESP32 and their characteristics: 1. Universal Asynchronous Receiver/Transmitter (UART) Protocol Basics: Asynchronous Serial Communication: No clock signal line is required; both parties communicate based on … Read more

MCUViewer: A GUI-Based Debugging Tool for Microcontrollers (MCUs)

MCUViewer: A GUI-Based Debugging Tool for Microcontrollers (MCUs)

Hey, embedded friends, are you still logging with UART, watching the serial output scroll line by line, which is tedious and time-consuming? Have you ever thought: what if there was a visual tool that could help you instantly understand variable changes and function execution times, could the debugging experience be elevated? The answer is — … Read more

Linux Kernel Subsystem – UART Subsystem

Linux Kernel Subsystem - UART Subsystem

1 Introduction In a formal project, I encountered a problem during serial communication where a sequence of data was unexpectedly interrupted by a 00. The data received from the hardware FIFO was correct, but the data received at the upper layer was abnormal. This issue might be obvious to someone with experience, but for those … Read more

Microcontroller Serial Interfaces and Communication Technologies

Microcontroller Serial Interfaces and Communication Technologies

Microcontroller Serial Port Communication Technology The serial interface and communication of microcontrollers are core technologies for data transmission between devices in embedded systems. 1. Basics of Serial Communication 1.Serial vs Parallel Communication Serial communication: Transmits data bit by bit, using fewer pins (14), suitable for long distances and low power consumption scenarios. Parallel communication: Multiple … Read more