Embedded – UART-Based Communication Protocols

Embedded - UART-Based Communication Protocols

The following is an introduction to common communication protocols based on the UART bus: 1. Modbus Protocol (RTU Mode) •Introduction:Modbus is a widely used master-slave communication protocol in industrial control, divided into RTU (Remote Terminal Unit) and ASCII modes, with RTU mode being the most commonly used version of UART. •Features: ◦Binary Transmission:Data is packed … Read more

Detailed Explanation of UART Project – 08 Simulation Framework

Detailed Explanation of UART Project - 08 Simulation Framework

Click to follow the above “Two Monkey Society“ Set as “Top or Star“, and the valuable content will be delivered first. IC Monkey | Two Monkey Society Introduction The previous articles have covered the design part, and this article will analyze the simulation part of the code. This article mainly explains the overall simulation method … Read more

Principles, Differences, and Connections of the Three Major Embedded Protocols: UART, SPI, and I²C

Principles, Differences, and Connections of the Three Major Embedded Protocols: UART, SPI, and I²C

1. UART (Universal Asynchronous Receiver/Transmitter) The host and slave must connect at least three wires: RX, TX, and GND. TX is used for sending data, while RX is for receiving data (the transmission and reception are not on the same line, hence it is full-duplex). Basic Characteristics: Asynchronous Communication: No shared clock signal, relies on … Read more

Digital Power Software Interview: How to Answer Questions About the I2C Protocol in Microcontrollers?

Digital Power Software Interview: How to Answer Questions About the I2C Protocol in Microcontrollers?

Digital power modules utilize various communication protocols such as I2C, SPI, CAN, UART, etc., as well as interaction protocols based on these, such as CANopen, SAE 1939, SMbus, PMbus, Modbus, etc. This article simulates a Q&A session regarding I2C communication knowledge. Question 1: What are the components of I2C communication, and what are their functions? … Read more

FreeMaster – A Powerful Debugging Tool for MCUs

FreeMaster - A Powerful Debugging Tool for MCUs

What is FreeMaster FreeMaster is a data visualization debugging software developed by NXP, provided free of charge to users. Its main function is to provide a data visualization interface on a PC, displaying data variables from the MCU through communication interfaces such as SWD, UART, and CAN. When using the J-Link debugging tool for connection, … Read more

What Are the Differences Between Expensive and Cheap MCU Debuggers?

What Are the Differences Between Expensive and Cheap MCU Debuggers?

Click on the aboveblue text to follow us MCU debuggers play an important role in embedded development. The price difference is usually determined by multiple factors such as functionality, compatibility, performance, and support services. 1 Basic Functionality and Protocol Support for SWD The two-wire debugging protocol (SWDIO and SWCLK) commonly used for ARM Cortex-M series … Read more

System Practice Learning ARMv8 Assembly – Course 2

System Practice Learning ARMv8 Assembly - Course 2

Course 2: Stage 1 – Basic Preparation (Week 2) Topic: Detailed Explanation of ARMv8 Registers and Instruction Set, Bare-Metal Programming Practice 2.1 In-Depth Analysis of Registers Classification of ARMv8 Registers: General Purpose Registers (31): <span>X0</span>: Function Argument 1 / Return Value. <span>X1-X7</span>: Function Arguments 2-8. <span>X8</span>: System Call Number. <span>X29</span>: Frame Pointer (FP). <span>X30</span>: Link … Read more

System Practice Learning ARMv8 Assembly – Course 3

System Practice Learning ARMv8 Assembly - Course 3

Course 3: Stage 2 – Core Instructions and Programming Topic:Function Calls and Stack Operations, ARMv8 Calling Conventions, Bare-Metal Programming Practice 3.1 Basics of Function Calls Core Concepts: BL Instruction: <span>BL label</span>:Jump to<span>label</span> to execute, while saving the return address (the address of the next instruction) to<span>LR</span> (X30). After the function call, return using<span>RET</span> (<span>RET</span> is … Read more

Six Microcontroller Communication Methods: Learn How to Choose in Three Minutes!

Six Microcontroller Communication Methods: Learn How to Choose in Three Minutes!

With the rapid development of electronic technology, microcontrollers are increasingly used in various electronic systems. Initially, there were not many issues in simple systems, but in complex systems, multiple microcontrollers need to work together to achieve their respective functions and communicate with each other. Therefore, learning how to choose the communication method for microcontrollers is … Read more

Animated Diagrams | Common Communication Protocols in Embedded Systems

Animated Diagrams | Common Communication Protocols in Embedded Systems

These animated diagrams displaying signal waveforms in electronic systems help us understand the mechanisms of transmission. 1 SPI Transmission ▲ Figure 1 SPI Data Transmission ▲ Figure 1.2 SPI Data Transmission (2) ▲ Figure 1.3 SPI Timing Signal 2 I²C Transmission ▲ Figure 1.2.1 I2C Bus and Addressing Method 3 UART Transmission ▲ Figure 1.3.1 … Read more