How to Calculate CRC Values in IAR and KEIL

How to Calculate CRC Values in IAR and KEIL

Introduction More and more products on the market have safety requirements regarding their use. How to avoid danger to operators during use or reduce the probability of such dangers occurring is a key consideration for product safety. In this regard, related products need to pass safety certifications from relevant industries before they can be produced … Read more

The Truth About The Five Major Embedded Operating Systems for STM32

The Truth About The Five Major Embedded Operating Systems for STM32

AboutSTM32 Do You Know The Five Major Embedded Operating Systems? Today, Hua Mei will popularize some knowledge for everyone. Here are Some characteristics and shortcomings of these five embedded systems Are you ready??? (There is a surprise at the end of the article~) Before the formal explanation, Hua Mei will first reveal some news! 👇👇👇 … 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

28 Key Points of Embedded STM32

28 Key Points of Embedded STM32

â–¼Click the card below to follow the public account â–¼ 1. What are the differences between STM32F1 and F4? Answer: Refer to: STM32 Development – Introduction to STM32The cores are different: F1 is Cortex-M3, F4 is Cortex-M4; Different clock frequencies: F1 has a clock frequency of 72MHz, F4 has 168MHz; Floating point operations: F1 has … Read more

Summary of STM32 Embedded Interview Topics

Summary of STM32 Embedded Interview Topics

Scan to follow "Learn Embedded Together", learn together, grow together. 1. What are the differences between STM32F1 and F4? Different cores: F1 has Cortex-M3 core, F4 has Cortex-M4 core; Different clock frequencies: F1 has a clock frequency of 72MHz, F4 has a clock frequency of 168MHz; Floating-point operations: F1 has no floating-point unit, F4 does; … Read more

How to Use SystemView to Analyze μC/OS-III?

How to Use SystemView to Analyze μC/OS-III?

In the design process of RTOS applications, the task switching is managed by the RTOS task scheduler, and the source code of the RTOS application cannot fully reflect the real-time behavior of a multitasking system. The real-time behavior of a multitasking system also depends on tasks, interrupts, inputs, and their interactions. Therefore, the real-time behavior … Read more

ADC Sampling and Filtering Algorithm Tutorial

ADC Sampling and Filtering Algorithm Tutorial

Introduction:This tutorial provides a step-by-step guide toADC samplingandvarious filtering algorithms. The MCU used in this tutorial isSTM32F103ZET6. Based on theHAL library, this tutorial teaches the ADC sampling function and analyzes and compares the experimental results of various common filters, visually demonstrating the filtering effects withVOFA+tool. Experimental Effect Diagram: 1. ADC Sampling 1.1 Introduction to ADC … Read more

Why Are 2 Data Points Lost During SPI Transmission?

Why Are 2 Data Points Lost During SPI Transmission?

Someone used the STM32F4 chip to validate the SPI functionality. When using two on-chip SPI modules for transmission and reception based on interrupts, it was found that there was always a loss of received data, seemingly losing the last 2 data points. The code used the HAL library’s API functions. What could be the reason? … Read more

Testing the SPI Interface SRAM: APS6404L

Testing the SPI Interface SRAM: APS6404L

1. Introduction   This small electronic badge contains many unique components. This AP Memory is a SPI interface SRAM with a capacity of 8MB. Below is a preliminary test of it. 2. Creating the Test Circuit   This RAM with SPI interface operates with a current from 2.7V to 3.6V. Its package seems to be universal, similar … Read more

SPI Interface Notes Compilation

SPI Interface Notes Compilation

Introduction to SPI Interface and Features The standard SPI interface has 4 signal lines. Signal Function Direction SCLK Clock signal line, used for synchronizing communication data master->slave MOSI Master device output master->slave MISO Master device input slave->master CS Slave device select signal line, commonly referred to as chip select signal line, also known as NSS, … Read more