-
1. Problem When developing STM32 with IAR, I found that I could not print floating point numbers by redirecting printf to the serial port. The code is as follows: The output is as follows: It can...[Details]
-
Hardware platform: stm32F407Zet6 Software platform: stm32cubeMX 4.7+MDK5.14 Circuit connection: PE8-LED0, PE9-LED1, PE10-LED2, PE11-LED3 Step 1: Create a project using stm32cubeMX 1. Start the soft...[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]
-
What is SYSTICK: This is a 24-bit system tick timer, SysTick, with automatic reload and overflow interrupt functions. All microcontrollers based on the Cortex_M3 processor can obtain a certain time ...[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]
-
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]
-
Independent watchdog (IWDG) and low power mode are often used in STM32 development. The watchdog is to detect and solve faults caused by software errors, and the low power mode is to enter sleep mode...[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]
-
Introduction: As a power electronic device, the photovoltaic inverter mainly converts the direct current generated by the photovoltaic module into alternating current. Because there are thousands o...[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]
-
1. A/D (Analog-to-Digital) and D/A (Digital-to-Analog) Conversion 1. Pin AOUT: Analog output Vref: reference voltage AGND: Analog ground EXT: Ground OSC: Floating SCL,SDA:IIC AIN0, AIN1, AIN2: anal...[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]
-
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]
-
Homemade LED Electronics Clocks can be seen in many electronic newspapers and magazines, but most of them need to reset the time and other parameters after power failure, which brings a lot of inco...[Details]
-
MSP430 MCU Stepper Motor Program #include "msp430x22x4.h" #define uchar unsigned char #define uint unsigned int uchar i=0; // Scanning 4x4 keyboard #define keyin (P2IN&0x0F) //digital tube v...[Details]