-
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]
-
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]
-
Although it is early summer, the Chinese smartphone market is still in the cold winter, just like Beijing in April with snow. For mobile phone brands caught in the middle, the cold is even more bit...[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]
-
China Energy Storage Network:
At the Boao Forum, Zhu Min, the current dean of the National Institute of Finance at Tsinghua University, said: "When talking about blockchain, we must first sep...[Details]
-
At present, the Beidou system has achieved industrial breakthroughs and leapfrog development in five major areas, including the automotive OEM market, smart phones, and high-precision applications....[Details]
-
This example is mainly to familiarize yourself with the register configuration of Timer A and the configuration method of IAR. /*********************************************** Program function: re...[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]
-
On May 16, in response to
the public opinion storm caused by
Lenovo's
"
5G
voting" incident,
Lenovo
Holdings Chairman and
Lenovo
Group Founder Liu Chuanzhi, Lenovo Gr...[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]
-
I have been working on a stm32 project recently and have been struggling with its startup method. I saw a good article and reposted it. The format of the original article is not very good, and there...[Details]
-
The STM8L contains a 12-bit ADC with 25 input channels, including an internal temperature sensor, an internal reference voltage As can be seen from the figure above, there is an internal re...[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]
-
Use common anode digital tube and independent keyboard to connect P1 and P2 ports of single chip to realize answering machine The procedure is as follows: #include reg52.h void delay(unsigned char n)...[Details]
-
Assume that both the augend NA and the addend NB are three-byte compressed BCD codes, which are stored in the internal RAM units 20H~22H and 30H~32H, respectively, with the low digit first and the hi...[Details]