[Use of STM32-DSP library] Based on Keil5 + STM32CubeMX + CMSIS-DSP manual addition and library addition method

Usage of STM32-DSP library 1.CMSIS-DSP 1.1 Introduction to DSP library 1.2 Supported function categories 1.3 Macro definition 2. Operation 2.1 STM32CubeMX configuration basic project 2.2 Implementation using Lib library (recommended) 2.3 Manually add DSP files (you can download the latest official library, which is fully functional) 3. MFCC tests DSP acceleration effect In order to […]

STM32 HAL library-STM32CubeMX practical operation

Directory @[TOC](Table of Contents) Preface: tool: 1. Timer interrupt Introduction to timers CubeMX configuration Keil code Hardware effect display 2. PWM output Introduction to PWM principle CubeMX configuration Keil code Hardware effect display 3. Timer input capture CubeMX configuration Keil Reference blog Foreword: Today we learn to use STM32CubeMX to implement three operations: timer interrupt, […]

STM32CUBEMX Analog IIC bus reading SHT40 temperature and humidity sensor

1: Use STM32CUBEMX to configure the IIC analog bus #define SHT30_SCL_PORT GPIOC #define SHT30_SCL_PIN GPIO_PIN_6 // GPIO_MODE_OUTPUT_PP #define SHT30_SDA_PORT GPIOB #define SHT30_SDA_PIN GPIO_PIN_15 // GPIO_MODE_OUTPUT_OD The SDA data pin is configured as OD output, and the CLK pin is configured as PP output. 2: SHT40 command table The command to start reading temperature and humidity […]

stm32CubeMX, with Keil, uses the HAL library (or standard library) for serial communication

Introduction Today we will learn the operation of the STM32CubeMX serial port and the configuration of the HAL library serial port. We will explain the use and specific functions of each module in detail, and implement the Printf function function redirection and USART interrupt reception based on the HAL library. This series of tutorials combines […]

p5.js 3D graphics-cube

Introduction to this article Bringing the awkward monkey, I’m the director of the Moral Education Department I have written several p5.js articles before, but they have not yet touched upon 3D graphics, but in fact p5.js provides basic 3D graphics. This article will start with the simplest cube, and make a few small demos to […]

Use Cube to implement the running water lamp, and use interrupts to control the running water lamp to turn on and off.

Article directory 1. Cube lights up the water lamp 1.1. Install Cube 1.2. New construction 1.3. Code writing 1.4. Burning program 1.5. Operation effect 2. Interrupt control of running lights 2.1. New construction 2.2. Rewrite the interrupt callback function 2.3. Operation effect 3. Observe the waveform diagram with an oscilloscope 4. Interrupt to control a […]

Full set of cubemx+HAL+UART+DMA+IDLE configuration

This article mainly records the steps to prepare the serial port code generated by cubemx, transplant the buffer fifo and create the interface function. The creation of the nanny level is divided into the following steps. 1. cubemx configure uart + interrupt Step One-New Construction Step 2 – Configure DMA Step Three – Configure Interrupts […]