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. About FPU transplantation As long as the chip has FPU function, the use of FPU is generally enabled by default. You can also select it in the Options tab; 2. About the transplantation of DSP li...[Details]
After studying the F4 FSMC method to drive the touch screen for a few days, I have gained some understanding, which are listed below. The unorganized record is only for my own reference in the future...[Details]
This paper proposes a design scheme for an embedded CNC system based on ARM and FPGA. The software and hardware design of the ARM system, the implementation method of hardware fine interpolation ...[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]
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]
Today I am using the AD function of the stm8s microcontroller. There are ten channels from AN0 to AN9 on the microcontroller. I want to use only three of them, AN5 to AN7. //ADC initialization void A...[Details]
In the packaging process of a production line, every time the conveyor belt of the production line delivers a product to the packaging machine, the "SP" terminal outputs a pulse to the T1 terminal of...[Details]
Please help me analyze the clock cycles occupied by the following delay program. Seek to explain: DELAY: MOV R6, #13 DELAY1: MOV R5, #250 DELAY2: NOP DJNZ R5, DELAY2 DJNZ R6, DEL...[Details]
1. SCL is always controlled by the Master. SDA is controlled by the Slave when reading data and by the Master when writing data according to the direction of data transmission. After the 8-bit data i...[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]
Abstract: This article mainly introduces the installation of PonyProg2000 version 2.06c beta for Windows and the method of using this program to develop AVR series microcontrollers. I hope it can be ...[Details]
Brushless DC motors are cool (and they make you friends). No one likes to talk about actual hardware (but I'm going to do it). Discrete and integrated gate drivers each have advantages and disadv...[Details]
Qinghai has successfully developed two megawatt-class photovoltaic grid-connected inverters. The Qinghai Photovoltaic Research Center has undertaken the national "863" project and has made many r...[Details]
* Code adapted from Atmel AVR ApplICation Note AVR306 * PolLED mode driver for UART, this is the similar to the * library default putchar() and getchar() in ICCAVR */ #include io8515.h #include macr...[Details]