How to use KBUILD_MODNAME In the makefile, use -D KBUILD_MODNAME="" and use it directly as a string in the code. When compiling, it prompts that KBUILD_MODNAME is not declared. What is the problem? In...
[b]TOMU[/b] is an open source, extremely tiny development board with a USB interface. It is only 13mm long, a completely open source development board that uses a silabs Gecko EFM32HG309 processor and...
The company asked me to design a board for testing motors. It is mainly used to test brushless motors and carbon brush motors. It is required to be able to achieve a wide load power supply DC6-220V, w...
Now I want to make a power switch control, similar to the power on and off of a mobile phone, to achieve the following functions: 1) Long press to turn on; 2) Short press to interrupt the CPU operatio...
Dong Yang, executive vice president of the China Association of Automobile Manufacturers, said on the 26th that according to the authorization of the Ministry of Industry and Information Technology...[Details]
Designing for automotive LCD displays larger than 5" can be complex. The display source driver requires a supply rail called analog voltage device drain (AVDD) in the 10V to 15V range and two supply ...[Details]
In order to strengthen the management of new energy vehicle charging facilities in our city, prevent and reduce accidents, protect the lives and property of the people, and improve the public safet...[Details]
The update interrupt initialization configuration of the stm32 advanced timer TIM1 is not much different from that of the ordinary timer. What needs to be paid attention to is the configuration of TI...[Details]
The goal of this article is to build a TCP client based on the previous project that can ping the PC, and can actively send data to the PC, and can also send and receive data with the PC, and display...[Details]
Different from 51, AVR and other single-chip microcomputers, the clock signal sources of msp430 include LFXT1, XT2 and DCO. 1. LFXT1: It can connect high-speed and low-speed crystal oscillators. In l...[Details]
Recently, Zhejiang Lipu Crushing Equipment Co., Ltd. invested 50 million yuan to build a new "annual production of 1,200 high-efficiency and energy-saving ultra-fine pulverizer construction project...[Details]
The article is written for LPC2148, but it is also applicable to Samsung's 44B0 chip. You only need to select S3C44B0 as the corresponding CPU when selecting it. JLINK debugging experience un...[Details]
According to the description provided in the official manual of ST, it is not difficult to see that the ADC analog watchdog is actually that the user can set an upper and lower limit of the AD value...[Details]
The analog watchdog of the ADC is used to check if the voltage is out of bounds. It has two upper and lower bounds, which can be set in the registers ADC_HTR and ADC_LTR respectively. The library fun...[Details]
The storage media corresponding to the three boot modes of STM32 are built-in to the chip, they are: 1. User Flash = Flash built into the chip 2.SRAM = RAM area built into the chip, which is the m...[Details]
When the program starts running, light A turns on for 5 seconds, then turns off, light B turns on for 5 seconds, light B turns off, light C turns on for 5 seconds, light C turns off, the program ends...[Details]
Timer Interrupt The timer function of STM32 is very powerful. There are advanced timers such as TIME1 and TIME8, general timers such as TIME2~TIME5, and basic timers such as TIME6 and TIME7. In th...[Details]
;Question: The 80C51 single-chip microcomputer has a fosc = 6MHz. It is required to use the T1 timer working mode 1 to perform a timing of 40ms. And P1.7 periodically outputs a rectangular wave with ...[Details]