Serial asynchronous communication data transmission method

A data transmission method and asynchronous communication technology, applied in the direction of electrical digital data processing, instruments, etc., can solve the problems that the real-time and correctness of serial communication data cannot be guaranteed, so as to improve the accuracy rate and real-time performance, and ensure high reliability , to reduce the effect of delay

CN104239254BInactive Publication Date: 2017-04-05SOUTH WEST INST OF TECHN PHYSICS
7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2017-04-05
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a serial asynchronous communication data transmission method, and aims to provide a method which is intuitive and simple in structural model, short in design flow, distinct in procedure level and high in reliability, and can ensure the instantaneity of communication transmission data on communication time series and data frame formats. The serial asynchronous communication data transmission method is implemented through the following technical scheme and comprises the steps of adopting an upper computer micro-control chip as an upper computer for asynchronous serial communication, adopting a lower computer micro-control chip as a lower computer for asynchronous serial communication, and connecting the upper computer and the lower computer through a TTL (Transistor-Transistor Logic) / serial signal conversion circuit to form a serial asynchronous communication data transmission device; arranging serial asynchronous communication data transmission program software formed by a serial data receiving processing module, a serial data transmission module and a timer T module in the upper computer micro-control chip and the lower computer micro-control chip; transmitting serial data frame information to transmit buffers of the upper computer and the lower computer in a time-division way; assigning the real data frame to a buffer array Ai through a receive buffer; storing an array word string consistent to a communication frame protocol into a buffer array Bi.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a method for realizing serial asynchronous communication data transmission by adopting composite technology in electronic system serial asynchronous communication. Background technique

[0002] In the electronic system, the computer micro-control chip (single-chip microcomputer or DSP) between each component needs to exchange data and establish a communication link. The use of serial communication means is one of the important and commonly used communication methods. The working mode of serial communication is divided into synchronous mode and asynchronous mode. In actual work, the asynchronous mode is used most, including three commonly used bus standards: RS-232, RS-422, and RS-485. Serial transmission refers to the way in which the binary code of data is transmitted bit by bit in time sequence on a physical channel. During serial transmission, the sending end sends bit by bit, and the receiving end accepts bit by bit. At th...

Examples

Embodiment Construction

[0015] The present invention will be further described below in conjunction with drawings and embodiments. Wherein, the accompanying drawings constitute a part of the application, and are used to illustrate the principles of the present invention together with the embodiments of the present invention.

[0016] refer to figure 1 . In the embodiment described below, the device for realizing serial asynchronous communication data transmission includes, the upper computer micro-control chip is used as the upper computer of asynchronous serial communication, and the lower computer micro-control chip is used as the lower computer of asynchronous serial communication, The upper computer micro-control chip and the upper computer micro-control chip are computer micro-control chips, and the two are connected through the standard RS-232 / RS-422 / RS485 interface and TTL / serial port signal conversion circuit to form a serial asynchronous communication data transmission device. The computer...