Understanding the I²C Bus Timing in Embedded Systems

Understanding the I²C Bus Timing in Embedded Systems

The I²C bus is very common in embedded systems, but recently in a group (possibly a beginner group) communication, I was quite surprised that many people do not even understand the I²C bus basics. Today, I will explain the timing of the I²C bus. Many electronic engineers should know about the I²C bus from EEPROM … Read more

Hands-On Guide to STM32 I2C Bus

Hands-On Guide to STM32 I2C Bus

●IIC Bus 1. Concept of IIC I²C stands for Inter-Integrated Circuit, using two bidirectional lines: one Serial Data Line (SDA) and one Serial Clock (SCL). SCL: The rising edge inputs data into each EEPROM device; the falling edge drives the EEPROM device to output data (edge-triggered). SDA: The bidirectional data line is an open-drain configuration, … Read more

How to Solve the Absence of EEPROM in STM32?

How to Solve the Absence of EEPROM in STM32?

In embedded systems, EEPROM (Electrically Erasable Programmable Read-Only Memory) is often used to store data that needs to be changed frequently and should not be lost due to power interruptions. However, since STM32 does not have built-in EEPROM, how can we solve this problem and meet storage requirements? 1. Use External EEPROM Chips When STM32 … Read more

Essential ROM, FLASH, and Hard Drive Knowledge for Embedded Developers

Essential ROM, FLASH, and Hard Drive Knowledge for Embedded Developers

Embedded Developers Essential Knowledge to Know Knowledge of ROM, FLASH, and Hard Drive Technology In embedded development, if the chip has internal Flash, the application program is usually stored in the internal FLASH of the chip, such as in Cortex-M series microcontrollers; if the chip does not have Flash, the application is usually stored in … Read more

Comprehensive Guide to Arduino Wire Library for I2C Communication

Comprehensive Guide to Arduino Wire Library for I2C Communication

In the creative world of Arduino, when we desire to enable our small development board to collaborate seamlessly with various external devices, achieving more complex and powerful functions, the Wire library emerges like a hidden master, quietly facilitating our connection with I2C devices. Today, let us unveil the mystery of the Wire library and explore … Read more

Unlock Multiple Configurations for Beaglebone Black Cape

Unlock Multiple Configurations for Beaglebone Black Cape

1. Introduction If you bought the BBB for hardware-related projects, you will likely need to create a cape. The term cape is the official name from BBB, referring to the software and hardware peripherals of the BBB. By learning about the device tree, we understand that BBB uses capemgr and device tree to control the … Read more

Detailed Explanation of SPI

Detailed Explanation of SPI

1. Introduction to SPI SPI, short for Serial Peripheral Interface, is a serial communication interface defined by Motorola for its MC68HCXX series processors. The SPI interface is mainly used between EEPROM, FLASH, real-time clocks, AD converters, as well as digital signal processors and digital signal decoders. SPI is a high-speed, full-duplex, synchronous communication bus that … Read more

Understanding the Differences Between FLASH and EEPROM in Embedded Development

Understanding the Differences Between FLASH and EEPROM in Embedded Development

I'm Lao Wen, an embedded engineer who loves learning. Follow me to become even better together! Memory is divided into two main categories: RAM and ROM, and this article primarily discusses ROM. Initially, ROM could not be programmed; it retained whatever content it was manufactured with, making it inflexible. Later, PROM was introduced, which could … Read more

Common Operations for EEPROM Driver Code in Embedded Development

Common Operations for EEPROM Driver Code in Embedded Development

Follow+Star Public Number, Don’t Miss Wonderful Content Author | strongerHuang WeChat Public Account | strongerHuang I believe many readers have used EEPROMs like AT24C0x that utilize I²C for reading and writing. Improper usage in projects can easily lead to data loss or anomalies. Today, I will discuss the content regarding EEPROM. 1Basic Principles of I²C … Read more