A serial communication error detection and correction method and device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAZHONG UNIV OF SCI & TECH
- Publication Date
- 2021-12-03
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the field of serial port communication, and more specifically relates to a serial port communication error detection and correction method and device. Background technique
[0002] Serial port communication is a communication method often used in engineering, and its method is simple and reliable. One byte of serial port communication is 8 bits, and the serial port sends one byte at a time. The traditional error detection method of serial communication is to use the checksum, that is, to place a check digit in the last byte of each frame. The check digit usually uses a check method such as CRC, accumulation, etc., but the traditional check method It can only detect errors in the received data, but cannot find the location of the errored data, and cannot correct the erroneous part at the same time. In engineering applications, in order to prevent data errors due to environmental interference during serial communication transmi...