-
On April 24, Sungrow released its annual financial report. The report shows that in 2017, Sungrow's global shipments reached 16.5GW, of which domestic shipments reached 13.2GW, a year-on-year incre...[Details]
-
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]
-
This program mainly uses the comparison output function of the timer to generate PWM waves to control the LED. The comparison output of timer A corresponds to P2.3 P2.4. Therefore, a matching working...[Details]
-
This routine is also a classic routine on the development board. I modified the framework of the program to make it more suitable for future calls. The specific 4*4 keyboard scanning principle is rel...[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]
-
1. Brief description A summary of "How to build uClinux kernel transplantation on ARMSYS development board with S3C44B0X as core", including the analysis of Bootloader function and the key co...[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]
-
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]
-
A crystal oscillator can be electrically equivalent to a two-terminal network consisting of a capacitor and a resistor in parallel and a capacitor in series. In electrical engineering, this network h...[Details]
-
Here is the temperature added in the previous chapter The above figure is the temperature calculation formula: where Vsense is the ADC value collected from the temperature channel. The stm32f407 ...[Details]
-
Proteus simulation circuit diagram C language program #include absacc.h #include reg52.h #define DA0832 XBYTE #define uchar unsigned char #define uint unsigned int ...[Details]
-
Please help me analyze the clock cycles occupied by the following delay program. Seek to explain: DELAY: MOV R6, #13 DELAY1: MOV R5, #250 DELAY2: NOP DJNZ R5, DELAY2 DJNZ R6, DEL...[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]
-
/**********(一)Timer A comparison mode*************/ int main( void ) { WDTCTL=WDTPW+WDTHOLD; //Turn off watchdog BCSCTL1 =CALBC1_1M Hz ; //Set DCO to 1MHZ DCOCTL =CALBC1_1MHZ; P1DIR |= BIT0; ...[Details]
-
In this example, a single-byte binary number (0X20) is converted into uncompressed BCD code and stored in 0X25, 0X24, and 0X23, where 0X25 is the hundreds place and 0X23 is the ones place. main: MOV ...[Details]