[size=4] 1. The pipeline can only play its maximum efficiency when it is filled with instructions, that is, one instruction is executed in each clock cycle (only single-cycle instructions). If the pro...
The speed of running in RAM is obviously faster than that of running in flash. I want to know how to move the program in the FLASH of F2812 chip to RAM. Does anyone have the relevant process and routi...
[i=s]This post was last edited by btty038 on 2021-1-16 10:51[/i]A few buckle picturesThis is the normal layoutThe following is explained in the above pictures.This is the verified dataMeasured data wa...
As the title says, I want to make a gadget with stm8 to realize recording function. The main chip is STM8S series, and the audio file is stored in SD card. I want to know how to store the audio in SD ...
I made the board myself.The emulator is fine. The hardware design is fine because the previous boards were fine.The new board has no connection problems, but when I burn the LOAD .OUT file, it prompts...
1. Principle 1. Infrared emission protocol The infrared transmission protocol has been written in the previous article , so I will not repeat it here. 2. Timer counting and input capture A timer...[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. Photovoltaic inverter installation process
1. Preparation before installation
Are the product accessories, installation tools and parts complete? Is the installation environmen...[Details]
After we understand the use of libopencm3, we find that libopencm3 is only suitable for small projects. Its biggest feature is the convenience of USB. So when we configure large projects, is there a ...[Details]
In the Chinese automobile market, the trend of new energy vehicles and driverless cars is leading the transformation of China's automobile industry. As the world's largest automobile market, "Chinese...[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]
Temperature, humidity and irradiance are must-measure items in the photovoltaic industry. However, most of the current data collection is done by storing data in USB flash drives for offline analys...[Details]
Using the WWDG of STM32F030, it is found that the MCU will not be reset under STOP, just like the sleep mode of STM8S. Paste the watchdog code: /******************************************************...[Details]
STM32 has two watchdogs: independent watchdog and window watchdog. This article mainly introduces the use of independent watchdog. Independent watchdog (IDWG): driven by an independent 40KHZ low-sp...[Details]
The single-chip microcomputer running light program requires all 32 serial ports to be used, and each serial port has eight LEDs. Question supplement: The 8051 single-chip microcomputer is used, an...[Details]
A simple experimental programming question for the microcontroller: write a 3-byte binary addition subroutine. The program entry is: addend 1: 22H, 21H, 20H three bytes, 22H is the highest bit; adden...[Details]
Design a program for the 51 single-chip microcomputer. It is known that the crystal oscillator frequency of the 89C51 single-chip microcomputer is 12MHz, and it is required to use T1 timing to output...[Details]
1. Pin: 0 in 1 out Set Status Output status IO register setting DDR×A certain bit is set to 1, and the corresponding bit IO is set to output; PORT×A certain position is 1/0, and t...[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]