STM32 Driver for AT24C256 EEPROM via I2C

STM32 Driver for AT24C256 EEPROM via I2C

STM32 Driver for 24C256 EEPROM Read/Write Implementation The 24C256 is a 256Kbit (32KB) I2C interface EEPROM. The following implementation is based on the STM32 HAL library, which includes initialization, single-byte read/write, page write, and multi-byte read functionalities. 1. Hardware Connection STM32 Pin 24C256 Pin Description SCL SCL I2C Clock Line SDA SDA I2C Data Line … Read more

Chapter 2: MDK Online Debugging and Code Standards (2.5-2.8)

Chapter 2: MDK Online Debugging and Code Standards (2.5-2.8)

2.5 Viewing Peripheral Registers The internal peripheral values of the microcontroller can also be viewed in real-time through the “view” menu under “System Viewer” window, or by directly clicking the “System Viewer” window icon, allowing you to see the register values of the relevant internal peripherals of the microcontroller, as shown in Figure 2-13. Figure2-13 … Read more

Development Status and Challenges of the Semiconductor Equipment Industry

Development Status and Challenges of the Semiconductor Equipment Industry

1. Semiconductor and Its Equipment Industry (1) Overview of the Semiconductor Industry Semiconductor devices achieve the control of current transmission through the design of materials and structures, and based on this, various efficient signal and energy processing circuits are constructed, connecting the two fundamental elements required for the development of human society—information and energy. This … Read more

Chapter 2: MDK Online Debugging and Code Standards (2.5-2.8)

Chapter 2: MDK Online Debugging and Code Standards (2.5-2.8)

2.5 Viewing Peripheral Registers The internal peripheral values of the microcontroller can also be viewed in real-time through the “view” menu under “System Viewer”, or by directly clicking the “System Viewer” window icon, allowing you to see the register values of the relevant internal peripherals of the microcontroller, as shown in Figure 2-13. Figure2-13 System … Read more

The Cornerstone of Embedded System Architecture

In embedded system development, as project complexity increases and cross-platform requirements grow, the bare-metal programming approach of “write whatever comes to mind” is becoming inadequate. Adopting a layered architecture is key to ensuring code maintainability, portability, and testability.Among these, the division and collaboration between the hardware abstraction layer and the driver layer is the core … Read more

The Real Battlefield of Humanoid Robots

The Real Battlefield of Humanoid Robots

When understanding robots solely through news and short videos, one often experiences a strong contrast: on one side, there are high-energy robots capable of precise punches and agile “sneak attacks” on humans, while on the other side, there are robots that awkwardly “roll around” on the ground. Where does this huge disparity come from? It … Read more

STM32F103 Series – GPIO External Interrupt – HAL Library

STM32F103 Series - GPIO External Interrupt - HAL Library

1. What is an Interrupt? It interrupts the normal execution of the CPU’s program to handle an urgent program, and after processing, it returns to the original paused program to continue execution. As shown in the figure below, for example, I am doing homework, and suddenly feel thirsty, so I go to drink water. The … Read more

Challenges in Embedded Development: What Makes It Difficult and How to Overcome Them?

Challenges in Embedded Development: What Makes It Difficult and How to Overcome Them?

Embedded systems are ubiquitous—from smartphones and smart homes to automotive electronics and industrial control, they act as the “invisible brain” driving modern life. However, it is often said in the industry: “Embedded development is as difficult as climbing to the sky!” Why is it so hard? Is it due to high technical barriers, or is … Read more

Introduction to Renesas FSP Firmware Library

Introduction to Renesas FSP Firmware Library

Chapter 9 Introduction to Renesas FSP Firmware Library Accompanying Video for This Chapter Introduction to Renesas FSP Firmware Library https://www.bilibili.com/video/BV1Lp4y1n7oN/ 9.1 Overview of Renesas FSP Library FSP stands for “Flexible Software Package”. It is designed to provide fast and efficient drivers and protocol stacks with low memory overhead. FSP integrates middleware protocol stacks, hardware abstraction … Read more