Over the years, the country has been strongly supporting the independent research and development of four high-end chips - CPU, FPGA, Memory, and DSP, and has invested tens of billions of dollars. Fin...
If I don't set the priority for peripheral interrupts like DMA and UART, will the priority be the default when the interrupt occurs?How should I configure it during initialization? The bits of the pri...
As the title: Question 1, if you access directly, you will get an error: access violation, how can you force access? 2, if the application calls some libraries generated by pb, such as those in the s3...
For 80,000
ZTE
(000063.SZ) employees and more Chinese ICT (information and communication technology) industry practitioners, the news from across the ocean on the evening of April 16 kept t...[Details]
In the actual project development process, we often need to get the running time of a section of code. The usual method is to use an oscilloscope to measure it. This blog post will use SysTick to acc...[Details]
I recently upgraded MDK to V5.25 and found that there are many libraries in the Managing Run-Time Environment. Compared with the past, it is much better, from the bottom-level driver to the upper-le...[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]
Timing and protocol are two key points in digital system debugging, and they are also where logic analyzers can play their most valuable role. How can we use a logic analyzer to quickly complete wiri...[Details]
As many companies listed with
the concept of
touch screen
begin to "transform and upgrade", the official voice of the TP industry is getting smaller and smaller. At the same time, the list o...[Details]
This routine is also a classic routine on the development board. I modified the framework of the program to make it more suitable for future calls. The specific 4*4 keyboard scanning principle is rel...[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]
The photovoltaic industry has become a new business card for China to the world. It not only represents China's leading technology, but also constantly breaks various records with its development spee...[Details]
Here is the temperature added in the previous chapter The above figure is the temperature calculation formula: where Vsense is the ADC value collected from the temperature channel. The stm32f407 ...[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]
/* Unfortunately, it cannot generate a standard 38kHz frequency square wave, there is a little error*/ #include reg51.h #define uchar unsigned char #define uint unsigned int sbit Waveout=P1^0; //P...[Details]
For complex calculations, the speed of the microcontroller is too slow. The best way is to manually calculate all the results in advance, store them in ROM in sequence, and then directly check the re...[Details]
As shown in the figure, the circuit is required to count and display the number of times the button is pressed. When the button is pressed once, the count value increases by 1 (it is required to accu...[Details]