Raspberry Pi OLED Screen Driver and Display Issues

Raspberry Pi OLED Screen Driver and Display Issues

Submitted by Curious Bin, thank you~ Recently, while learning about the Raspberry Pi, I encountered a problem when driving the OLED screen, which was display issues. After two days of troubleshooting, I discovered that the driver chip for this OLED is not SSD1306 but SH1106. Therefore, using the Adafruit_Python_SSD1306 library results in display issues. There … Read more

How to Write Device Drivers for Zephyr RTOS

How to Write Device Drivers for Zephyr RTOS

In embedded system development, developing device drivers is a crucial task. As a bridge connecting hardware and software, the quality of device drivers directly impacts the correctness of system functionality and operational stability. In the rapidly evolving open-source ecosystem, Zephyr RTOS is favored by developers for its lightweight, modular, and highly scalable nature. However, in … Read more

Why UART Is Preferred for Embedded Debugging Over SPI and I2C

Why UART Is Preferred for Embedded Debugging Over SPI and I2C

Follow the blue text and reply “entry materials” to get a comprehensive tutorial from beginner to advanced on microcontrollers The development board will guide you, we will help you fly Written by | Wuji (WeChat: 2777492857) The full text is about1507 words, reading will take about 5 minutes I have been doing microcontroller development, but … Read more

Understanding SPI, UART, and I2C Communication Protocols

Understanding SPI, UART, and I2C Communication Protocols

Introduction SPI (Serial Peripheral Interface), UART (Universal Asynchronous Receiver/Transmitter), and I2C (Inter-Integrated Circuit) are common serial communication protocols, each with unique characteristics in hardware interfaces and communication methods, suitable for different application scenarios. You can get a general understanding of these three communication protocols from the following diagrams: Next, we will introduce these three communication … Read more

Why Is Serial Communication So Popular? RS485, SPI, and I2C?

Why Is Serial Communication So Popular? RS485, SPI, and I2C?

1. Why Is Serial Communication So Popular? When working on microcontroller products, the most commonly used method is serial communication. For any microcontroller peripherals, the priority is to choose those with serial port functionality, such as Bluetooth modules, WIFI modules, 4G modules, electric meters, and displays. Why Is Serial Communication So Popular? Because it’s simple! … 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

PMIC – 4-Channel 5A Output Integrated Inductor DC-DC

PMIC - 4-Channel 5A Output Integrated Inductor DC-DC

4-channel output, and integrated inductor DC-DC, the most famous model should be the former Linear Technology’s LTM4644. The LTM4644 not only supports 4-channel 4A output but also has excellent current sharing, allowing for arbitrary combinations of parallel outputs among the four channels. It has been widely used in applications with size constraints and high reliability, … Read more

What is the Raspberry Pi PMIC Power Management Chip?

What is the Raspberry Pi PMIC Power Management Chip?

Overview of PMIC for Raspberry Pi 4B – MaxLinear MxL7704 I am using the Raspberry Pi 4B, and its PMIC is located at the position shown in the image below. The PMIC chip has the inscription “MXL7704-P4” on it. Figure 1 – PMIC Power Management Chip MxL7704 of Raspberry Pi This chip is from MaxLinear, … Read more

Key Knowledge Points for STM32 Embedded Interviews

Key Knowledge Points for STM32 Embedded Interviews

I am Lao Wen, an embedded engineer who loves learning. Answer: Differences between STM32F1 and F4:Different cores: F1 has Cortex-M3 core, F4 has Cortex-M4 core; Different main frequencies: F1 has 72MHz, F4 has 168MHz; Floating-point operations: F1 has no floating-point unit, F4 has one; Functional performance: F4 peripherals are richer and more powerful than F1, … Read more