The codes for each module written separately are all debugged, but when put together under one Project, it gets stuck. Is it because of multiple interrupt conflicts?
Or it is in an endless loop in an ...
Environment: IAR ewarm 5.2 + J-link + stm32 Phenomenon: I just changed ewarm 4.4 to 5.2 today. The program runs normally in simulation and actual operation under 4.4. It runs normally in simulation un...
When a button is long pressed, a data needs to be added during this process. For example, if a number is originally 1, when it is long pressed, the number automatically increases until the button is r...
I am using M16+ ICC V7 to debug the program , AD conversion plus PWM wave. In the program, I directly set an OCR0 value according to the AD value range to change the duty cycle, such as if (ADthe data...
Dong Yang, executive vice president of the China Association of Automobile Manufacturers, said on the 26th that according to the authorization of the Ministry of Industry and Information Technology...[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]
I have been working on this i2c for several days. Many people on the Internet say that this is a problem with the ST package library, and they basically talk about the STM32F1 series of chips, and ev...[Details]
Recently, the relevant person in charge of the Energy Conservation Division of the Energy Conservation and Technology Equipment Department of the National Energy Administration said on the issue of...[Details]
There has been a lot of news about Huawei
phones
recently
. At the
Huawei
Global Analyst Conference
on the 17th
,
Huawei
announced that it will launch
5G
phones
in the seco...[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]
1 Introduction Due to the special working environment of coal mine production, the production process is more dangerous and unsafe than the general industry. With the continuous increase in c...[Details]
First of all, security practitioners have never felt that AI can be used as deeply as today. Although Antelope Cloud is a platform manufacturer, it has always been interested in AI and AI- specific...[Details]
Every era has anxiety that has nowhere to go. Let's follow the embedded editor to learn about the relevant content.
The anxiety of the post-Internet era is that if you don’t revolutionize ...[Details]
Different models of PIC series microcontrollers have different watchdog settings. The following takes the PIC16F688 microcontroller as an example. 1. If WDTE=1 in the configuration word, the watchdog...[Details]
Why does MCU have a watchdog? With this question, let's learn about watchdogs. Even the 51 single-chip microcomputer has a watchdog, which shows that this dog has a special meaning to us. The purpose...[Details]
The storage media corresponding to the three boot modes of STM32 are built-in to the chip, they are: 1. User Flash = Flash built into the chip 2.SRAM = RAM area built into the chip, which is the m...[Details]
If you do not use an external crystal on the STM32, the connection method of OSC_IN and OSC_OUT If you use the internal RC oscillator instead of an external crystal, please follow the following metho...[Details]
environment: Host: XP Development environment: MDK4.23 MCU:STM32F103CBT6 illustrate: Collect AD through pins PA1 and PA2. Collect AD 10 times for each channel. #include "ad_driver.h" //Global ...[Details]
When the program starts running, light A turns on for 5 seconds, then turns off, light B turns on for 5 seconds, light B turns off, light C turns on for 5 seconds, light C turns off, the program ends...[Details]