Differences Between RS-232 and RS-485

Differences Between RS-232 and RS-485

Any form of communication requires rules to ensure everyone is on the same page. In electronics, these rules take the form of standards—these are widely applicable design specifications recommended by industry associations. Following these guidelines helps engineering devices speak the same electronic language, enabling efficient and reliable communication. RS-232 (“RS” stands for “Recommended Standard”) was … Read more

Detailed Explanation of RS-485 Pull-Up and Pull-Down Resistors Selection

Detailed Explanation of RS-485 Pull-Up and Pull-Down Resistors Selection

The RS-485 bus is widely used in communication, industrial automation, and other fields. In practical applications, we often encounter the question of whether to add pull-up and pull-down resistors and what size of resistors is appropriate. Below, we will conduct a detailed analysis of these issues. 1. Why Are Pull-Up and Pull-Down Resistors Needed? 1. … Read more

Understanding RTT UART Device Driver Framework

Understanding RTT UART Device Driver Framework

Click on the above “Embedded Miscellaneous“, select “Pin to Top” to view programming notes at the first opportunity! Introduction to UART The STM32 chip has multiple USART peripherals for serial communication, which stands for Universal Synchronous Asynchronous Receiver and Transmitter. It can flexibly perform full-duplex data exchange with external devices. Unlike USART, it also has … Read more

In-Depth Notes on ZephyrRTOS (3): Why I Like Zephyr’s Cross-Platform Capability

In-Depth Notes on ZephyrRTOS (3): Why I Like Zephyr's Cross-Platform Capability

I believe the cross-platform abstraction provided by ZephyrRTOS is a very important feature. Of course, the abstraction itself also brings a more complex software architecture and a steeper learning curve. Recently, I tried to use the nRF52840 to create a low-power Bluetooth + LTE + GNSS board. Initially, the distributor lent me an nRF52840 DK, … Read more

In-Depth Introduction to ZephyrRTOS: Using Device Tree for Hardware Abstraction

In-Depth Introduction to ZephyrRTOS: Using Device Tree for Hardware Abstraction

In the previous article, we ran a minimal Hello World application. The original code is simply // Copyright (c) 2024 Qingdao IotPi Information Technology Ltd., All rights Reserved #include <zephyr/kernel.h> int main(void){ printk("Hello World! %s\n", CONFIG_BOARD); return 0;} which can output “Hello World” without any hardware configuration. This also reflects the hardware abstraction capability of … Read more

Common Bus Types Explained

Common Bus Types Explained

Before discussing buses, we should first understand what a bus is. According to the complete definition from Baidu: A bus is a common communication line for transmitting information between various functional components of a computer. It is a transmission line composed of wires, categorized according to the type of information transmitted by the computer. In … Read more

Common Methods for Receiving and Parsing UART Data

Common Methods for Receiving and Parsing UART Data

Follow+Star PublicAccount, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | strongerHuang The UART serial port is a common communication method in embedded development, but many people still do not know how to use the serial port. Today, I will share a few points about serial ports: Serial Port Receiving Methods … Read more

Detailed Explanation of Serial Ports, COM Ports, UART, TTL, RS-232, and RS-485

Detailed Explanation of Serial Ports, COM Ports, UART, TTL, RS-232, and RS-485

During debugging, various interfaces and conversion boards are encountered, and the feeling of not fully understanding can be quite frustrating! First, serial ports, UART ports, COM ports, and USB ports refer to physical interface forms (hardware). TTL, RS-232, and RS-485 refer to level standards (electrical signals). Serial Port: The term serial port is a general … Read more

FPGA-Based Multi-Channel UART/SPI Communication System

FPGA-Based Multi-Channel UART/SPI Communication System

1. Design Overview This design implements a multi-channel UART/SPI communication system, capable of one-to-many communication. The system can operate in UART mode or SPI mode. The reason I chose this topic is mainly that my current laboratory needs to write a fast communication system based on UART. This topic can help solidify my previously learned … Read more

Detailed Differences Between Serial Ports, COM Ports, UART, TTL, RS-232, and RS-485

Detailed Differences Between Serial Ports, COM Ports, UART, TTL, RS-232, and RS-485

Welcome FPGA engineers to join the official WeChat technical group. Clickthe blue textto follow us at FPGA Home – the best and largest pure FPGA engineering community in China During debugging, you will always encounter various interfaces and conversion boards, and the feeling of not fully understanding can be very frustrating! First, serial ports, UART … Read more