Serial communication, 1. Do you set the frame header and frame tail checksum yourself? Is this considered a protocol? 2. I see some protocols have a frame header but no frame tail but have a checksum....
Software ResetA software reset clears the uPP internal state machine but does not reset the contents of the UPP registers. The following procedure performs a software reset of the UPP peripheral.Step ...
Hello everyone, I would like to ask if I already have a charger battery for a mobile phone 3.6V 1200mAh lithium battery. I want to make a function that can display the remaining battery power. Use fou...
I am a software engineer and not very familiar with hardware. Now the project needs a small embedded device. The functions and requirements to be completed are as follows: 1. TCP/IP network communicat...
The development board is fully functional, and is equipped with expansion modules and a DVD (including a zero-based video tutorial exclusively recorded by Ruizhi Electronics, a supporting PDF tutorial...
I recently upgraded MDK to V5.25 and found that there are many libraries in the Managing Run-Time Environment. Compared with the past, it is much better, from the bottom-level driver to the upper-le...[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]
In 2018, the National Development and Reform Commission issued a new photovoltaic subsidy policy. The benchmark on-grid electricity price was significantly reduced, the return on investment decreased,...[Details]
Household photovoltaic power stations mainly utilize idle resources on existing household buildings, such as roofs, wall facades, balconies, courtyards, etc., to install and use distributed photovo...[Details]
The photovoltaic industry has become a new business card for China to the world. It not only represents China's leading technology, but also constantly breaks various records with its development spee...[Details]
Use the STM32 timer input capture module to control 3-way ultrasonic sensors. The ultrasonic sensor used this time is the common HC-SR04, which is often used in the obstacle avoidance system of smal...[Details]
1. Function and purpose There are two pins BOOT0 and BOOT1 on each STM32 chip. The level status of these two pins when the chip is reset determines which area the program starts from after th...[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]
Assume that the MCS-51 microcontroller uses a 12MHz crystal oscillator, and wants to use a timer to generate a pulse with a duty cycle of about 30% and a period of 60ms at port P1.0. ;==============...[Details]
The STC12C5412AD microcontroller is an enhanced 8051 standard 51 series microcontroller. It is 12 times faster than the ordinary 8051 and can be programmed on a home computer without an emulator. ...[Details]
The watchdog timer is a counter whose basic function is to restart the system after a software problem or program runaway occurs. The watchdog counter counts automatically when it is working normally...[Details]
An example of Samsung S3C/S3P/S3F9XXX series MCU implementing table lookup operation ; to implement table lookup operation, you must first define the table address, there are two ways t...[Details]
The chip is EM78P153 ; P64, P65 are connected to the crystal oscillator, the oscillation mode is 4MHz crystal oscillator ; the watchdog is off, the instruction cycle is 2 CLOCK, and P63 is the rese...[Details]