Strange Phenomenon of FFT in DSP Library

Strange Phenomenon of FFT in DSP Library

1. Introduction This is a module for signal acquisition and computation built a couple of days ago using the H7B0 microcontroller, which uses its 16-bit ADC to capture signals and perform spectrum analysis, with results displayed on an OLED screen. Calculating a 2048-point FFT takes about 10 milliseconds. Next, let’s test if the computation speed … Read more

How Fast Is the DSP Algorithm Library?

How Fast Is the DSP Algorithm Library?

1. Introduction In ARM microcontroller development, there is a CMSIS DSP library provided for digital signal processing functions. This library includes basic data functions, fast mathematical operations, complex operations, filters, matrices, transformations, click control, statistics, support functions, and interpolation functions, covering most algorithms used in engineering applications. I have a question: how much speed improvement … Read more

How Fast Is the DSP Algorithm Library? A Performance Comparison

How Fast Is the DSP Algorithm Library? A Performance Comparison

In ARM microcontroller development, there is a DSP function library provided by CMSIS. This library includes basic data functions, fast mathematical operations, complex operations, filters, matrices, transforms, click control, statistics, support functions, and interpolation functions, covering most algorithms used in engineering applications. Now, I have a question: how much speed improvement can be achieved by … Read more

STM32 Based Temperature Controlled Fan Simulation Design

STM32 Based Temperature Controlled Fan Simulation Design

STM32 Based Temperature Controlled Fan Simulation Design Hello everyone, today I want to share an interesting temperature-controlled fan simulation project. This project simulates a temperature control system in a real working environment, detecting ambient temperature through a temperature sensor and automatically controlling the fan speed. The entire system is simple and practical, making it perfect … Read more

Using MDK Built-in Logic Analyzer to Display Arbitrary Waveforms

Using MDK Built-in Logic Analyzer to Display Arbitrary Waveforms

I mentioned in a previous article about the information on outputting waveforms using the MDK built-in logic analyzer. I found that some people are interested in using the MDK built-in logic analyzer to implement waveform output. Below, I will use the STM32F334 DAC module to output an arbitrary waveform and display the waveform using the … Read more

Implementing QuadSPI External Serial NOR Flash

Implementing QuadSPI External Serial NOR Flash

Introduction The STM32 provides flexible and diverse access implementations for external memory. This article will introduce how to utilize QSPI (QuadSPI) to implement external serial NOR Flash memory. First, the functional characteristics of the QSPI interface will be introduced, followed by hardware design and software development. Based on STM32CubeM, a reference implementation for accessing the … Read more

Hands-On Tutorial for STM32 Embedded Machine Learning (TinyML) – Part 1

Hands-On Tutorial for STM32 Embedded Machine Learning (TinyML) - Part 1

Part 1: Overview In this tutorial, we will develop a machine vision application using machine learning technology on the STM32H747I Discovery development board. This tutorial is officially published by STMicroelectronics. Special thanks to the Edge Intelligence Lab for the original Chinese subtitles. The documents referenced in the video (also available for download from ST’s official … Read more

Practical MCU Intelligence: From TinyML Deployment to Performance Optimization

Practical MCU Intelligence: From TinyML Deployment to Performance Optimization

Click the blue text above to follow me Recently, while debugging a predictive maintenance system for an industrial client, I encountered an interesting problem: how to stably run a real-time inference system on an MCU like STM32H743, which has a frequency of 480MHz and 1MB of RAM? Today, I will share with you the technical … Read more

Experience Sharing: Porting MQTT to STM32 for Alibaba Cloud IoT

Experience Sharing: Porting MQTT to STM32 for Alibaba Cloud IoT

IntroductionRecently, I tried the Alibaba Cloud IoT platform, which has quite powerful features. Here are some experiences I would like to share. Hardware lMicrocontroller: STM32F103C8T6 lNetwork Connection: ESP8266 WIFI Module lSensors: PM2.5 Sensor, Temperature and Humidity Sensor The sensor drivers and the WIFI module driver are relatively simple; previous articles have also introduced them, so … Read more