CN103294626A - Design of USB dual-mode interface equipment for UART acquisition terminal - Google Patents

Design of USB dual-mode interface equipment for UART acquisition terminal Download PDF

Info

Publication number
CN103294626A
CN103294626A CN2012103578796A CN201210357879A CN103294626A CN 103294626 A CN103294626 A CN 103294626A CN 2012103578796 A CN2012103578796 A CN 2012103578796A CN 201210357879 A CN201210357879 A CN 201210357879A CN 103294626 A CN103294626 A CN 103294626A
Authority
CN
China
Prior art keywords
usb
uart
equipment
interface
slave
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.)
Pending
Application number
CN2012103578796A
Other languages
Chinese (zh)
Inventor
罗金荣
牛晓芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Siboke Technology Development Co Ltd
Original Assignee
Tianjin Siboke Technology Development Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tianjin Siboke Technology Development Co Ltd filed Critical Tianjin Siboke Technology Development Co Ltd
Priority to CN2012103578796A priority Critical patent/CN103294626A/en
Publication of CN103294626A publication Critical patent/CN103294626A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses USB (universal serial bus) dual-mode interface equipment for a UART (universal asynchronous receiver/transmitter) acquisition terminal, which is mainly characterized in that the acquisition terminal configured with a UART-USB Slave/Device dual-mode interface module is connected with embedded intelligent equipment such as a mobile telephone and a tablet computer by a USB Host Device interface in a UART interface manner; the acquisition terminal is connected with an embedded control platform such as a PC (personal computer) and a set top box through a USB Slave Device port; and communication is performed in an HID (human interface device) protocol manner to realize data transmission. Therefore, the development of a serial port-USB driver on an embedded operating system platform such as Android, Wince and Windows is avoided. The interface equipment facilitates USB connection and data acquisition between multi-platform equipment such as the mobile telephone, the tablet computer and the PC, and the acquisition terminal in the UART interface manner for a user.

Description

A kind of design of the USB bimodulus interfacing equipment at the UART acquisition terminal
Technical field
The present invention relates to data acquisition, checkout equipment field, specifically is a kind of interfacing equipment that converts USB Host/Slave bimodulus mode from the UART interface mode to of uploading for the signal detection process sampled data.
Background technology
Along with the development of mechanics of communication and ic core chip technology, the USB chip has been widely used in the data communication of electric room.Most of data sampling terminal can be connected with PC is convenient by changeing serial port chip as special-purpose USB such as CH341, CP2102.But along with the development of embedded intelligent equipment such as mobile phone, panel computer and embedded OSs such as Android, Wince, increasing user wishes to control with data sampling the sampling terminal by embedded intelligent terminals such as mobile phones and monitors.This just need increase USB Host interface in original employing terminal and support to realize support to embedded intelligent terminals such as mobile phones and its exchanges data.The chip of existing a lot of USB bimodulus patterns is many to be connected with the mode of parallel port and the MCU of sampling terminal, needs manufacturer to realize USB chip bottom layer driving is supported.A lot of sampling manufacturer terminals are to the control mode of the data transmission of USB and be unfamiliar with, and this increases design and difficulty in certain program.The manufacturer that has can increase a USB module again and realize the mobile phone support between mobile phone and equipment, thereby increases the redundancy of cost and system.
Summary of the invention
The objective of the invention is to solve the problem that two kinds of USB embedded intelligent equipments of above-mentioned sampling terminal and principal and subordinate exist in being connected, propose to use one chip to realize that UART converts the Host/Slave bimodulus interfacing equipment of USB to.
The USB bimodulus interfacing equipment of the UART sampling terminal that the present invention proposes, its main control chip are that the Vinculum II chip with FTDI company is switching controller, open two USB port simultaneously, and be configured to Host and Slave pattern respectively.Modular converter sends the USB end data to the UART interface, thereby realizes carrying out data acquisition and control in the mode of USB with the sampling terminal device.Sampling terminal device manufacturer need not carry out the Host of USB and the technological development of Slave interface function at the MCU end like this, only need continue to keep the data transfer mode of UART in equipment end.
Whether there is Device equipment to insert on the interruption monitoring facilities monitoring port of Host port, realization is to the initiation that communication is shaken hands with USB device of enumerating of equipment, and makes between UART end and the USB end sampled data and control data transmit transmission at equipment room by Host conversion transmission procedure.Whether the interruption of Slave port monitoring has main process equipment to initiate data or command request, and makes between UART end and the USB end sampled data and control data transmit transmission at equipment room by Slave conversion transmission procedure.
After the present invention adopts above-mentioned technology that the data-switching of the UART communication modes of data sampling terminal is become the transmission mode of USB, USB port is carried out communication with the HID protocol mode, the HID of USB is the moving support of free drive under Android, Wince existing on the embedded intelligent equipment ends such as PC end, mobile phone, panel computer, Window system, is convenient to the exploitation that the user carries out application program.
Description of drawings
Fig. 1 is device structure synoptic diagram of the present invention;
Fig. 2 is that UART of the present invention changes USB dual interface circuit figure.
Embodiment
Specific embodiment in conjunction with above-mentioned accompanying drawing 1-2 explanation invention.
The present invention as shown in Figure 1, the USB bimodulus interfacing equipment of the UART of proposition sampling terminal is open two USB port simultaneously, and are configured to Host and Slave pattern respectively, and open UART communication interface, are connected with embedded intelligent equipment.
Fig. 2 UART changes USB dual interface circuit figure, and its main control chip is that the Vinculum II chip with FTDI company is switching controller.Its 25USB1DM and the 26USB1DP pin data-interface as HOST USB end, 29USB2DM and 28USB2DP pin be as the data-interface of Slave USB end on the hardware, thereby realize being connected with principal and subordinate's embedded intelligent equipment USB.Common IO mouth 31 is become TXD and the RXD port of UART interface with 32 pin configuration, thereby realize being connected with the UART mode of sampling terminal.
Behind the module electrifying startup, at first HOST and Slave port are carried out initial configuration.Whether there is Device equipment to insert then on the interruption monitoring facilities monitoring port of Host port, realization is to the initiation that communication is shaken hands with USB device of enumerating of equipment, and makes between UART end and the USB end sampled data and control data transmit transmission at equipment room by Host conversion transmission procedure.Whether the interruption of Slave port monitoring has main process equipment to initiate data or command request, and makes between UART end and the USB end sampled data and control data transmit transmission at equipment room by Slave conversion transmission procedure.Be identified as HID equipment at Android, Wince embedded OS descending device, and by HID data read mode equipment carried out uploading and handling of data acquisition in PC, mobile phone, panel computer end application program.

