If the design is a little complicated, then too much attention to the underlying details will become a burden. Imagine that we usually write C programs on the computer. For example, to output a line o...
[size=4]/*Timer output unit example:[/size] [size=4]ACLK clock frequency is LFXT1=32768Hz, use Timer_A to output a PWM wave with a period of 512/32768[/size] [size=4]=15.625ms, and a duty cycle of 75%...
During normal program execution, the value of the program counter register (PC) increases by 4 bytes for each ARM instruction executed; the value of the program counter register (PC) increases by 2 by...
I want to learn about RAM recently. I have been using 51 before. I can’t say I am proficient in it, but at least I am familiar with its basic principles and applications.I want to buy a development bo...
[size=5]As shown in the figure, the phenomenon occurs during debugging, the green DebugBreak on the right, and the blue part below Program exit reached. Has anyone encountered this before? How to solv...
[i=s]This post was last edited by ljj3166 on 2021-6-20 13:55[/i]Weekend Open
I sorted out the basic functions of indoorPower consumptionIndoor uses an eink screen, which requires a large amount of mem...
ljj3166onsemi and Avnet IoT Innovation Design Competition
The global PV inverter market will shrink from $6.3 billion in 2017 to $3.7 billion in 2022 due to falling prices, according to GlobalData.
Global PV Inverter Market Value to Shrink to $3.7 Bil...[Details]
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]
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]
Recently, the US embargo on ZTE has attracted much attention. Let's take a look at the relevant content with the automotive electronics editor. On April 16, local time, the U.S. Department of Co...[Details]
1. Photovoltaic inverter installation process
1. Preparation before installation
Are the product accessories, installation tools and parts complete? Is the installation environmen...[Details]
Function List and Notes (lower-level driver part) 1. IO port initialization: control IO and communication IO. Control includes power control, reset and low power mode. Communication is the serial po...[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]
I used the bit definition in my 51 program: bit flag. After defining it this way, I ran the program and downloaded it to the circuit board. I found that the flag was not the value I set, which led to...[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 Vatican Secret Archives is one of the world's greatest historical collections, but many of its documents have never been transcribed. Recently, a project called Codice Ratio used a
combination...[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]
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]
Interrupts and timers implement a 24-hour clock. The program is as follows: #include reg52.h #define PORTLEN P0 sbit bit_select = P2^0; sbit seg_select = P2^1; unsigned char src = {0x3f,0x06,0...[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]