Transforming the AiShua Board into an STM32F401 Learning Platform

Transforming the AiShua Board into an STM32F401 Learning Platform

A few days ago, I posted an article titled “Disassembling the AiShua”, where I discovered that it uses the STM32F401CC microcontroller. This led me to wonder if I could modify it into a learning board for the STM32F401. After some exploration and experimentation, I successfully completed the modification, allowing for simulation downloads using STLink. I … Read more

Collection of Commonly Used Communication Protocols in Embedded Systems!

Collection of Commonly Used Communication Protocols in Embedded Systems!

UART, SPI, and I2C are very common serial communication methods in embedded development. The underlying communication principles of these protocols are not difficult, but many beginners struggle to learn them. Today, I will share some common underlying data transmission principles of these communication methods. UART Serial Communication UART: Universal Asynchronous Receiver-Transmitter. The UART serial port … Read more

Creating Your Own Chip (Part 2) – UART Section

Creating Your Own Chip (Part 2) - UART Section

Word count: 1092, reading time approximately 6 minutes Continuing from the last session, today we will implement the functionality of UART, primarily using the hardware description language Verilog. The interface design is actually quite simple. If we distill its essence, it can be divided into three main parts: data acquisition, state machine, and interface timing. … Read more

Why UART is Frequently Used in Embedded Debugging While SPI and I2C Are Rarely Chosen?

Why UART is Frequently Used in Embedded Debugging While SPI and I2C Are Rarely Chosen?

Follow the blue text and reply with “entry materials” to get a tutorial from beginner to advanced on microcontrollers Development boards will guide you in your journey Written by | Wu Ji (WeChat: 2777492857) The full text is about3518 words, reading will take about 15 minutes Recall those long nights debugging when faced with a … Read more

Integrating Wireless Communication Modules: Practical Guide to Connecting Microcontrollers with Bluetooth Modules

Integrating Wireless Communication Modules: Practical Guide to Connecting Microcontrollers with Bluetooth Modules

Integrating Wireless Communication Modules: Practical Guide to Connecting Microcontrollers with Bluetooth Modules In modern electronic projects, wireless communication has become an indispensable part, and Bluetooth modules are a popular choice for wireless communication due to their low power consumption, low cost, and ease of use. This article will focus on the integration of microcontrollers with … Read more

Embedded – Profibus Protocol Porting

Embedded - Profibus Protocol Porting

The following are detailed steps and technical points for porting the Profibus protocol based on UART, suitable for industrial automation device development scenarios: 1. Overview of Profibus Protocol 1.Protocol Types: ◦Profibus DP: Used for high-speed communication at the device level (12Mbps), master-slave architecture. ◦Profibus PA: Used for process automation, supports intrinsic safety and bus power … Read more

Troubleshooting SWD Connection Issues with Your Board

Troubleshooting SWD Connection Issues with Your Board

The board is ready, and the MCU is soldered, but the SWD cannot connect, and the program cannot be downloaded. What should I do? This issue seems to occur frequently, so I would like to share some recent cases I encountered. 1) Case 1: Engineer A made 5 boards, but none could connect. After confirming … Read more

Collection | UART Communication Protocol in Electronic Communication Protocols

Collection | UART Communication Protocol in Electronic Communication Protocols

Do you remember the era when printers, mice, and modems came with those bulky connectors and thick cables? Literally, those that had to be screwed into your computer? These devices might be using the UART protocol to communicate with your computer. Although USB has almost completely replaced those old cables and connectors, UART is by … Read more

Efficient UART Reception Programming Example with DMA and IDLE Based on STM32

Efficient UART Reception Programming Example with DMA and IDLE Based on STM32

Efficient UART Reception Programming Example with DMA and IDLE Based on STM32 The goal of this article: A FreeRTOS programming example based on STM32_H5 According to the description in this article, experiments should be able to be conducted on the corresponding hardware, and similar applications can be derived. Prerequisites: Basic knowledge of C language, and … Read more