Unlock instant, AI-driven research and patent intelligence for your innovation.

Multi-RS422-serial-port communication method based on Local Bus

A technology of RS422 and serial port communication, applied in the field of serial port communication, can solve problems such as difficulty in realizing real-time performance, consumption of PCI or PCIe bus resources, heavy software workload, etc. Hierarchy of Needs Effects

Active Publication Date: 2016-11-16
湖南翰博薇微电子科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are GPIO-based connection methods and PCI or PCIe bus connection methods for the connection between the CPU and the expansion chip; among them, the connection between the CPU and the expansion chip through the GPIO-based connection method not only requires a lot of software workload, Moreover, it is difficult to achieve real-time performance; based on the PCI or PCIe bus connection method, PCI or PCIe bus resources need to be consumed

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
  • Multi-RS422-serial-port communication method based on Local Bus
  • Multi-RS422-serial-port communication method based on Local Bus
  • Multi-RS422-serial-port communication method based on Local Bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0041] A multi-channel RS422 serial port communication method based on Local Bus, which is realized based on a multi-channel RS422 serial port communication device and a real-time operating system VxWorks.

[0042] The multi-channel RS422 serial port communication device among the present invention comprises CPU minimum system, UART chip, crystal oscillator circuit and N RS422 conversion chips, is connected by Local Bus bus between UART chip and CPU minimum system, passes between UART chip and RS422 conversion chip The differential signal line is connected; the crystal oscillator circuit is connected to the UART chip.

[0043] The CPU minimum system is the Local Bus controller, which is used to control the Local Bus bus; preferred CS51 single-chip microcomputer in the present embodiment. The UART chip completes the serial and paralle...

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 discloses a multi-RS422-serial-port communication method based on a Local Bus. The method is realized based on a multi-RS422-serial-port communication device and a real-time operating system VxWorks. The method specifically comprises the following steps: calling a standard API function of the operating system to realize mutual communication with an upper layer application; setting the Local Bus; setting multiple RS422 driver programs; and triggering RS422 conversion chips in corresponding channels by adopting interruption service to perform data communication. The multi-RS422-serial-port communication method can conveniently realize a multi-serial-port communication task in an embedded type system, so that the system development and debugging efficiency is improved on the basis of reducing the resource consumption of the bus.

Description

technical field [0001] The invention relates to the technical field of real-time embedded communication, in particular to a serial port communication method. Background technique [0002] Serial communication has the characteristics of long transmission distance, stable transmission, simple and practical, and has been widely used in industrial control, data acquisition, network communication and other fields. In these application fields, some systems often need to implement multi-channel serial port communication to achieve different requirements such as different control and information collection. For example, one serial port is used to collect data, and the other serial port is used to send control commands. In addition, in the research and development process of communication equipment based on serial ports, it is often necessary to monitor the data transmission and reception interaction between the two parties in the communication, especially in military control systems...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/42
CPCG06F13/4286
Inventor 吴帆谭怀亮彭酊
Owner 湖南翰博薇微电子科技有限公司