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

A UART serial port transceiver adaptive method and system

An self-adaptive system and self-adaptive technology, applied in the field of communication, can solve problems such as reverse connection between sending and receiving, inability to communicate, and inability to communicate, and achieve the effects of avoiding cost waste, unified interface, and favorable promotion and application

Active Publication Date: 2022-04-15
成都天玙兴科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is that the sending and receiving of the UART serial port is opposite to the chip sending and receiving connection of the level conversion and causes the problem of inability to communicate. And connect the corresponding input and output terminals, which solves the problem that the communication between the UART serial port and the level shifting chip is reversed and the connection cannot be communicated.

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
  • A UART serial port transceiver adaptive method and system
  • A UART serial port transceiver adaptive method and system
  • A UART serial port transceiver adaptive method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Such as figure 1 As shown, the present invention is a UART serial port transceiver adaptive method. The design idea of ​​the present invention is to add an adaptive circuit between the UART serial port and the level conversion chip, and the adaptive circuit detects the sending and receiving signals of the UART serial port and the level conversion chip (TTL level end), and connects the corresponding input and output interface.

[0041] The level conversion chip can be R232 or R422, or other level conversion chips.

[0042] A concrete structure of an adaptive circuit in a UART serial port transceiver adaptive system, such as figure 2 shown.

[0043] The adaptive circuit adopts FPGA design, including signal transceiver module, control unit and switch module. The signal transceiver module contains 4 interfaces of A port, B port, C port and D port, and a pull-down resistor is connected to the outside of each interface. A group of A and B ports is named as group AB, and ...

Embodiment 2

[0055] On the basis of Embodiment 1, the UART serial port and the adaptive circuit can also be fixedly connected in the microprocessor. Such as image 3 shown. At this time, a group of interfaces of the adaptive circuit are fixedly connected to the input and output interfaces of the UART serial port. During the working process, it only needs to process the input or output of another set of interfaces.

[0056] Such as Figure 4 As shown, the switch control module includes two independent switches, each switch has a paddle, one end of the paddle X3 is connected to the external input port, the other end of the paddle X3 can contact two contacts S0, S1, and the paddle X3 One end of X4 is connected to the external output port, and the other end of the paddle X4 can contact two contacts S2 and S3.

[0057] S0 contact is connected to the output of port A of the signal transceiver module; S1 contact is connected to the output of port B of the signal transceiver module; S2 contact...

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 UART serial port transceiver adaptive method, which includes an adaptive circuit, and the adaptive circuit includes four signal transceiver interfaces, which are divided into A group and B group, and two groups form a group. The method includes the following steps: when idle, Set all four signal transceiver interfaces as input; detect the signal levels of the four signal transceiver interfaces; judge the signal transceiver interface corresponding to the signal level as input or output through the signal level; set the input interface of group A signal transceiver interface It is connected with the output interface of the group B signal transceiver interface, and the output interface of the group A signal transceiver interface is connected with the input interface of the group B signal transceiver interface. The present invention solves the problem that the connection between the UART serial port and the level conversion module cannot be communicated in the prior art, and at the same time avoids the problem of irregular interface and confusing naming caused by solving this problem in the prior art, and is beneficial to microprocessing The promotion and application of processors and microprocessor modules.

Description

technical field [0001] The invention relates to a communication technology, in particular to an adaptive method and system for sending and receiving of UART serial ports. Background technique [0002] The UART serial port is usually integrated in the microprocessor. The microprocessor serial signal provided by the microprocessor provider is generally at the TTL level, and the external serial port level of the microprocessor-based development module is generally at the TTL level. . But this kind of level transmission distance is very short. [0003] In order to increase the communication distance, equipment developers usually need to connect a level conversion chip to the serial port. For example, connecting to an RS232 level conversion chip is called an RS232 serial port, and connecting to an RS422 level conversion chip is called an RS422 serial port. The RS232 serial port can transmit several Ten meters, RS422 serial port can transmit hundreds of meters. Due to the lack ...

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 Patents(China)
IPC IPC(8): G06F13/38G06F13/40
CPCG06F13/385G06F13/4072G06F2213/0002G06F2213/3852
Inventor 不公告发明人
Owner 成都天玙兴科技有限公司
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