#include#define Num_of_Results 8 uint ADC_BUF0[Num_of_Results]; uint ADC_BUF1[Num_of_Results]; uint sumI; //Define current sampling average uint sumV; //Define voltage sampling average //*************...
For a long time, SD cards with Flash Memory as storage have been widely used in consumer electronic products due to their small size, low power consumption, erasable and non-volatile features. Especia...
Test tools: 1. Adjustable DC power supply 2. Multimeter Test time: 20181009 Environment: 26℃ , 46%RH Test items: 1. Leakage current Short-circuit the drive end pin2 and pin3 of TLP3547F, apply 60VDC b...
The homework requires me to use 8951 and analog AD574 or AD1674 and smart meter to measure the voltage and frequency of AC power respectively, and also need 4-digit LED output results. It is due next ...
Nowadays, learning, developing software, and researching open source are inseparable from GitHub. However, due to various reasons, we often encounter various problems and inconveniences when accessing...
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]
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. Purpose Since the number of times the STM32 FLASH can be erased and written is limited, in order to protect our FLASH and extend the use time of the MCU, we can debug on the SRAM. SRAM is a ...[Details]
Using Systick timer to achieve delay 1. SysTick timer characteristics The SysTick timer is a 24-bit down counter, that is, when vlue is decremented to 0, an interrupt is triggered and the load va...[Details]
The last two blogs talked about a version problem of STM32CubeMX and the problem of hardware reset. When you solve these two problems, you will find that after the program is burned into the board, t...[Details]
Automotive LCD Instrument Clock EMI Solution As early as 2014, the market size of China's automotive full LCD instrument has reached 3.506 billion yuan, and it is expected that by 2020, this s...[Details]
This small program is still the use of timer, which is relatively simple. The specific parts are noted in the comments, please refer to the comments. /*********************************************...[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. Introduction to MC68K CPU The MC683xx series of microcontrollers are composed of the famous MOTOROLA 32-bit microprocessors such as MC68K, 68020, 68040, and the compatible 68K, CPU32, CPU3...[Details]
*This article is based on the author's report at the "Embedded System Association Theme Discussion (Total 22nd) - Current Situation and Development Prospects of Internet of Things Operating Systems...[Details]
In January, Android 7.0 Marshmallow surpassed Lollipop three years ago to become the second most used Android version in the world. According to
the latest data from
Google
, a snapshot of d...[Details]
China Energy Storage Network News:
"As the world's first third-generation blockchain, Anda Chain, which has China's independent intellectual property rights, will be launched globally in the ...[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 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]
1) Independent watchdog has no interrupt, window watchdog has interrupt 2) Independent watchdogs can be divided into hardware and software, while window watchdogs can only be controlled by software...[Details]