Claims (3)

1. design at the USB bimodulus interfacing equipment of UART acquisition terminal, it is characterized in that: the sampling terminal device links to each other with the conversion and control chip module that UART changes USB by the communication modes of UART, according to the type of Host USB interface embedded intelligence platform such as the PC that connects, set-top box or Slave USB interface embedded intelligent equipments such as mobile phone, panel computer, sampled data is converted to the USB communication modes of the master/slave arrangement of corresponding HID agreement from the communication modes of UART then.
2. UART according to claim 1 changes the conversion and control chip module of USB, it is characterized in that: adopt the FTDI twoport USB of company conversion chip Vinculum II to change the conversion and control chip of USB as UART, the UART communication modes is converted to Host USB and two kinds of interface modes of Slave USB simultaneously, makes sample devices have compatibility in USB interface.
3. after module powers on two USB port are configured to Host and Slave pattern respectively, whether there is Device equipment to insert on the interruption monitoring facilities monitoring port of Host port, realization is to the initiation that communication is shaken hands with USB device of enumerating of equipment, and makes between UART end and the USB end sampled data and control data transmit transmission at equipment room by Host conversion transmission procedure.Whether the interruption of Slave port monitoring has main process equipment to initiate data or command request, and makes between UART end and the USB end sampled data and control data transmit transmission at equipment room by Slave conversion transmission procedure.The Android that uses the user under the embedded OSs such as Wince, at being to carry out reading of communication and data with the HID agreement of USB between the USB bimodulus interfacing equipment of UART acquisition terminal and the application software, is convenient to the user and is developed.
CN2012103578796A 2012-09-24 2012-09-24 Design of USB dual-mode interface equipment for UART acquisition terminal Pending CN103294626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103578796A CN103294626A (en) 2012-09-24 2012-09-24 Design of USB dual-mode interface equipment for UART acquisition terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103578796A CN103294626A (en) 2012-09-24 2012-09-24 Design of USB dual-mode interface equipment for UART acquisition terminal

Publications (1)

Publication Number Publication Date
CN103294626A true CN103294626A (en) 2013-09-11

Family

ID=49095533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103578796A Pending CN103294626A (en) 2012-09-24 2012-09-24 Design of USB dual-mode interface equipment for UART acquisition terminal

Country Status (1)

