-
Using Systick timer to achieve delay 1. SysTick timer characteristics The SysTick timer is a 24-bit down counter, that is, when vlue is decremented to 0, an interrupt is triggered and the load va...[Details]
-
1. The first project We are going to create the first project, which is mainly for project analysis, so that we can understand how CubeMX works and how to trace the code logic. Okay, no more nonsense...[Details]
-
UART has three operation modes: polling mode, interrupt mode and DMA mode. Chip: STM32F103C8T6 Application Pin: Output: PA0, PA1 USART1 Configuration interface Add interrupt configuration Add DMA...[Details]
-
Chip: STM32F107VCT6 Application Pin: THOUSANDS, RMII STM32CubeMX is very convenient to use ETH. The software comes with LWIP and configuration. This time, STM32F107VCT6+DP83848CVV is used. The MII a...[Details]
-
Since the first draft of the 5G
NR standard was officially launched at
the end of 2017
, the
5G
commercialization process has taken a substantial step forward. From that moment on, mo...[Details]
-
1. FSMC Brief FSMC, the Flexible Static Storage Controller, is capable of interfacing with synchronous or asynchronous memories and 16-bit PC memory cards. The FSMC interface of STM32 s...[Details]
-
Household photovoltaic power stations mainly utilize idle resources on existing household buildings, such as roofs, wall facades, balconies, courtyards, etc., to install and use distributed photovo...[Details]
-
//Observe the difference between feeding the dog and not feeding the dog, and use the LED indicator of the PB port for status indication. //Switch the LED indicator enable switch of the PB po...[Details]
-
sprintf is a function in the C language library that converts data types. There is a situation where In 51 MCU, define unsigned char temp; Then I want to use the serial port to print out temp in deci...[Details]
-
According to MEMS Consulting, single-chip radar system-on-chip (SoC) is becoming one of the most popular new sensors . Its widespread adoption in automobiles has greatly increased sales, thereby pr...[Details]
-
The storage media corresponding to the three boot modes of STM32 are built-in to the chip, they are: 1. User Flash = Flash built into the chip 2.SRAM = RAM area built into the chip, which is the m...[Details]
-
If you do not use an external crystal on the STM32, the connection method of OSC_IN and OSC_OUT If you use the internal RC oscillator instead of an external crystal, please follow the following metho...[Details]
-
STM32F103 has dual DAC channels, using DMA to achieve 2 waveform outputs #include "stm32f10x.h" //DAC1,2 initialization void dac_init(void) { RCC- APB2ENR |= RCC_APB2ENR_IOPAEN; //Tu...[Details]
-
1. What is PWM What is PWM? Professionally speaking, it is pulse width modulation. In layman's terms, it is the continuous output of high and low levels. For example, the microcontroller outputs...[Details]
-
When the program starts running, light A turns on for 5 seconds, then turns off, light B turns on for 5 seconds, light B turns off, light C turns on for 5 seconds, light C turns off, the program ends...[Details]