-
I used STM32CubeMX V4.22.1 to generate a project including EHT and Lwip. The debugging has been abnormal. After careful inspection, the following problems were found: 1. The hardware uses LAN8720A, b...[Details]
-
The clock system of STM32 can be directly summarized in a diagram (from the STM32F10X reference manual). The following is an analysis of this diagram 1. STM32 input clock source 1.1 Function of cl...[Details]
-
/*---------------------------------------------------------------------- TMOD (89H) T1 T0 GATE C/T` M1 M0 GATE C/T` M1 M0 -----------------------...[Details]
-
/* Title: Interrupt driven serial example(RS-485). * Author: Daidai Hu * Date: 06/2003 * Purpose: Template for RS-485 slave commun IC ation program. * Needed * SOF tware: AVR-G CC 3.3 to compile * ...[Details]
-
AVR CH451 driver header file #ifndef _CH451_H #define _CH451_H #include avr/io.h //CH451 command macro definition #define CH451_RESET 0x0201 //Reset #define CH451_LEFT MOV 0x0300 //Set the movem...[Details]
-
After two days, I can finally understand 32 interrupts. Because it is operated by library functions, some internal knowledge is not understood in detail, but I just understand that it is like this. B...[Details]
-
1. Push-pull output: can output high and low levels, connect digital devices; push-pull structure generally means that two transistors are controlled by two complementary signals, and one transistor ...[Details]
-
Roberto Leonardo, a professor of physics at the University of Rome, has developed a series of micromotors that can be powered by bacteria and lasers and start to rotate. Let's take a look at the rele...[Details]
-
For the controller, whether it is a single-chip microcomputer series or a plc series, it controls the high and low levels of the pins to control the peripherals. Usually we use various languages to...[Details]
-
Research and development, entrepreneurship, frustration, and transformation. The career development path of Zhang Lei, sales manager of Yifei Intelligent Control, is almost a microcosm of the Chine...[Details]
-
MCU model STC 89C52RC #include reg52.h #define RldTmr(fr) 65536 - (11059200 / 12) / (fr 1) #define FuDian(n) (n 1) / 3 //Conversion of dotted nth note typedef unsigned char UCHAR; ...[Details]
-
All interrupt functions are defined in the .s file. WWDG_IRQHandler PVD_IRQHandler TAMPER_IRQHandler RTC_IRQHandler FLASH_IRQHandler RCC_IRQHandler EXTI0_IRQHandler EXTI1_IRQHandler EXTI2_I...[Details]
-
Ⅰ. Write in front The stability of STM8S is not as good as that of STM32, especially when the power consumption is low. When using EXTI external interrupt to wake up, it is easy to be woken up by i...[Details]
-
I. Overview I think people who work on microcontrollers or embedded systems are not unfamiliar with watchdogs. Today I will summarize the functions of the STM32F0 watchdog. There are two types of wat...[Details]
-
In-system programming, abbreviated in English as ISP, stands for In System Programming. Here, "system" refers to the circuit system. It is a technology first proposed by Lattice Semiconductor that al...[Details]