My program can send and receive data normally, but when receiving data from the touch serial terminal, it can only receive two bytes after each reset, and the subsequent data cannot be received. My pr...
I want to send data 05 to the serial port, the function is as follows, but it can't be displayed on the serial port. What is the problem?#include "stm32f10x.h"GPIO_InitTypeDef GPIO_InitStructure;USART...
Moderator: HelloIn the SegmentA information storage area of MSP430F149, can it be provided to users as parameters? I want to store the modified parameters in FLASH. Do you have a FLASH erase and write...
[color=#000][font=Helvetica, Arial, sans-serif]I wonder if you have read the book 'MCU Engineer's Refining Record'. I just read the third chapter, which is the beginning of the text, and I can't stand...
The following problems were encountered during the previous test: When the DSP's network IP configuration is set to DHCP mode, an error will occur and the IP address cannot be obtained. The printed in...
Event: The company simultaneously released its 2017 annual report and the first quarter report of 2018. In 2017, the company achieved revenue of 8.886 billion yuan, a year-on-year increase of 48.01...[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]
I used STM32CubeMX V4.22.1 to generate a project including EHT and Lwip. The debugging has been abnormal. After careful inspection, the following problems were found: 1. The hardware uses LAN8720A, b...[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]
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]
1) ADC multi-channel acquisition: (Multi-channel acquisition must use scanning mode. In scanning mode, the channels of the rule group share a register, so DMA transmission must be used; to prevent da...[Details]
/*----------------------------------------------- Name: IIC protocol PCF8591 AD/DA conversion Content: Use DA input, digital tube display output digital quantity, LED display analog voltage size ...[Details]
Unfortunately, my serial port has some problems and I can't print information. I can only debug to view variables and see the values. Fortunately, there is not much AD conversion code, and I can use ...[Details]
//Environment: winavr+avr studio char temp=0; ISR(TIMER1_COMPA_vect )//interrupt function { // user code here temp++; if (temp==10) temp=0; PORTA=temp; DDRA=0xff; } void ...[Details]
"Now I can't even afford a
memory
stick
to equip my computer
." The price of
memory
sticks has risen rapidly recently. Take 8GB Kingston
memory sticks
as an example. Compared...[Details]
Starting this month, 39 electric vehicle charging stations in Urumqi have begun to be upgraded to the new national standard, and it is planned to be completed by the end of the year.
On the 21...[Details]