Understanding Embedded Operating System Memory Management

Understanding Embedded Operating System Memory Management

Article word count: 5000, Content value index: ☆ ☆ ☆ ☆ ☆ Key content: ☆ Linux memory organization structure and page layout, causes of memory fragmentation and optimization algorithms. ☆ Several memory management methods in the Linux kernel, memory usage scenarios, and pitfalls in memory usage. ☆ Explore the mechanisms and mysteries of memory management … Read more

Understanding DMA in Embedded Systems

Understanding DMA in Embedded Systems

Click the blue text Follow us Due to changes in the public account’s push rules, please click “Read” and add “Star” to get exciting technical shares as soon as possible. Source from the internet, please delete if infringing DMA, short for Direct Memory Access, is a method for transferring data directly between memory and peripherals … Read more

Technical Sharing | Discussion on MM32F5 Series: Maximizing Throughput with Bus Design

Technical Sharing | Discussion on MM32F5 Series: Maximizing Throughput with Bus Design

This article is reprinted from the Jishu Community Jishu Column: Agile MM32 MCU Table of Contents Bus Architecture of MM32F5270 Case Study: Audio Player with Display Summary & Next The previous article introduced the MM32F5 series which utilizes the “Star” STAR-MC1 processor. If readers recall, the “Star” processor has a significant advantage over the M3 … Read more

Performance Ranking of ARM Mali Series GPUs

Performance Ranking of ARM Mali Series GPUs

Click the above Computer Enthusiasts to follow us In the field of SoCs (processors) dedicated to smartphones, the most common GPU brands are Qualcomm Adreno, Imagination PowerVR, and ARM Mali. Today, let us summarize the performance ranking of ARM Mali GPUs. It should be noted that ARM does not produce processors itself; it only provides … Read more

Do UART Serial Ports Need DMA for Transmission?

Do UART Serial Ports Need DMA for Transmission?

DMA is a commonly used feature in embedded real-time task processing. Using DMA for UART data packet transmission can significantly reduce CPU processing time, preventing excessive waste of CPU resources, especially when transmitting a large number of data packets (such as high-frequency command transmissions). Brief Introduction to DMA DMA: Direct Memory Access. In simple terms, … Read more

How to Swap UART Rx and Tx Pins and Invert Levels

How to Swap UART Rx and Tx Pins and Invert Levels

Follow+Star Public Account, don’t miss wonderful content Source | AI Electronics Today I will share with you some features of UART in STM32, mainly targeting newer series of STM32 (such as: STM32H7, G0, G4, etc.), which allows changes to the Rx and Tx pins, level inversion, high-low order, and introduces timeout, etc. Embedded Column 1 … Read more

STM32G4 TIM+SPI+DMA Application Example

STM32G4 TIM+SPI+DMA Application Example

Currently, there are STM32 users developing products using the STM32G474R chip, where TIM1 is used for power drive, with TIM1 operating in center-aligned counting mode. There is a demand to trigger external ADC device sampling at the moment indicated by the arrow in the figure below during each cycle of TIM1. After the ADC completes … Read more

Why Does SPI DMA Circular Reception Fail When CRC Is Enabled?

Why Does SPI DMA Circular Reception Fail When CRC Is Enabled?

Someone is using the STM32G4 internal SPI configured as a slave full-duplex mode, using DMA for receiving. When the DMA is configured to CIRCULAR mode, problems occur where data transmission results in CRC verification failures and reception anomalies. If the DMA transfer mode is configured to NORMAL, there are no issues, and the received data … Read more

Can MCU Access Non-Standard SPI Interfaces?

Can MCU Access Non-Standard SPI Interfaces?

Currently, many precision analog-to-digital converters (ADCs) have a Serial Peripheral Interface (SPI) or some form of serial interface to communicate with controllers, including Microcontroller Units (MCUs), DSPs, and FPGAs. The controller writes to or reads from the internal registers of the ADC and reads the conversion codes. The PCB wiring for SPI is simple, and … Read more