Basics of SPI Bus

Basics of SPI Bus

Introduction SPI (Serial Peripheral Interface) is a synchronous serial interface technology introduced by Motorola. The SPI bus is physically implemented through a module called Synchronous Serial Port (MCU) on the microcontroller (PICmicro) connected to peripheral devices, allowing the MCU to communicate with various peripheral devices at high speed in a full-duplex synchronous manner. SPI The … Read more

How to Set Up a Home Network: Detailed Router Configuration Guide

How to Set Up a Home Network: Detailed Router Configuration Guide

Step 1: Hardware Preparation and Connection Materials Needed Optical Modem: Usually provided by the ISP when installing broadband. Wireless Router: Can be purchased online or from a computer store. Network Cables: Two, can be purchased nearby at a computer store. Computer: Used for configuring the router. Connect the devices as follows: Connect the fiber to … Read more

Configuring Ubuntu 18.04 on Raspberry Pi 4B

Configuring Ubuntu 18.04 on Raspberry Pi 4B

Note: For each step, you only need to look at the specific part in the corresponding article. Although many articles write about other parts, the author encountered various bugs, so the parts that work without issues have been extracted. 1. Image Burning, Connecting Raspberry Pi with Ethernet, and Basic Configuration (1) System Image Burning Installing … Read more

MCU Clock Configuration and External Crystal Selection

MCU Clock Configuration and External Crystal Selection

To improve system performance while reducing power consumption, MCUs typically provide four types of clocks: High-Speed External Clock (HSE): Generated by an external high-frequency crystal oscillator. Low-Speed External Clock (LSE): Generated by an external low-frequency crystal oscillator, generally at 32.768kHz, used to drive the real-time clock (RTCCLK). High-Speed Internal Clock (HSI): Generated by an internal … Read more

FPGA Configuration Modes

FPGA Configuration Modes

FPGA has various configuration modes: the parallel master mode involves one FPGA and one EPROM; the master-slave mode supports programming multiple FPGAs with one PROM; the serial mode can use serial PROM to program the FPGA; and the peripheral mode allows the FPGA to be programmed by a microprocessor as a peripheral device. How to … Read more

STM32CubeIDE Tutorial: Project Configuration 01

STM32CubeIDE Tutorial: Project Configuration 01

0 Preface The previous article introduced how to use STM32CubeIDE to create a new project and its features. This article will continue to explain how to configure the project, which is also a very important step. 1 Introduction to the Configuration Interface (STM32CubeMX Interface) The project configuration is mainly operated through the original STM32CubeMX tool. … Read more

STM32CubeIDE Tutorial: Configuration Process

STM32CubeIDE Tutorial: Configuration Process

Click the blue text to follow us 0 Preface: Previously, we learned about STM32CubeIDE and provided the official download link for STM32CubeIDE. This time, we will share the basic configuration required for STM32 projects in STM32CubeIDE, including the configuration of the UART peripheral. 1. Download link for STM32CubeIDE: https://www.st.com/zh/development-tools/stm32cubeide.html Note: The image indicates a Windows … Read more

STM32 System Clock and Delay Function Initialization

STM32 System Clock and Delay Function Initialization

STM32 has three different clock sources that can be used to drive the system clock (SYSCLK): 1: HSI oscillator clock (internal clock) 2: HSE oscillator clock (external clock, provided by the crystal) 3: PLL clock (Phase-Locked Loop clock) These devices have the following two secondary clock sources: (1) 40kHz low-speed internal RC, which can be … Read more

Configuring Multiple Registers for NOR Flash in FDCB

Configuring Multiple Registers for NOR Flash in FDCB

Hello everyone, I am Pi Zi Heng, a serious techie. Today I will introduce the precautions for configuring multiple registers of serial NOR Flash in FDCB. Regarding the use of the i.MXRT boot header FDCB to set the internal registers of Flash, I have previously written two articles. Before diving into this article, I recommend … Read more

Overview of Linux Kernel Configuration, Compilation, and Makefile

Overview of Linux Kernel Configuration, Compilation, and Makefile

Recently, I have been learning about the configuration, compilation, and Makefile for the Linux kernel. Today, I would like to summarize my learning results and share them with everyone. 1. Unpacking and Patching First, you need to unpack the Linux kernel you obtained. Here I am using version linux.2.22.6. In the Linux command line, you … Read more