Python | Typhoon GPI | Potential Intensity

Python | Typhoon GPI | Potential Intensity

Typhoon “Capricorn” The “Capricorn” typhoon passed… Lin Daiyu pulling down the willow GPI I often see or hear about GPI in some articles and group meetings, but I never knew what it was, so I spent half an hour to understand it. Genesis Potential Index (GPI) is an index used to predict the likelihood of … Read more

Notes on Implementing Python Programming Control with ESP8266 Module

Notes on Implementing Python Programming Control with ESP8266 Module

1. Two Python Development Paths The ESP8266 runs Python mainly through two methods; understand the differences before getting started: MicroPython Firmware: Burn a lightweight version of Python directly into the module, allowing it to run Python code independently (suitable for local control); Remote Control: The ESP8266 runs a server, and a computer/mobile device sends commands … Read more

RK3588S GPIO Usage Instructions

RK3588S GPIO Usage Instructions

1. GPIO Circuit In the RK3588S, there are two types of GPIO that support 1.8V and configurable 1.8V/3.3V voltage levels. 2. GPIO Pin Name Description For example, functions such as GMAC1_PPSCLK, UART7_RX_M1, SPI1_CLK_M1 are multiplexed on GPIO3_C1, and only one function can be selected during allocation. Except for the boot-related GPIOs, the remaining IOs are … Read more

STM32 Beginner’s Notes: GPIO Usage Methods

STM32 Beginner's Notes: GPIO Usage Methods

This note can be skipped by experienced users. Everything before entering is an obstacle, but looking back after entering, everything seems simple. Introduction to GPIO GPIO stands for General Purpose Input/Output. All pins of the STM32, except for specific functions like power and ground, VBAT, etc., can be used as GPIO. STM32 categorizes them into … Read more

Why Should MCU I2C Pins Be Configured as Open Drain Outputs?

Why Should MCU I2C Pins Be Configured as Open Drain Outputs?

I2C (Inter-Integrated Circuit) is a widely used bus protocol for data communication between MCUs and many chips, including the commonly used EEPROM chips from the AT24 series. The I2C bus consists of a serial clock line (SCL) and a serial data line (SDA). When developing an MCU as an I2C master, the GPIO pins corresponding … Read more

Understanding the Most Important and Fundamental Aspects of Embedded MCUs: GPIO, Clock, and Interrupts

Understanding the Most Important and Fundamental Aspects of Embedded MCUs: GPIO, Clock, and Interrupts

Level One: GPIO Comprehensive Analysis of GPIO Modes Mode Description Common Uses Input Floating No pull-up or pull-down, unstable level, easily interfered with External signal detection (not recommended by default) Input Pull-up/Pull-down Internally connected to high/low resistance, more stable level Button input, sensor level reading Push-Pull Output Clear high/low level switching, strong driving capability Driving … Read more

Resolving ‘Screen Tearing’ in STM32 SPI: A High-End Coffee Machine’s Color Display Issue

Resolving 'Screen Tearing' in STM32 SPI: A High-End Coffee Machine's Color Display Issue

This situation is quite amusing; it started as a problem with the color screen flickering, but after investigation, we ended up looking into GPIO configurations, which was unexpected. At that time, we were developing a high-end coffee machine equipped with a 3.5-inch TFT color display. The resolution wasn’t high, but the UI was custom-designed, requiring … Read more

FPGA Development SATA Protocol Manual: DMA in the SATA Transport Layer (Part 8)

FPGA Development SATA Protocol Manual: DMA in the SATA Transport Layer (Part 8)

Introduction In the SATA protocol, the essence of data transmission is the interaction of FIS (Frame Information Structure). Different FIS types are responsible for different aspects: some are for “notification”, some for “context configuration”, and others for “actual data transfer”. If we consider SATA as a highway, then these FIS are like traffic lights, road … Read more

What Advanced Applications Are There for MCUs?

What Advanced Applications Are There for MCUs?

On Zhihu, there is a very popular question – “What advanced applications are there for MCUs?”“ Zhihu:https://www.zhihu.com/question/623077193 It is often said that MCUs themselves are not particularly advanced. During the MCU development process, it is necessary to follow certain standards, such as defining variables and functions, determining their lifecycle, calling scope, access conditions, etc. Common … Read more

STM32 Series Tutorial (7): Understanding GPIO Interrupt Mechanism

STM32 Series Tutorial (7): Understanding GPIO Interrupt Mechanism

Table of Contents 1. GPIO Interrupt Related Registers 2. Code Implementation of PA1 Input Interrupt 3. Summary & Precautions 01 — GPIO Interrupt Related Registers In the previous STM32 series tutorial (3): Understanding STM32’s GPIO, several basic registers of GPIO were discussed. However, to use the interrupt functionality, it is necessary to utilize the GPIO … Read more