Inter-Process Communication in Linux Using FIFO

In the article “Running Shell Scripts in Linux C Code to Get Their Return Values,” the concept of “anonymous pipes” was mentioned, which allows communication between parent and child processes through the use of fork. However, this is limited to communication between a parent and its child or between two child processes with the same … Read more

Understanding the Differences Between PDMA and FIFO Mechanisms in SPI

A Brief Summary of Core Differences FIFO: A hardware buffer queue that primarily addresses the minor, short-term mismatches between MCU response speed and SPI communication speed, aiming to reduce the number of interrupts and improve the efficiency of each interrupt. PDMA: A data transfer engine that mainly solves the problem of freeing the CPU during … Read more

Exploring the Many Uses of Linux Pipes

Exploring the Many Uses of Linux Pipes

Source | TLPI System Programming Notes Compiled & formatted | Embedded Application Research Institute Overview The most common use of pipes is in the shell, for example: $ ls | wc -l To execute the above command, the shell creates two processes to execute <span>ls</span> and <span>wc</span> (achieved through <span>fork()</span> and <span>exec()</span>), as shown below: … Read more

fifofast: A FIFO Buffer Library Designed for Low-End MCUs

fifofast: A FIFO Buffer Library Designed for Low-End MCUs

What is fifofast? fifofast is a FIFO (First In First Out) buffer library specifically designed for 8-bit and even lower-end MCUs (AVR8, SAM series). It is written in C and occupies very little SRAM, with only a few bytes of management overhead, yet it can store various data types (integers, structures, and even custom types) … Read more

Detailed Explanation and Key Points of PLC Table Instructions

Detailed Explanation and Key Points of PLC Table Instructions

Table instructions include the Add to Table instruction (AD_T_TBL), First In First Out instruction (FIFO), Last In First Out instruction (LIFO), Table Find instruction (TBL_FIND), and Fill instruction (FILL_N). They enable dynamic data storage, orderly extraction, precise searching, and bulk filling through standardized parameter configurations and corresponding logical triggers, significantly simplifying the programming process for … Read more

The Unorthodox Techniques of FPGA Development

The Unorthodox Techniques of FPGA Development

It is said that in the world of FPGA, there exists a secret technique that does not follow conventional methods, yet produces remarkable results. Practitioners all say: this method may not last long, but it seeks to run effectively in the present. Technique One: Timing by Fate · Unconventional Approach Mantra: Ignore the reports, disregard … Read more

Configuring Common Xilinx IP Cores

Configuring Common Xilinx IP Cores

Welcome FPGA engineers to join the official WeChat technical group. Clickthe blue textto follow us – FPGA Home, the best and largest community for pure FPGA engineers in China ISE version is 14.7 1. Clock IP Core (Clocking Wizard) Page one In the Clocking Features options box: (1) The Frequency synthesis option allows the output … Read more

Two Modes of FIFO in FPGA

Two Modes of FIFO in FPGA

Click the blue text to follow, grateful for your support Welcome friends to follow“Hao Xushuang Electronic Design Team” public account, this account will regularly update relevant technical materials, software, etc. Friends who are interested can browse other“modules”, hoping that everyone can gain something they desire from this public account“things”. This article mainly discussesthe two modes … Read more

Exploring Two Interrupt Modes for Serial Reception on DSP28335 (Similar to Transmission Interrupt)

Exploring Two Interrupt Modes for Serial Reception on DSP28335 (Similar to Transmission Interrupt)

Let’s explore the mysteries of DSP To explore DSP The DSP series main control chips are widely used in power electronics and switch-mode power supply circuits. Their powerful data computation and fixed-point floating-point processing capabilities make them extensively used for data acquisition and algorithm processing in circuits. Moreover, TI and ADI’s DSP chips come with … Read more

The Unorthodox Techniques of FPGA Development

The Unorthodox Techniques of FPGA Development

It is said that in the world of FPGA, there exists a secret technique that does not follow conventional methods, yet produces remarkable results. Practitioners all say: this method may not last long, but it seeks to run effectively in the present. Technique One: Timing by Chance · Unconventional Approach Mantra: Ignore the reports, disregard … Read more