CN206363306U - A kind of terminal and its serial communication circuit - Google Patents
A kind of terminal and its serial communication circuit Download PDFInfo
- Publication number
- CN206363306U CN206363306U CN201620984690.3U CN201620984690U CN206363306U CN 206363306 U CN206363306 U CN 206363306U CN 201620984690 U CN201620984690 U CN 201620984690U CN 206363306 U CN206363306 U CN 206363306U
- Authority
- CN
- China
- Prior art keywords
- usb
- interface module
- terminal
- serial communication
- signal receiving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The utility model embodiment provides a kind of terminal and its serial communication circuit.In the utility model embodiment, by using the serial communication circuit including usb interface module, so that the first signal receiving end of usb interface module and the first signal transmitting terminal connect the signal transmitting terminal and signal receiving end of central processing unit respectively, the secondary signal transmitting terminal and secondary signal receiving terminal of usb interface module connect the signal receiving end and signal transmitting terminal of main frame respectively, and then the communication between central processing unit and main frame is realized by usb interface module, without serial ports transmitting manually between welding main frame and central processing unit with receiving pin, and connection of the serial ports transmitting with receiving pin between main frame and central processing unit need not be realized using special tool, so that terminal can lift research and development and production efficiency when carrying out serial communication with main frame, and reduce the cost.
Description
Technical field
The utility model belongs to electronic technology field, more particularly to a kind of terminal and its serial communication circuit.
Background technology
UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter)
As a kind of Universal Serial Bus, it is mainly used in asynchronous communication, the bus can be with two-way communication, to realize that full duplex is passed
Defeated and reception.In embedded design, UART is mainly used to realize main frame and auxiliary equipment (such as mobile phone, flat board, notebook computer
Etc. terminal) between communication, can all be used in development, plant produced stage or after-sales service stage terminal UART string
Mouthful signal pins being debugged, download, print log information etc..
At present, the UART rs 232 serial interface signal pin in using terminal debugged, downloaded, print log information when, it is existing
Technology mainly by reserving the form of test point in schematic diagram and Printed Circuit Board Design, and manually welding main frame and terminal it
Between serial ports transmitting with receiving pin, or connect by special tool serial ports transmitting between main frame and terminal with receiving
Pin.However, due to needing serial ports transmitting manually between welding main frame and terminal and receiving pin, therefore, terminal and main frame
Made troubles when carrying out serial communication to research and development and production etc., reduce the efficiency of research and development and production;Further, since needing special
Tool realize communication between main frame and the serial ports of terminal, therefore, add cost.
In summary, prior art can reduce research and development and production efficiency when making terminal carry out serial communication with main frame,
And add cost.
Utility model content
The utility model embodiment provides a kind of terminal and its serial communication circuit, it is intended to terminal is gone here and there with main frame
Research and development and production efficiency can be lifted during port communications, and is reduced the cost.
The utility model is achieved in that a kind of serial communication circuit, is connected to central processing unit and outside main frame
Between, the serial communication circuit includes usb interface module;
First signal receiving end of the usb interface module and the first signal transmitting terminal connect the central processing unit respectively
Signal transmitting terminal and signal receiving end, the usb interface module secondary signal transmitting terminal and secondary signal receiving terminal difference
Connect the signal receiving end and signal transmitting terminal of the main frame.
Another object of the present utility model also resides in a kind of terminal of offer, and the terminal includes above-mentioned serial communication electricity
Road.
In the utility model, by using the serial communication circuit including usb interface module so that usb interface module
The first signal receiving end and the first signal transmitting terminal connect the signal transmitting terminal and signal receiving end of central processing unit respectively,
The secondary signal transmitting terminal and secondary signal receiving terminal of usb interface module connect signal receiving end and the signal transmitting of main frame respectively
End, and then the communication between central processing unit and main frame is realized by usb interface module, without welding main frame manually and center
Serial ports transmitting between processor need not be realized between main frame and central processing unit with receiving pin using special tool
Serial ports transmitting with receive pin connection so that terminal with main frame carry out serial communication when can be lifted research and development and produce
Efficiency, and reduce the cost.
Brief description of the drawings
Fig. 1 is the modular structure schematic diagram for the serial communication circuit that the embodiment of the utility model one is provided;
Fig. 2 is the modular structure schematic diagram for the serial communication circuit that another embodiment of the utility model is provided;
Fig. 3 is the electrical block diagram for the serial communication circuit that the embodiment of the utility model one is provided.
Embodiment
In order that the purpose of this utility model, technical scheme and advantage are more clearly understood, below in conjunction with accompanying drawing and implementation
Example, the utility model is further elaborated.It should be appreciated that specific embodiment described herein is only to explain
The utility model, is not used to limit the utility model.
Realization of the present utility model is described in detail below in conjunction with specific accompanying drawing:
Fig. 1 shows the modular structure for the serial communication circuit 1 that the embodiment of the utility model one is provided, for the ease of saying
Illustrate, illustrate only the part related to the utility model embodiment, details are as follows:
As shown in figure 1, the serial communication circuit 1 that the utility model embodiment is provided is connected to central processing unit 10 and master
Between machine 14, it includes usb interface module 12.
Wherein, the first signal receiving end of usb interface module 12 and the first signal transmitting terminal connect central processing unit respectively
10 signal transmitting terminal UATR-TX and signal receiving end UATR-RX, the secondary signal transmitting terminal of usb interface module 12 and second
Signal receiving end connects the signal receiving end and signal transmitting terminal with main frame 14 respectively.
Central processing unit 10 sends its internal data to usb interface module 12, and usb interface module 12 sends data
To main frame 14;Main frame 14 sends the usb interface module 12 of instruction, and usb interface module 12 sends instructions to central processing unit 10.
Specifically, need to debug terminal when main frame 14, download, the operation such as print log information when, main frame
14 signal transmitting terminal sends corresponding operational order to the secondary signal receiving terminal of usb interface module 12, and then causes USB
The secondary signal transmitting terminal of interface module 12 sends the operational order to the first signal receiving end of usb interface module 12, USB
First signal transmitting terminal of interface module 12 sends the operational order to the signal receiving end UATR-RX of central processing unit 10,
So that central processing unit 10 transfers corresponding data according to the operational order.
After central processing unit 10 is deployed into corresponding data, central processing unit 10 passes through its signal transmitting terminal UATR-TX
The first signal receiving end of usb interface module 12 is sent the data to, and then causes the first signal hair of usb interface module 12
The secondary signal receiving terminal that end sends the data to USB receiving units 12 is penetrated, so that the second letter of usb interface module 12
Number transmitting terminal sends the data to the signal receiving end of main frame 14, so that main frame 14 receives the corresponding data, and according to this
Data are operated accordingly;It is worth noting that, in the present embodiment, main frame 14 includes but is not limited to computer, oscillograph etc.
Test equipment.
In the present embodiment, using central processing unit 10 and the serial communication circuit 1 of usb interface module 12 so that center
Processor 10 sends its internal data to usb interface module 12, and usb interface module 12 sends data to main frame 14, and
And main frame 14 sends the usb interface module 12 of instruction, usb interface module 12 sends instructions to central processing unit 10, Jin Ertong
Crossing the unit of usb 12 realizes the communication between central processing unit 10 and main frame 14, without welding main frame 14 manually and center
Serial ports transmitting between processor 10 need not realize main frame 14 and central processing unit with receiving pin using special tool
Connection of the serial ports transmitting with receiving pin between 10, so as to reduce cost, and improves the operating efficiency of research and development and production,
Solve the problem of existing terminal has low efficiency or high cost when carrying out serial communication with main frame 14.
Further, as the preferred embodiment of the utility model one, as shown in Fig. 2 usb interface module 12 includes USB
Socket unit 120 and USB cable unit 121.
Wherein, the first auxiliary end sub1 of USB socket unit 120 is the first signal transmitting terminal of usb interface module 12,
Second auxiliary end sub2 of USB socket unit 120 is the first signal receiving end of usb interface module 12, USB socket unit 120
Signal transmitting terminal TX be connected with the first signal transmitting terminal TX1 of USB cable unit 121, the signal of USB socket unit 120 connects
Receiving end RX is connected with the first signal receiving end RX1 of USB cable unit 121, the secondary signal receiving terminal of USB cable unit 121
RX2 is the secondary signal receiving terminal of usb interface module 12, and the secondary signal transmitting terminal TX2 of USB cable unit 121 is USB interface
The secondary signal transmitting terminal of module 12.
It should be noted that in the present embodiment, signal transmitting terminal TX and the USB cable unit of USB socket unit 120
121 the first signal transmitting terminal TX1 realizes electrical connection, the signal receiving end RX of USB socket unit 120 by way of contact
With the first signal receiving end RX1 of USB cable unit 121 electrical connection is realized again by the mode of contact.
Specifically, USB socket unit 120 receives data, and main frame 14 is sent data to by USB cable unit 121;
USB cable unit 121 receives instruction, and sends instructions to central processing unit 10 by USB socket unit 120.
Further, as the preferred embodiment of the utility model one, as shown in figure 3, USB socket unit 120 is USB
The USB socket interface of Type-C interfaces, the first auxiliary pin sub1 of the USB socket interface is the first of USB socket unit 120
End sub1, the second auxiliary pin sub2 of the USB socket interface is aided in aid in end sub2 for the second of USB socket unit 120;By
Two groups of transmitting pins and two groups of reception pins are included in the USB socket interface, therefore, in the present embodiment, the USB socket interface
First group of transmitting pin TX1 and first group of reception pin RX1 be respectively the USB socket unit 120 signal transmitting terminal TX with
Signal receiving end RX, and first group of transmitting pin TX1 includes TX1+ and TX1-, first group of reception pin RX1 includes RX1 again
+ and RX1-;It should be noted that in other embodiments, second group of transmitting pin TX2 of the USB socket interface and second group
Reception pin RX2 is respectively the signal transmitting terminal TX and signal receiving end RX of the USB socket unit 120, and second group of transmitting
Pin TX2 includes TX2+ and TX2- again, and second group of reception pin RX2 includes RX2+ and RX2- again.
In addition, as shown in figure 3, USB cable unit 121 is the USB cable interface of USB Type-C interfaces, due to the USB
Cable interface includes two groups of transmitting pins and two groups of reception pins, therefore, in the present embodiment, and the first of the USB cable interface
Group transmitting pin TX1 and first group of reception pin RX1 is respectively the first signal transmitting terminal TX1 and the of the USB cable unit 121
One signal receiving end RX1, and first group of transmitting pin TX1 includes TX1+ and TX1-, first group of reception pin RX1 includes again
RX1+ and RX1-;Second group of transmitting pin TX2 of the USB cable interface and second group of reception pin RX2 is respectively the USB cable
The secondary signal transmitting terminal TX2 and secondary signal receiving terminal RX2 of unit 121, and second group of transmitting pin TX2 includes TX2+
Include RX2+ and RX2- again with TX2-, second group of reception pin RX2.
It should be noted that in other embodiments, second group of transmitting pin TX2 of the USB cable interface and second group
Receive pin RX2 and be respectively the first signal transmitting terminal TX1 and the first signal receiving end RX1 of the USB cable unit 121, and be somebody's turn to do
Second group of transmitting pin TX2 includes TX2+ and TX2- again, and second group of reception pin RX2 includes RX2+ and RX2- again;The USB cable
First group of transmitting pin TX1 of interface and first group of reception pin RX1 are respectively the secondary signal hair of the USB cable unit 121
End TX2 and secondary signal receiving terminal RX2 is penetrated, and first group of transmitting pin TX1 includes TX1+ and TX1-, first group of reception is drawn
Pin RX1 includes RX1+ and RX1- again.
In the present embodiment, because USB Type-C interfaces are a kind of new USB interfaces, it has, and size is small, support just
Contrast, transmission speed are fast, the advantages of support large current charge, therefore increasingly by end product producer and the green grass or young crops of consumer
Look at, be also the indispensable configuration of end product interface in future.
At present, USB Type-C interfaces mainly include USB socket interface and USB cable interface, USB socket interface and USB
Cable interface includes two groups of TX/RX pins, two groups of grounding pin GND, two groups of voltage pin VBUS and one group of auxiliary pin
Sub1 and sub2;In addition, the USB socket interface also include two groups of compatibility pin D+ and D- and one group of controlling switch CC1 and
CC2, the USB cable interface also includes one group of compatibility pin D+ and D-, a controlling switch CC and a configuration pin Vcon,
And most of pins in the USB Type-C interfaces only have and can just used under special circumstances, such as USB Type-C interfaces
In auxiliary signal pin sub1 and sub2, therefore, when central processing unit 10 and main frame 14 carry out data transmission, can incite somebody to action this
The signal transmitting terminals of auxiliary the pin sub1 and sub2 of USB socket in USB Type-C interfaces respectively with central processing unit 10
UATR-TX is connected with signal receiving end UATR-RX, and USB Type-C interfaces are connected with main frame 14, and then passes through USB Type-C
Interface sends the data of central processing unit 10 to main frame 14, realizes the serial communication between main frame 14 and central processing unit 10,
Because the cable of USB Type-C interfaces that this method only needs to a customization can be achieved, the process of eliminating do tool into
This, and without welding, and then save cost, improve efficiency, and be convenient for carrying, save space-consuming.
Further, as the preferred embodiment of the utility model one, as shown in Fig. 2 the serial communication circuit 1 also includes
The first signal of protection location 16, the first input end of the protection location 16 and the second input respectively with usb interface module 12
Transmitting terminal and the connection of the first signal receiving end, the output head grounding of protection location 16;The protection location 16 is to usb interface module 12
The first signal transmitting terminal and the first signal receiving end and central processing unit 10 signal transmitting terminal UATR-TX and signal receive
UATR-RX is held to carry out port protection.
Further, as the preferred embodiment of the utility model one, as shown in figure 3, protection location 16 includes the first electricity
Hinder R1, second resistance R2, the first bilateral diode D1 and the second bilateral diode D2;
First resistor R1 first end and second resistance R2 first end be respectively protection location 16 first input end with
Second input, first resistor R1 the second end is connected with the first bilateral diode D1 first end, and the second of second resistance R2
End is connected with the second bilateral diode D2 first end, the second end D1's and the second bilateral diode D2 of the first bilateral diode
Second end forms the output end of protection location 16.
Further, as the preferred embodiment of the utility model one, as shown in figure 3, serial communication circuit also includes the
One test point TP1 and the second test point TP2.
First test point TP1 is connected with first resistor R1 the second end and the first bilateral diode D1 first end, the
Two test point TP2 are connected with second resistance R2 the second end and the second bilateral diode D2 the second end.
In the present embodiment, the first test point TP1 and the second test point TP2 are increased in serial communication circuit 1 so that eventually
The central processing unit 10 at end can realize the communication with main frame 14 by the first test point TP1 of welding and the second test point TP2, and then
So that the central processing unit 10 of terminal not only can carry out serial communication by USB Type-C interfaces and main frame 14, it can also lead to
Cross reserved test point to be communicated with main frame 14, improve the flexibility communicated between central processing unit 10 and main frame 14.
The utility model embodiment also provides a kind of terminal, and the terminal includes central processing unit 10 and above-mentioned serial communication
Circuit 1.
In the utility model embodiment, include the serial communication circuit 1 of usb interface module by using in the terminal,
So that the first signal receiving end of usb interface module 12 and the first signal transmitting terminal connect the signal hair of central processing unit 10 respectively
End and signal receiving end are penetrated, the secondary signal transmitting terminal and secondary signal receiving terminal of usb interface module 12 connect main frame 14 respectively
Signal receiving end and signal transmitting terminal, and then realized by usb interface module 12 between central processing unit 10 and main frame 14
Communication, without serial ports transmitting manually between welding main frame 14 and central processing unit 10 with receiving pin, and need not use
Special tool realizes connection of the serial ports transmitting with receiving pin between main frame 14 and central processing unit 10, so that terminal exists
Research and development and production efficiency can be lifted when carrying out serial communication with main frame 14, and is reduced the cost.
Each module in the utility model embodiment circuit and terminal, component and unit can be closed according to actual needs
And, divide and delete.
Preferred embodiment of the present utility model is the foregoing is only, it is all at this not to limit the utility model
Any modifications, equivalent substitutions and improvements made within the spirit and principle of utility model etc., should be included in the utility model
Protection domain within.
Claims (8)
1. between a kind of serial communication circuit, the main frame for being connected to central processing unit and outside, it is characterised in that the serial ports leads to
Believe that circuit includes usb interface module;
First signal receiving end of the usb interface module and the first signal transmitting terminal connect the letter of the central processing unit respectively
Number transmitting terminal and signal receiving end, the secondary signal transmitting terminal and secondary signal receiving terminal of the usb interface module are connected respectively
The signal receiving end and signal transmitting terminal of the main frame.
2. serial communication circuit according to claim 1, it is characterised in that the usb interface module includes USB socket list
Member and USB cable unit;
First auxiliary end of the USB socket unit is the first signal transmitting terminal of the usb interface module, the USB socket
Second auxiliary end of unit is the first signal receiving end of the usb interface module, the signal transmitting terminal of the USB socket unit
It is connected with the first signal transmitting terminal of the USB cable unit, signal receiving end and the USB line of the USB socket unit
The first signal receiving end connection of cable unit, the secondary signal receiving terminal of the USB cable unit is the usb interface module
Secondary signal receiving terminal, the secondary signal transmitting terminal of the USB cable unit is launched for the secondary signal of the usb interface module
End.
3. serial communication circuit according to claim 2, it is characterised in that the USB socket unit is USB Type-C
USB socket interface.
4. serial communication circuit according to claim 3, it is characterised in that the USB cable unit is USB Type-C
USB cable interface.
5. serial communication circuit according to claim 1, it is characterised in that it is single that the serial communication circuit also includes protection
The the first signal transmitting terminal of member, the first input end of the protection location and the second input respectively with the usb interface module
With the connection of the first signal receiving end, the output head grounding of the protection location;
The protection location carries out port guarantor to the first signal transmitting terminal of the usb interface module and the first signal receiving end
Shield.
6. serial communication circuit according to claim 5, it is characterised in that the protection location includes first resistor, the
Two resistance, the first bilateral diode and the second bilateral diode;
The first end of the first end of the first resistor and the second resistance is respectively the first input end of the protection location
With the second input, the second end of the first resistor is connected with the first end of first bilateral diode, second electricity
Second end of resistance is connected with the first end of second bilateral diode, the second end of first bilateral diode and described the
Second end of two bilateral diodes forms the output end of the protection location.
7. serial communication circuit according to claim 6, it is characterised in that the serial communication circuit also includes first and surveyed
Pilot and the second test point;
First test point is connected with the second end of the first resistor and the first end of first bilateral diode, institute
The second test point is stated to be connected with the second end of the second resistance and the second end of second bilateral diode.
8. a kind of terminal, including central processing unit, it is characterised in that the terminal is also included such as any one of claim 1 to 7 institute
The serial communication circuit stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620984690.3U CN206363306U (en) | 2016-08-30 | 2016-08-30 | A kind of terminal and its serial communication circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201620984690.3U CN206363306U (en) | 2016-08-30 | 2016-08-30 | A kind of terminal and its serial communication circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206363306U true CN206363306U (en) | 2017-07-28 |
Family
ID=59367998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201620984690.3U Active CN206363306U (en) | 2016-08-30 | 2016-08-30 | A kind of terminal and its serial communication circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206363306U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107515341A (en) * | 2017-09-11 | 2017-12-26 | 歌尔科技有限公司 | A kind of test board |
CN109901980A (en) * | 2019-01-30 | 2019-06-18 | 努比亚技术有限公司 | Serial ports log grabs circuit, method, terminal and computer readable storage medium |
-
2016
- 2016-08-30 CN CN201620984690.3U patent/CN206363306U/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107515341A (en) * | 2017-09-11 | 2017-12-26 | 歌尔科技有限公司 | A kind of test board |
CN107515341B (en) * | 2017-09-11 | 2024-04-02 | 歌尔科技有限公司 | Test board |
CN109901980A (en) * | 2019-01-30 | 2019-06-18 | 努比亚技术有限公司 | Serial ports log grabs circuit, method, terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101937414B (en) | Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus) | |
CN102724339A (en) | UART serial port and USB interface shared circuit and mobile phone | |
CN102156681B (en) | Mobile terminal and USB interface connection control device thereof | |
CN201323446Y (en) | Static-free handheld mobile device with soft USB function | |
CN206363306U (en) | A kind of terminal and its serial communication circuit | |
CN104219003A (en) | Communication device, test system and test method thereof | |
CN102222056A (en) | Electronic equipment with embedded system | |
CN203733112U (en) | Multifunctional USB interface achieving circuit and USB connector | |
CN101030185B (en) | Device for updating USB switching cascade line | |
CN202872142U (en) | Multifunctional USB (Universal Serial Bus) data line | |
CN102361470A (en) | 230MHz Mobitex master-slave redundancy wireless data terminal special for electric power | |
CN201075214Y (en) | USB general-purpose data line | |
CN203027289U (en) | System for realizing serial communication among computer, host computer and slave computer | |
CN202353571U (en) | Special 230MHz Mobitex master-slave redundancy wireless data terminal for power | |
CN201853920U (en) | Multifunctional data line | |
CN107517053A (en) | A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly | |
CN209330163U (en) | Suitable for 230MHz electric power wireless private network concentrator uplink communication module | |
CN103279443A (en) | Uart communication signal conversion circuit | |
CN204316537U (en) | A kind of WIFI change-over circuit module | |
CN209401012U (en) | A kind of USB interface power control | |
CN203086471U (en) | Network NFC (Near Field Communication) equipment | |
CN216527155U (en) | Data line for communication between two USB HOST interface devices | |
CN106535361A (en) | Dual-wireless communication device applied to remote monitoring system | |
CN207039564U (en) | A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly | |
CN207164746U (en) | A kind of USB Type C adapters for realizing USB device detection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210316 Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703 Patentee after: Shenzhen Microphone Holdings Co.,Ltd. Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong. Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |