I saw the following program (excerpt) in a book by Zhou Ligong: TASK0() { .......... while() { OSSemPend(Dispem,0,&err);//Wait for semaphore UART0_SendStr(str0); OSTimeDly(1); err = OSSemPost(DispSem)...
I am doing an ADC experiment on AVR and connected the voltage to be measured to PA0. But why is the voltage of PA0 pin measured by a voltmeter when the program is running at full speed different from ...
[i=s]This post was last edited by caxfan on 2022-6-4 23:20[/i] #Weather clock was originally intended to be a 3D printer controller. After studying RVB2601, I found that the resources were seriously i...
Interrupt Register Introduction
PIEIFRx (1-12) Interrupt Flag Register
PIEIERx (1-12) Interrupt Mask Register
There are 12 of each, each 16 bits wide, and only the first 8 bits are used to repre...
I am making a flyback isolated power supply, with an input of 38V and an output of 12~15V@3A. I plan to use Lingte's LTC3748. What kind of transformer parameters should be selected for such a power su...
1. Principle 1. Infrared emission protocol The infrared transmission protocol has been written in the previous article , so I will not repeat it here. 2. Timer counting and input capture A timer...[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]
LAN8720 configuration: IP: 192.168.192.30 Gateway: 192.168.192.1 A high frequency of ARP packets is detected The content of the packet asks for the mac address of 192.168.192.1, and asks the resp...[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]
STM32 has two watchdogs: independent watchdog and window watchdog. This article mainly introduces the use of independent watchdog. Independent watchdog (IDWG): driven by an independent 40KHZ low-sp...[Details]
The independent watchdog of STM32 is driven by a dedicated internal 40Khz low-speed clock, that is, it is still effective even if the main clock fails. Here we need to note that the clock of the inde...[Details]
Introduction: As a power electronic device, the photovoltaic inverter mainly converts the direct current generated by the photovoltaic module into alternating current. Because there are thousands o...[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]
/*----------------------------------------------- Name: IIC protocol PCF8591 AD/DA conversion Content: Use DA input, digital tube display output digital quantity, LED display analog voltage size ...[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]
Design a program for the 51 single-chip microcomputer. It is known that the crystal oscillator frequency of the 89C51 single-chip microcomputer is 12MHz, and it is required to use T1 timing to output...[Details]
In one of my products, there are two chips, AVR and PIC, at the same time. When AVR drives the relay, then drives the contactor. PIC is used for display. I found that PIC actually has a little interf...[Details]
The Arctic region has always been cut off from the outside world, and if oil workers and polar expedition personnel are in danger, they need
robots
to provide rescue work.
Sergey...[Details]