-
For STM32, there are two ways to reset the software: 1) Use the official software library The system reset function is directly provided in the stm32f10x_nvic.c file of the official software li...[Details]
-
In the actual project development process, it is common to encounter modifications to the hardware circuit, and then the modified part requires the modification of the driver. Thinking about the comi...[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]
-
1. Initial understanding of FSMC: FSMC consists of 4 modules: (1) AHB interface (including FSMC configuration register) (2) NOR flash memory and PSRAM controller (when driving LCD, LCD is like a PSRA...[Details]
-
At present, in the world,
the construction of
smart cities
is in the process of gradually landing from concept, and technology giants and investment giants are important participants in this...[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]
-
In mid-to-late 2016, a girl from Hubei came to Beijing alone, full of curiosity about
cloud computing
. The girl left the deepest impression on me was her lovely smile. She told me that if ...[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]
-
1. What is PWM What is PWM? Professionally speaking, it is pulse width modulation. In layman's terms, it is the continuous output of high and low levels. For example, the microcontroller outputs...[Details]
-
/*---------------------------------------------------------------------- TMOD (89H) T1 T0 GATE C/T` M1 M0 GATE C/T` M1 M0 -----------------------...[Details]
-
The circuit shown in the figure requires that the light is off when the machine is turned on. Press the button once, and the light D1 will turn on and automatically turn off after a delay of 10 secon...[Details]
-
Try to design a subroutine, whose function is to rearrange the 6 single-byte positive integers in the internal RAM pointed to by (R0) in ascending order. ;========================================== ...[Details]
-
The following comes from - "cortex-M3 Definitive Guide" Special function register group: Program Status Registers (PSRs or xPSRs) Interrupt mask register group (PRIMASK, FAULTMASK, and BASEPRI) ...[Details]
-
//Environment: winavr+avr studio char temp=0; ISR(TIMER1_COMPA_vect )//interrupt function { // user code here temp++; if (temp==10) temp=0; PORTA=temp; DDRA=0xff; } void ...[Details]
-
I read the description of I/O ports in the M16 manual, which says that you can use the internal pull-up resistor by setting DDXn=0, PORTn=1, PUD=0. Since this can be used, when using the key circuit,...[Details]