STM32F407: Transplantation of CMSIS-DSP library (based on library files)

Table of Contents 1. Source code download 2. Introduction to DSP library source code 3. Library-based transplantation (use of DSP library) 3.1 Experiment 1 3.2 Experiment 2 4. Compile using the V6 version of the compiler Previous article: STM32F407-Discovery’s hardware FPU-CSDN blog 1. Source code download Github address: GitHub – ARM-software/CMSIS_5: CMSIS Version 5 Development […]

9.spark adaptive query-AQE’s dynamic adjustment of Join strategy

Directory Overview Dynamically adjust Join strategy principle Actual combat Dynamically Optimize Skewed Join principle Actual combat Overview broadcast hash join is similar to broadcast variable in Spark shared variables. If Spark join can adopt this strategy, the join performance will be the best. Adaptive Query Execution (Adaptive Query Execution) Dynamically adjust Join strategy principle Actual […]

stm car HAL library speed measurement PID speed regulation Bluetooth OLED use

//Redirect serial port one int fputc(int ch,FILE *stream) { HAL_UART_Transmit( & amp;huart1,( uint8_t *) & amp;ch,1,0xFFFF); return ch; } //typedef struct __FILE FILE; When using printf, add #include<stdio.h>; 2. Serial port interrupt callback function uint8_t g_ucUsart3ReceiveData; //Save the data received by serial port 3 main.c HAL_UART_Receive_IT( & amp;huart3, & amp;g_ucUsart3ReceiveData,1); //Serial port three receives data […]

STM32F103 realizes temperature and humidity (AHT20) collection through IIC protocol

STM32F103 realizes temperature and humidity (AHT20) collection through IIC protocol Article directory STM32F103 realizes temperature and humidity (AHT20) collection through IIC protocol 1. IIC Agreement 1. Introduction to IIC protocol 2. Physical layer and protocol layer 3. Software IIC and hardware IIC 2. Temperature and humidity collection 1. IIC protocol 1. Introduction to IIC protocol […]

STM32-HAL library 09-CAN communication (loopback mode)

1. Materials used: STM32F103C6T6 Minimum System Board STM32CUBEMX (HAL library software) MDK5 Serial debugging assistant 2. What you learned: Preliminarily learn how to use the CAN communication function of STM32. In this chapter, we mainly achieve the effect of on-board CAN communication, that is, 32 sends CAN information and then prints it out through the […]

STM32 I2C communication protocol and temperature and humidity sensor module

Learn the I2C bus communication protocol, use STM32F103 to complete the data collection of the AHT20 temperature and humidity sensor based on the I2C protocol, and output the collected temperature-humidity values through the serial port Article directory 1. Preliminary knowledge (1) I2C communication protocol (2) I2C physical layer (3) I2C timing (4) Hardware I2C and […]

STM32 development practice-data collection of AHT20 temperature and humidity sensor based on I2C protocol

STM32 development practice-data collection of AHT20 temperature and humidity sensor based on I2C protocol Preface “Software I2C” and “Hardware I2C” SoftwareI2C HardwareI2C AHT20 temperature and humidity sensor AHT20 main features AHT20 parameters Application areas STM32 data collection of AHT20 temperature and humidity sensor based on I2C protocol Ideas code Experimental effect Summarize Foreword In the […]

[C++] 4 rotation adjustments for AVL trees

Article directory premise 1. Structural definition of AVL tree 2. Insertion of AVL (Key Points) 1. The inserted node is on the left side of the higher left subtree (right single rotation) 2. The new node is inserted to the right of the higher right subtree (left-handed rotation) 3. The new node is inserted to […]