C++ Embedded Development: Basics and Practices of Hardware Programming

C++ Embedded Development: Basics and Practices of Hardware Programming

C++ Embedded Development: Basics and Practices of Hardware Programming Introduction With the rapid development of the Internet of Things and smart devices, the demand for embedded systems is increasing. C++, as an efficient and flexible programming language, is widely used in embedded development. This article will introduce the basic concepts of C++ in embedded development, … Read more

Understanding the Confusion Between DE and RTS in UART Interfaces

Understanding the Confusion Between DE and RTS in UART Interfaces

Content Hello everyone, I am Bug Jun~In industrial communication and embedded development, RS485 has become one of the mainstream buses due to its high anti-interference capability and multi-node support. However, many engineers often confuse two key signals when debugging RS485: DE and RTS. They both appear to be “control send” signals, and in some circuits, … Read more

Common Communication Interfaces II (Principles and Differences of CAN, I2C, SPI, UART, GPIO)

Common Communication Interfaces II (Principles and Differences of CAN, I2C, SPI, UART, GPIO)

The previous article organized common communication interfaces I (RS232/RS485/USB/TYPE-C principles and differences), and in this article, we continue to organize the principles and differences of CAN, I2C, SPI, UART, and GPIO. 1.CAN Bus Interface 1)Definition CAN stands for Controller Area Network, developed by the German company BOSCH, known for its research and production of automotive … Read more

Implementation Method of Custom UART Communication Protocol

Implementation Method of Custom UART Communication Protocol

Follow+Star Public Account Number, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | strongerHuang When we learn about microcontrollers, the first thing we might encounter is lighting up (GPIO), and then it’s serial communication (UART). Serial communication is a commonly used communication interface and is essential knowledge for learning embedded systems. … Read more

PY32 Series Microcontroller Offline Programmer with Configurable Options for Batch Programming

PY32 Series Microcontroller Offline Programmer with Configurable Options for Batch Programming

The PY32 offline programmer currently supports chip models in the PY32F002A/002B/002/003/030/071/072/040/403/303 packages and XL32F001/003. The PY32 offline programmer uses a MINI-USB interface, providing a stable physical connection. The device communicates with the computer via a serial port, with a fixed baud rate of 1M. It must be used in conjunction with our host software. The … Read more

Introduction to UART Serial Communication Design in FPGA

Introduction to UART Serial Communication Design in FPGA

Introduction: UART is a universal serial data bus used for asynchronous communication. This bus supports bidirectional communication, enabling full-duplex transmission and reception. UART is commonly used for data communication with PCs, as well as for the transmission of command and control information. In this article, we will introduce the UART communication protocol, transmission timing, and … Read more

Hardware Debugging for Reverse Engineers Part 1: SWD, OpenOCD, and Xbox One Controller

Hardware Debugging for Reverse Engineers Part 1: SWD, OpenOCD, and Xbox One Controller

“This article details the process of hardware disassembly, firmware extraction, debugging, and modification of the Xbox One controller. The author explores the internal structure by disassembling the controller, identifies the SWD interface, and uses the OpenOCD tool for hardware debugging. The article also explains how SWD works, how to use OpenOCD for firmware extraction and … Read more

FPGA UART Transmission Module – Detailed Analysis with Code

FPGA UART Transmission Module - Detailed Analysis with Code

Welcome to leave a message, each message will be selected, and I will reply on the same day. Any errors in the article will also be updated in the reply. #FPGA #UART Transmission #Volatility Generation #Timing Logic The Verilog code is at the bottom of the article. 1. Design File <span>uart_byte_tx</span> Function Analysis This module … Read more

Key Considerations for Developing FPGA UART with EIA/TIA-232

Key Considerations for Developing FPGA UART with EIA/TIA-232

In FPGA development, the design of the wiring for the UART interface, specifically the EIA/TIA-232 (commonly known as RS-232) interface, is crucial. A reasonable wiring layout not only enhances communication stability but also effectively reduces signal interference. Below are the key points for EIA/TIA-232 interface in FPGA UART development. 1. Signal Line Layout TX/RX Pair: … Read more

51 Microcontroller 8-Port Serial Communication

51 Microcontroller 8-Port Serial Communication

This section discussesserial communication and the basic theories of communication. 1. Preliminary Knowledge of Serial Ports 1. Classification of Serial Ports A serial port is a widely usedcommunication interface, characterized bylow cost, ease of use, and simple communication lines, allowingtwo devices to communicate with each other. Note: Only two devices can be connected. The microcontroller’s … Read more