RA MCU Testing Guide | Unboxing and Serial Output Implementation of the RA2L1 Development Board

RA MCU Testing Guide | Unboxing and Serial Output Implementation of the RA2L1 Development Board

#RA MCU Testing Guide A new topic has arrived! After saying goodbye to the PWM waveform rhythm, this time we will focus on the indispensable “information bridge” – #Serial Communication. The Renesas Embedded Encyclopedia will guide everyone to explore the configuration and data transmission of serial communication step by step based on the RA-Eco-RA2L1 development … Read more

How Does Modbus Work?

How Does Modbus Work?

Follow+Star PublicAccount, don’t miss out on exciting contentAuthor | strongerHuangWeChat Public Account | Embedded ColumnYou may not know what Modbus is, but in reality, Modbus is widely used in many industrial electronic systems. What is Modbus? Modbus is a communication protocol developed by Modicon (now Schneider Electric) in 1979 for PLCs, primarily used for networking … Read more

Debugging Techniques for Serial Communication in 51 Microcontrollers Using Keil Software Simulation

Debugging Techniques for Serial Communication in 51 Microcontrollers Using Keil Software Simulation

Introduction In microcontroller systems, the serial port (UART, Universal Asynchronous Receiver-Transmitter) is a very important component. Typically, the microcontroller’s serial port connects to the host computer via RS232/RS485 level conversion chips for data exchange, parameter settings, network composition, and connections to various external devices. The RS232/RS485 serial interface bus is characterized by low cost, simplicity, … Read more

STM32 UART Variable Length Reception: A Comprehensive Guide

STM32 UART Variable Length Reception: A Comprehensive Guide

Click the blue text above to follow us Embedded Training – Choose Jufeng Smart Link Why Use UART Variable Length Reception Standard blocking reception functions HAL_UART_Receive(UART_HandleTypeDef * huart, uint8_t * pData, uint16_t Size,uint32_t Timeout) // huart: handle // pData: variable to hold received data // Size: size of data to be received Interrupt reception functions … Read more

Common Buses Used by Embedded Engineers

Common Buses Used by Embedded Engineers

What is a Bus? A bus is a common communication line for transmitting information between various functional components of a computer, consisting of a bundle of wires. In fact, a bus is an internal structure that serves as a public channel for information transfer between the CPU, memory, input, and output devices. To simplify hardware … Read more

Basics of Peripheral Control with ESP32: UART Communication

Basics of Peripheral Control with ESP32: UART Communication

1. Basic Concepts of UART UART (Universal Asynchronous Receiver/Transmitter) is a universal asynchronous transceiver with the following characteristics: Asynchronous Communication: No clock line is required, only TX (transmit) and RX (receive) data lines are needed. Full-Duplex Transmission: Supports simultaneous data transmission and reception. Flexible Configuration: Baud rate, data bits, parity bits, and stop bits can … Read more

Comprehensive Guide to Embedded Communication Protocols: Summary from UART to CAN!

Comprehensive Guide to Embedded Communication Protocols: Summary from UART to CAN!

Comparison and Analysis of Embedded System Communication Protocols In embedded system development, these six major communication protocols each have their strengths: UART, with its simple and user-friendly characteristics, is often used for short-distance (1m) debugging communication between MCUs and sensors; RS232 achieves a stable 15m connection with host computers through level conversion chips, making it … Read more

Understanding UART, I2C, and SPI Protocols

Understanding UART, I2C, and SPI Protocols

UART, I2C, and SPI are common low-speed board-level communication protocols. Currently, mainstream SoCs are equipped with controllers for these communication protocols, and various sensors, touch controllers, fingerprint modules, Bluetooth modules, and Wi-Fi modules are compatible with one or more of these communication methods. Below, we will discuss each protocol:UART UART generally consists of three lines: … Read more

Summary of Common Communication Interfaces in Embedded Development

Summary of Common Communication Interfaces in Embedded Development

In embedded systems, on-board communication interfaces refer to the communication pathways or buses used to connect various integrated circuits with other peripheral devices. The following content summarizes commonly used on-board communication interfaces: including I2C, SPI, UART, and 1-Wire: I2C Bus The I2C bus is a synchronous, bidirectional, half-duplex two-wire serial interface bus. Here, half-duplex means … Read more

The Great Communication Protocol Battle: Why Do Some Chips Use UART, Others Use SPI, and Some Prefer I2C? The Truth is More Complex Than You Think!

The Great Communication Protocol Battle: Why Do Some Chips Use UART, Others Use SPI, and Some Prefer I2C? The Truth is More Complex Than You Think!

🚗The Great Communication Protocol Battle: Why Do Some Chips Use UART, Others Use SPI, and Some Prefer I2C? The Truth is More Complex Than You Think!🎯 🎓 Keywords: UART, SPI, I2C, chip communication, hardware design🧑🔧 Target Audience: Electronics beginners, communication novices, embedded developers 🚀 Opening Statement: It’s not the chips choosing the protocol, it’s the … Read more