Please give me some advice, thanks. . I have three questions: 1. Now RS232 serial port usually uses 9-frame connection line. The simplest connection is 3 connection lines, namely ground connection (co...
void delay(); void timer0(void); unsigned int count; main(void) { InitSysCtrl(); DINT; IER=0x0000; IFR=0x0000; InitPieCtrl(); InitPieVectTable(); There is no problem with the above program, and other ...
The USB OTG mouse is tuned. It is implemented. I did not involve the detailed screen because I was in a hurry. My program uses the arrow keys of the development board as a mouse. When the development ...
Add Display driver, and compile correctly after modification. Finally, the image can be generated, but there is no display after downloading to the board. The transplant I made is the smallest kernel....
Power supply is an important field of power electronics technology application, among which high-frequency switching DC regulated power supply has been widely used due to its outstanding advantages su...
In recent years, as energy consumption and environmental protection issues have attracted people's attention, my country's solar photovoltaic power generation industry has shown a rapid development...[Details]
1. Function prototype In the function library officially provided by STM32, you can find functions like HAL_Delay(). This function uses a timer to achieve a more accurate time delay and provides it...[Details]
Serial Port: 一. USART_ITConfig(USART1, USART_IT_TXE, ENABLE): As long as the transmit register is empty, there will always be an interrupt. Therefore, if you are not sending data, turn off the tran...[Details]
The Wassenaar Arrangement, everything started during the Cold War. Let's learn more about it with the embedded editor.
background
After the end of World War II, the United States ...[Details]
As photovoltaic power stations come into people's view, people are paying more and more attention to them. Recently, some netizens asked me how to match the inverter and components of photovoltaic ...[Details]
With the development of the automobile industry, more and more automotive electronic components are being used in modern cars, providing better safety, comfort and economy for cars. In the past, cars...[Details]
At the beginning, I used the stdlib library. Recently, I found that the cube library is more and more widely used, so I started to use the cube library to complete the ADC multi-channel acquisition e...[Details]
The pins of stm32 have two uses: GPIO (general purpose io) and AFIO (alternate function io) For some pins (depending on the chip), neither of these two uses exists. For example, in 64-pin products, O...[Details]
I have encountered many problems when tinkering with LD driver recently. I will record them one by one below. Otherwise, who will remember who in five hundred years? 1. Configuration issues of multi-...[Details]
DMA: 1. When using DAC, when the converted analog signal is output through the IO port, why is the IO port also configured to input mode? PS: The stm32 manual defines that PA4 and PA5 are connected...[Details]
I have been working on single-chip microcomputers for several years, and I have always wanted to make a series of summaries. It happened to rain today. As the saying goes: Rainy days are good for...[Details]
#include avr/io.h void Delay(unsigned int T) { unsigned int i,j; for (i=0;i T;i++) for (j=0;j 100;j++) asmvolatile ("nop"); //Assembly instruction, let the microcontroller run empty instruction...[Details]
China Energy Storage Network News:
2017 is the year when China's energy internet policy was implemented. Since the National Energy Administration issued the "Notice on the Announcement of the...[Details]
At the early morning of November 17th, Beijing time, at the Global Supercomputing Conference held in Denver, the United States, the "nonlinear earthquake simulation" application completed by the te...[Details]
Each I/O port of the AVR microcontroller corresponds to three registers: DDRx, PORTx and PINx, where DDRx is the data direction, i.e. input or output; PORTx is the state of the internal pull-up r...[Details]