Country Link
CN (1) CN103294626A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077255A (en) * 2013-12-29 2014-10-01 国家电网公司 Method for terminal to communicate with computer through USB
CN104836877A (en) * 2015-02-10 2015-08-12 数据通信科学技术研究所 Method for debugging and detecting mobile phone
CN105242603A (en) * 2015-10-22 2016-01-13 宁波三星医疗电气股份有限公司 Power collection terminal with USB OTG interface and debugging upgrade method thereof
CN106919529A (en) * 2017-03-06 2017-07-04 南京新联电子股份有限公司 The wireless communication module method for designing for supporting USB and UART serial ports compatible
CN107450408A (en) * 2017-09-06 2017-12-08 深圳增强现实技术有限公司 A kind of system and method for sensor plug and play
WO2018107491A1 (en) * 2016-12-16 2018-06-21 华为技术有限公司 Data transmission method and device
TWI695270B (en) * 2018-08-29 2020-06-01 財團法人工業技術研究院 Indication apparatus , composable indication system and indication method
CN112235078A (en) * 2020-10-14 2021-01-15 四川长虹教育科技有限公司 Method for realizing Android and Windows communication under intelligent interactive large screen
CN112579500A (en) * 2020-12-08 2021-03-30 深圳市道通科技股份有限公司 Method and device for prompting anti-misplug USB interface and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369259A (en) * 2008-09-05 2009-02-18 深圳创维数字技术股份有限公司 Switch control method and apparatus and electronic equipment for USB interface master-salve equipment mode
CN201887794U (en) * 2010-12-17 2011-06-29 中国科学院计算技术研究所 Gateway of internet of things
CN202433896U (en) * 2011-12-23 2012-09-12 比亚迪股份有限公司 Serial port converter
CN203276264U (en) * 2012-09-24 2013-11-06 天津思博科科技发展有限公司 Equipment for conversion from UART interface to USB dual mode interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369259A (en) * 2008-09-05 2009-02-18 深圳创维数字技术股份有限公司 Switch control method and apparatus and electronic equipment for USB interface master-salve equipment mode
CN201887794U (en) * 2010-12-17 2011-06-29 中国科学院计算技术研究所 Gateway of internet of things
CN202433896U (en) * 2011-12-23 2012-09-12 比亚迪股份有限公司 Serial port converter
CN203276264U (en) * 2012-09-24 2013-11-06 天津思博科科技发展有限公司 Equipment for conversion from UART interface to USB dual mode interface

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077255A (en) * 2013-12-29 2014-10-01 国家电网公司 Method for terminal to communicate with computer through USB
CN104836877A (en) * 2015-02-10 2015-08-12 数据通信科学技术研究所 Method for debugging and detecting mobile phone
CN105242603A (en) * 2015-10-22 2016-01-13 宁波三星医疗电气股份有限公司 Power collection terminal with USB OTG interface and debugging upgrade method thereof
CN105242603B (en) * 2015-10-22 2017-11-28 宁波三星医疗电气股份有限公司 A kind of electric power acquisition terminal and its debugging upgrade method with USB OTG interfaces
WO2018107491A1 (en) * 2016-12-16 2018-06-21 华为技术有限公司 Data transmission method and device
CN108701106A (en) * 2016-12-16 2018-10-23 华为技术有限公司 A kind of data transmission method and equipment
CN106919529A (en) * 2017-03-06 2017-07-04 南京新联电子股份有限公司 The wireless communication module method for designing for supporting USB and UART serial ports compatible
CN107450408A (en) * 2017-09-06 2017-12-08 深圳增强现实技术有限公司 A kind of system and method for sensor plug and play
TWI695270B (en) * 2018-08-29 2020-06-01 財團法人工業技術研究院 Indication apparatus , composable indication system and indication method
CN112235078A (en) * 2020-10-14 2021-01-15 四川长虹教育科技有限公司 Method for realizing Android and Windows communication under intelligent interactive large screen
CN112579500A (en) * 2020-12-08 2021-03-30 深圳市道通科技股份有限公司 Method and device for prompting anti-misplug USB interface and electronic equipment

Similar Documents

Publication Publication Date Title
CN103294626A (en) Design of USB dual-mode interface equipment for UART acquisition terminal
US9237217B2 (en) Docking station for simultaneously establishing connections from a smartphone to an external display and USB device
US10261930B2 (en) System, device and method for transmitting signals between different communication interfaces
CN108111382B (en) Communication device based on I3C bus and communication method thereof
US9383772B2 (en) Docking station with KVM switch
US20130132614A1 (en) Re-enumeration of usb 3.0 compatible devices
US20100185792A1 (en) Data transmission system using in computer
KR20120085758A (en) Multi-protocol storage device bridge
US20160140077A1 (en) Serial communication system, communication control unit, and electronic device
CN101526930A (en) USB interface master-slave machine detection device and detection method
WO2013191327A1 (en) Data cable for fast charging
KR101347016B1 (en) Interface device and wiring board
CN101634976A (en) Method and terminal for providing Bluetooth function for computer
US20080320189A1 (en) Simple Serial Interface - method of communication and information exchange, and electronic devices based on this method.
CN102208721A (en) Universal serial bus connector and converter for universal serial bus connector
CN104090857A (en) System and method for expanding peripheral interfaces of intelligent terminal
CN102890587A (en) Driver-free electronic whiteboard control device crossing operating system platforms
CN101339542B (en) Data transmission device, control circuit chip and operation mode control method
CN203276264U (en) Equipment for conversion from UART interface to USB dual mode interface
CN102445981B (en) Data transmission system and data transmission method
CN115733549A (en) PCIE network card and switching method of interface modes thereof, electronic equipment and storage medium
CN101615080A (en) Keyboard-video-mouse switcher with line control machine
CN202872142U (en) Multifunctional USB (Universal Serial Bus) data line
CN103294625A (en) Realization of acquisition terminal USB interface module for mobile telephone or handheld computer
US9952998B2 (en) Thunderbolt sharing console and switching method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130911