I have been testing related projects these days, and there is a question that I don't understand: There are two tasks A and B in the vxworks environment, B has a higher priority. B receives messages a...
This is a program for TFT to display a red picture, but when running on the board, it takes almost an hour to display a complete picture. I don't know why. Please give me some advice.....................
A driver compiled using the 2.6.22 kernel and the cross compiler is arm-linux-gcc 3.4.1. The following is my makefile: KERNELDIR :=/home/arm/linux-2.6.22.19 PWD :=$(shell pwd) CFLAGS =-D__KERNEL__ -DM...
I first used a PLL frequency division, and then connected a clock selection module, as shown in the figure. Later, I want to continue to divide the selected clock. Can I still use PLL frequency divisi...
/*Solution 2: The period method measures the frequency. The period method measures the time between a limited number of pulses. When the measured frequency range is relatively low, the period method i...
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]
I have read the source code of mbed these days, and the interface encapsulation for upper-level application calls is quite good. The code quality is relatively high, the comments are also very detai...[Details]
On April 18-19, 2018, at the "Second Distributed Photovoltaic Carnival" held in Hangzhou, Jinko Power and China New Energy Assets Investment, Financing and Trading Platform (hereinafter referred to as...[Details]
Recently, the "Smart Photovoltaic Industry Development Action Plan (2018-2020)" jointly issued by six departments has put this concept on the forefront. Photovoltaic smart solutions will become the ne...[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]
Recently, Jiangsu GoodWe Power Technology Co., Ltd. ("GoodWe") unveiled two products of the SDT family, the 17kW smart photovoltaic inverter GW17KN-DT and the 20kW smart photovoltaic inverter GW20KN-D...[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]
Today’s medical devices are filled with increasingly complex electronic devices that monitor, display, assist and warn patients. The latest generation of medical device electronic devices are smaller...[Details]
1. What is PWM What is PWM? Professionally speaking, it is pulse width modulation. In layman's terms, it is the continuous output of high and low levels. For example, the microcontroller outputs...[Details]
The frequency calculation formula of the PWM wave generated by the output comparison mode of the timer is: 72M/((2*(arr+1))*(psc+1) ) For example, if you set: PWM_Init(1000-1,72-1); (PWM_Init(arr,psc...[Details]
An easy programming question for microcontrollers! Urgent, write a 3-byte binary subtraction subroutine. When using the main program to call multiple groups of data for debugging, two situations need...[Details]
LiDAR is a comprehensive light detection and measurement system. Compared with ordinary radar, LiDAR can provide high-resolution radiation intensity geometric images, distance images, and speed im...[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]
The engine is the heart of the car. Every place where work is done is like an atrium or ventricle. Let me tell you, there are several "variable" technologies in these atria and ventricles. According ...[Details]