How to judge the growth direction of the stack in C language

In school or various programming books, you will basically see a sentence: “Function is the basic unit of program”. It can be said that understanding function is very important to programming. The mechanism closely combined with function call is the function call stack Yes, and the stack has a special attribute that is the growth […]

Read More

[ZYNQ Ultrascale+ MPSOC FPGA Tutorial] Chapter 31 FreeRTOS Experiment

Statement of originality: This original tutorial was created by ALINX Electronic Technology (Shanghai) Co., Ltd. (ALINX), and the copyright belongs to the company. If you want to reprint, you need to authorize and indicate the source. Applicable board models: AXU2CGA/AXU2CGB/AXU3EG/AXU4EV-E/AXU4EV-P/AXU5EV-E/AXU5EV-P /AXU9EG/AXU15EG The experimental Vivado project directory is “ps_axi_gpio/vivado”. The experimental vitis project directory is “freertos/vitis”. […]

Read More

RT-Thread record (16, SFUD component Flash read and write)

Starting from this article, test and learn some common components and software packages of RT-Thread, starting with the SPI device that has just been learned. Table of contents foreword1. Introduction to SFUD components1.1 Basic introduction1.2 SFUD management of Flash2. SFUD component operation function2.1 Initialize related functions2.2 Device Access Functions2.2.1 Read data2.2.2 Erase data2.2.3 Write data2.2.4 […]

Read More

Why DSPs are great for IoT devices

As emerging markets continue to grow and the technology requirements that come with them, some technologies are increasingly valued and utilized. One such technology is “digital signal processing” (DSP), which can take the form of a chip or as an IP core that supports “system-on-chip” (SoC) integration. While DSPs have been around for a long […]

Read More

BSP porting of OneOS: 1. Learn and understand the startup process of OneOS

foreword Many students have asked this question. Is it difficult to transplant RTOS to a development board? What knowledge needs to be learned? Judging from my experience in learning common RTOS in China and some building systems. To really do the work of transplantation, the range of knowledge required is still very wide. 1. Understand […]

Read More

Causes of Interrupt Delay in Microcontrollers

Interrupts take a lot of resources from high-speed processors, especially those that are heavily pipelined and capable of issuing multiple instructions per cycle. There may be 8 to 10 instructions running at any one time and either must run to completion or be cancelled and restarted when normal execution resumes. Electrical engineers need to check […]

Read More