There were a lot of people on the bus on my way to work in the morning. Suddenly, a girl next to me said, "Hello... Dad..." Ah... After I answered, I turned around and saw that it was a girl calling h...
[b]Hercules DIY 5: Doubts about interrupts[/b] According to the plan, this week should be about solving the program. Since my project is an alarm, I think it is best to use pin interrupts, but I have ...
When I start up a low-power computer, I first insert the Adapter and then press the power button. Why does it sometimes fail to start up? Is it a power problem? Experts, please give me some advice, th...
ENVI learning video (Deng Shubin) : https://training.eeworld.com.cn/course/26638ENVI (The Environment for Visualizing Images) is a complete remote sensing image processing platform. The software proce...
For electronic products, printed circuit board design is a necessary design process for it to turn from an electrical schematic into a specific product. The rationality of its design is closely relate...
The following code is UART0 operation: receiving characters from the host computer and then forwarding them back. The result is that it can be received, but it is wrong, such as sending 01 and receivi...
In our common sense, the word technology often has two definitions. The first is the technology sealed in the laboratory. They are like flowers on the mountain top. Only a few people on the mountai...[Details]
1. Problem When developing STM32 with IAR, I found that I could not print floating point numbers by redirecting printf to the serial port. The code is as follows: The output is as follows: It can...[Details]
Recently, the "Smart Photovoltaic Industry Development Action Plan (2018-2020)" jointly issued by six departments has put this concept on the forefront. Photovoltaic smart solutions will become the ne...[Details]
What is SYSTICK: This is a 24-bit system tick timer, SysTick, with automatic reload and overflow interrupt functions. All microcontrollers based on the Cortex_M3 processor can obtain a certain time ...[Details]
In order to strengthen the traceability management of recycling and utilization of power batteries for new energy vehicles, and to standardize and guide all relevant parties to fulfill their tracea...[Details]
Site conditions: 1. AD acquisition, DMA transmission; AD is set to single-channel continuous mode, DMA is set to single-shot mode. The upper threshold of the AD analog watchdog setting is less than t...[Details]
Independent watchdog (IWDG) and low power mode are often used in STM32 development. The watchdog is to detect and solve faults caused by software errors, and the low power mode is to enter sleep mode...[Details]
The first one is a DMA mode of multiple channel acquisition void ADC_DMA_Config(void) { ADC_InitTypeDef ADC_InitStructure; RCC_HSICmd(ENABLE); while (RCC_GetFlagStatus(RCC_FLAG_HSIRDY) == RESET); ...[Details]
The frequency calculation formula of the PWM wave generated by the output comparison mode of the timer is: 72M/((2*(arr+1))*(psc+1) ) For example, if you set: PWM_Init(1000-1,72-1); (PWM_Init(arr,psc...[Details]
Homemade LED Electronics Clocks can be seen in many electronic newspapers and magazines, but most of them need to reset the time and other parameters after power failure, which brings a lot of inco...[Details]
In this example, a single-byte binary number (0X20) is converted into uncompressed BCD code and stored in 0X25, 0X24, and 0X23, where 0X25 is the hundreds place and 0X23 is the ones place. main: MOV ...[Details]
Infrared remote control is the most widely used remote control method. Infrared remote control devices have the characteristics of small size, low power consumption, strong functions and low cost. Th...[Details]