Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Serial communication error correction method and system

A technology of serial communication and error correction method, applied in transmission system, digital transmission system, error prevention and other directions, it can solve the problem that serial communication has no data format and communication protocol, both parties cannot correct data by themselves, and cannot determine whether the other party is correct or not. Receive data and other problems to achieve the effect of improving the communication rate

Active Publication Date: 2013-04-17
SHENZHEN SINE ELECTRIC
View PDF1 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present invention is to provide a serial communication error correction method and system, aiming to solve the problem that the serial communication in the prior art has no specific data format and communication protocol, and there is no special data check and response mechanism , the two parties in the communication cannot determine whether the other party has received the data correctly. When the data communication error occurs, the two parties in the communication cannot self-correct the data problem. When the transmission communication fails, the shift storage function of the shift register can ensure the normal reception of subsequent data. error correction data

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Serial communication error correction method and system
  • Serial communication error correction method and system
  • Serial communication error correction method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024]Dual-chip initialization, open the receiving function of each end of the dual-chip, allowing the other chip to send and the local chip to receive data, in which the falling edge of the defined level is the sending data. The data communication of the clock line synchronizes the clock. When the clock of the slave chip is different from the clock of the master chip, the clock of the master chip is used as the reference clock data. The receiving data line and sending data line of the three-wire system are ready to wait for dual-chip synchronous serial data transmission and reception after initialization. After the dual chip is initialized, data interaction can be performed. The sending end sends data through the sending data line, and the receiving end responds synchronously. After receiving the data, the receiving end verifies whether the received data is custom The data information of the length, whether the start character and end character of the data are user-defined st...

Embodiment 2

[0026] Dual-chip initialization, open the receiving function of each end of the dual-chip, allowing the other chip to send and the local chip to receive data, in which the falling edge of the defined level is the sending data. The data communication of the clock line synchronizes the clock. When the clock of the slave chip is different from the clock of the master chip, the clock of the master chip is used as the reference clock data. The receiving data line and sending data line of the three-wire system are ready to wait for dual-chip synchronous serial data transmission and reception after initialization. After the dual chip is initialized, data interaction can be performed. The sending end sends data through the sending data line, and the receiving end responds synchronously. After receiving the data, the receiving end verifies whether the received data is custom The data information of the length, whether the start character and end character of the data are user-defined s...

Embodiment 3

[0028] Dual-chip initialization, open the receiving function of each end of the dual-chip, allowing the other chip to send and the local chip to receive data, in which the falling edge of the defined level is the sending data. The data communication of the clock line synchronizes the clock. When the clock of the slave chip is different from the clock of the master chip, the clock of the master chip is used as the reference clock data. The receiving data line and sending data line of the three-wire system are ready to wait for dual-chip synchronous serial data transmission and reception after initialization. After the dual chip is initialized, data interaction can be performed. The sending end sends data through the sending data line, and the receiving end responds synchronously. After receiving the data, the receiving end verifies whether the received data is customized according to the requirements of the dual chip communication protocol. The data information of the length, w...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is suitable for the field of communication and provides a serial communication error correction method and a serial communication error correction system. The method comprises the following steps that a receiving end chip receives data sent by a transmitting end chip; according to a beginning character, a final character and a data length which are predefined, the receiving end chip judges whether the data sent by the transmitting end chip is effective data; when the data is the effective data, the receiving end chip and the transmitting end chip continuously carry out data exchange; and when the data is wrong data, the receiving end chip enters an error correction mode to carry out error correction. According to the invention, when data communication has a communication error, both communication parties can implement self-correcting on the data, so that both the parties can be enabled to receive the correct data sent by opposite sides and quality of communication data is ensured.

Description

technical field [0001] The invention is applicable to the communication field, and in particular relates to a serial communication error correction method and system. Background technique [0002] At present, the general-purpose serial communication has no specific data format and communication protocol, and there is no special data verification and response mechanism. The influence of the electromagnetic field on the data, for example, the data level of the three communication lines is affected due to external signal interference, resulting in incorrect data received by the chip or due to inability to synchronize, resulting in data errors due to asynchronous, or It is due to the communication between two chips. If the two chips are not on the same control board, or the power supply is different, one chip runs earlier than the other chip. If the host runs first, it starts to send clock and data, and when the slave When the machine is powered on and starts running, if the ma...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L1/00
Inventor 欧阳博
Owner SHENZHEN SINE ELECTRIC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products