-
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]
-
1. Function prototype In the function library officially provided by STM32, you can find functions like HAL_Delay(). This function uses a timer to achieve a more accurate time delay and provides it...[Details]
-
All relevant units:
In accordance with the relevant requirements of the provincial and municipal electric vehicle charging infrastructure construction work, in order to further standardize the...[Details]
-
Regarding the PHY construction of LWIP, the PHY chip used is LAN8720A, RMII mode. Regarding the hardware connection part, the Atomic board F407 is used, and the hardware connection is as follows: ...[Details]
-
Overview
Lightning is a strong discharge phenomenon that occurs between thunderstorm clouds and between thunderstorm clouds and the earth due to severe convective weather. Lightning is gen...[Details]
-
The implementation of CAN driver under embedded operating system Android requires not only adding CAN driver device in Linux kernel, but also implementing the call of Android HAL layer. Taking S5...[Details]
-
With the development of the automobile industry, more and more automotive electronic components are being used in modern cars, providing better safety, comfort and economy for cars. In the past, cars...[Details]
-
pre name="code" class="cpp" uint32_t ADC_Detect(uint32_t AD_Channel) { hadc.Instance- CHSELR = 0; ADC_ChannelConfTypeDef sConfig; sConfig.Channel = AD_Channel; sConf...[Details]
-
Use the STM32 timer input capture module to control 3-way ultrasonic sensors. The ultrasonic sensor used this time is the common HC-SR04, which is often used in the obstacle avoidance system of smal...[Details]
-
Pin Definition FSMC configuration steps 1. Enable the corresponding pin GPIO clock 2. Configure the GPIO pin mode 3. Enable the FSMC clock 4. FSMC initialization 5. Memory block enable Examp...[Details]
-
OSC_IN and OSC_OUT are external crystal pins by default. If you do not use an external crystal oscillator on the STM32, how to connect OSC_IN and OSC_OUT If you use the internal RC oscillator instead...[Details]
-
DMA: 1. When using DAC, when the converted analog signal is output through the IO port, why is the IO port also configured to input mode? PS: The stm32 manual defines that PA4 and PA5 are connected...[Details]
-
Using AT89S51 microcontroller, modify the original one to turn the LED on for 4s and off for 2s. Thank you. Use a timer. (The program is written in the answer, omitted here - just a note) The origi...[Details]
-
/********************************************************************** ** ** File : SPI.c | TLC549 | ** Ver...[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]