STM32 Serial Communication: Interrupt vs Polling

1. From Polling to Interrupt
Many students prefer polling over interrupt-driven operations.
Is this related to our nature? Everyone likes to have everything under control and dislikes being interrupted. We often have experiences where we are talking to someone and suddenly receive a phone call, and after the call, we can't remember what we were discussing! This awful experience deeply influences us, leading us to believe that machines might behave similarly; frequent interruptions might mess things up. Fortunately, while machines are generally

The Evolution of Android HAL: Exploring the Four Stages from HAL to HIDL

Click the card below to follow Android System Engineer

No Pain, No Gain!

1. Introduction

Learning Philosophy: Understand one knowledge point at a time

Difficulty: ★★★☆☆

Source Code Environment: Android 9.0+

Hardware Environment: Qcom

Reading Time: 2 minutes

Some classmates in the group have raised questions about HIDL and AIDL. In response to these questions, I plan to output three articles. This article is the first one, analyzing the differences between several modes of HAL and HIDL, followed by a demo to solidify the concepts.

The Evolution of					</div>
									</div>
						
							<div class= 2025-01-10

Testing STM32 Hardware I2C Functionality

Testing STM32 Hardware I2C Functionality

There has been a rumor circulating: The hardware I2C design of STM32 has a bug, and it is better not to use it; using software I2C is more reliable.
For a long time, to avoid unnecessary trouble, I have not used hardware I2C, mainly because software I2C is also quite convenient, and can be used on almost any port.
Recently, I designed a board that happened to use I2C, so I decided to test whether the
Back to Top
Product has been added to your cart