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

Discussion on LPUART Waking Up MCU from STOP Mode

Discussion on LPUART Waking Up MCU from STOP Mode

Introduction In low-power applications, it is sometimes necessary to put the MCU into STOP mode to save power. In some chip architectures, to achieve this, the serial port pins are often configured as general I/O pins with external interrupt mode before entering low-power mode. While this can achieve the desired effect, it inevitably leads to … Read more

Using the CW32 Module with a 0.96-inch SPI Monochrome Screen

Using the CW32 Module with a 0.96-inch SPI Monochrome Screen

1. Module Source>>> Module Physical Display: Data Download Link: https://pan.baidu.com/s/1U9r32qeS2jOANB0SNwtwnw Data Extraction Code: 8888 2. Specifications>>> Refer to manufacturer documentation for the following information: Operating Voltage: 3.3V Operating Current: 15MA Module Size: 27.3 x 27.8 MM Pixel Size: 128(H) x 64(V) RGB Driver Chip: SSD1306 Communication Protocol: SPI Pin Count: 7 Pins (2.54mm pitch header) … 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

Understanding SPI Communication (1)

Understanding SPI Communication (1)

The SPI protocol is a commonly used high-speed, full-duplex, synchronous serial communication protocol, widely used for data exchange with sensors (such as temperature sensors, pressure sensors, etc.), data storage and retrieval from storage devices (such as EEPROM, FLASH memory), control of display modules (such as LCD screens, OLED screens, etc.), communication with wireless communication modules … Read more

An Introduction to SPI

An Introduction to SPI

SPI (Serial Peripheral Interface) is a synchronous serial communication protocol widely used in embedded systems and peripheral communication. SPI follows a one-master, multiple-slave communication method. Based on its operating modes and extended functionalities, SPI can be categorized into the following types based on hardware connection methods: 1. Standard SPI, commonly referred to as SPI, it … Read more

Implementing SD Card Data Storage via SPI Interface on Microcontrollers

Implementing SD Card Data Storage via SPI Interface on Microcontrollers

Ahem… another sleepless night tortured by SD cards! I remember a young engineer asking me last week, “Why does his data keep disappearing after writing?” This reminded me of my own struggles back in the day. The SD card, though seemingly insignificant, often gives engineers a headache… What exactly is an SD card? Simply put, … Read more

SPI Testing at the Second SMT Station: A Key Step in Ensuring Quality in Electronics Manufacturing

SPI Testing at the Second SMT Station: A Key Step in Ensuring Quality in Electronics Manufacturing

In modern electronics manufacturing, Surface Mount Technology (SMT) plays a crucial role. The SPI (Solder Paste Inspection) at the second SMT station is an important inspection process in the SMT production line, which is essential for ensuring product quality, improving production efficiency, and reducing production costs. One day, on the SMT production line, the SPI … Read more

Troubleshooting Incorrect Baud Rate Configuration for S32K324 MCAL SPI

Troubleshooting Incorrect Baud Rate Configuration for S32K324 MCAL SPI

Introduction During the project development process, it was found that the actual baud rate configured for the MCAL SPI did not match the clock frequency captured by the logic analyzer. The actual frequency was only half of the configured value. This article documents the troubleshooting process for this issue. MCAL Configuration Check The baud rate … Read more

Fundamentals of Four-Line SPI Communication and Daisy Chain Configuration

Fundamentals of Four-Line SPI Communication and Daisy Chain Configuration

Formatting | Last BugThe main content shared today is derived from ADI’s SPI knowledge study. SPI is one of the most commonly used communication methods in embedded development. However, most embedded software engineers often focus more on upper-layer software development and tend to overlook some underlying signal formats. When communication issues arise, it can be … Read more