I want to use a button to control an external interrupt, but I didn't try it out. I suspect the button is not trained to an external interrupt. The P3 port mentioned above is not an IO port, but the P...
[align=left][color=rgb(85, 85, 85)][font="][size=14px] As a simple digital communication method, I2C only needs two data lines to complete the communication between the host (Master) and the slave (Sl...
[color=rgb(0, 0, 0)][font=宋体][size=12pt]Using MKL27Z64VFM4 chip, PTE30 pin is used as ADC input pin. After configuration, by changing the voltage of PTE30 pin, it is found that the output ADC sampling...
[hide]The production of LED lighting has a milestone significance in the field of lighting. With the increasing demand for energy consumption in the world, the reserves of major energy resources in th...
I want to write a simple anti-virus software (what a wild idea?!), which must run at the ring0 privilege level, but I know nothing about drivers. I would like to ask experts whether I should learn WDM...
1. Purpose Since the number of times the STM32 FLASH can be erased and written is limited, in order to protect our FLASH and extend the use time of the MCU, we can debug on the SRAM. SRAM is a ...[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]
background After the hardware engineer completed the PCB and schematic design, the routine was modified according to the tutorial of Zhengdian Atom to verify the correctness of the hardware. STM32F...[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]
China Energy Storage Network News:
"As the world's first third-generation blockchain, Anda Chain, which has China's independent intellectual property rights, will be launched globally in the ...[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]
Google may have foreseen the spread of artificial intelligence (
AI
) technology across apps, devices, and services, such as recognizing friends' faces in photos and giving smart speakers h...[Details]
Example analysis: (using DMA mode) mian function: extern __IO u16 ADC_ConvertedValue; //The voltage value converted by ADC is defined in the context of ADC1_Init() float ADC_ConvertedValueLocal; ...[Details]
The single-chip microcomputer running light program requires all 32 serial ports to be used, and each serial port has eight LEDs. Question supplement: The 8051 single-chip microcomputer is used, an...[Details]
A simple experimental programming question for the microcontroller: write a 3-byte binary addition subroutine. The program entry is: addend 1: 22H, 21H, 20H three bytes, 22H is the highest bit; adden...[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]
1. Pin: 0 in 1 out Set Status Output status IO register setting DDR×A certain bit is set to 1, and the corresponding bit IO is set to output; PORT×A certain position is 1/0, and t...[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]