GPIO_PinRemapConfig(GPIO_Remap_TIM4, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); No matter whether these two sentences are used or not, PB6-PB9 have signal output, but PD12-PD15 have...
In the cmd file, you can see various segments such as .text .cinit .const, etc., which are very different from the usual system that only has TEXT, DATA, BSS (or code, data, zi segments of arm system)...
[table=98%,rgb(255,255,255)] [tr][td]Hello everyone, I am a beginner, I am writing a program to send data through serial port 1, the program is as follows, I don't know why the program displays garble...
It seems that no one has written such a document in China yet. I should be the first one (I can't find the relevant Chinese version of the environment setting instructions on the Internet). We all kno...
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]
In the previous article, I wrote a simple GPIO running light test, which looked a bit monotonous. I was used to serial port debugging. If there was no serial port on the board, I had to find another ...[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]
In 1952, Bell Labs built a 6-foot-tall automatic number recognition machine called "Audrey", which could recognize the pronunciation of the numbers 0 to 9 with an accuracy of more than 90%. And its...[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]
Autonomous driving
and
5G
are the two hot topics that global companies and media are paying the most attention to, and the combination of the two is the focus of everyone's attention....[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]
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]
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]
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]
T1 or T2 are two timers/counters of MCS-51 microcontroller. The first method can use two timers/counters to generate rectangular waves. In order to save interface resources, the second method is used...[Details]
In the 80C51 single-chip microcomputer, the clock frequency is known to be 6MHz. Please program P1.0 and P1.1 to output square waves with periods of 2s and 0.5s respectively. Please give the answer a...[Details]
In 2014, the production and sales of new energy vehicles in China exceeded 80,000 units, and the development trend is encouraging. In order to enable new energy enthusiasts and junior R&D personnel t...[Details]
//Note: The GCC-AVR version used in this article is WinAVR20100110 Interrupts are not part of the C language, and the implementation of interrupts is implemented by the compiler. Therefore, the writ...[Details]