CN104142900A - A communication interface conversion device - Google Patents

A communication interface conversion device Download PDF

Info

Publication number
CN104142900A
CN104142900A CN201410380215.0A CN201410380215A CN104142900A CN 104142900 A CN104142900 A CN 104142900A CN 201410380215 A CN201410380215 A CN 201410380215A CN 104142900 A CN104142900 A CN 104142900A
Authority
CN
China
Prior art keywords
interface
module
main control
interface module
circuit
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
CN201410380215.0A
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.)
Xijing University
Original Assignee
Xijing University
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 Xijing University filed Critical Xijing University
Priority to CN201410380215.0A priority Critical patent/CN104142900A/en
Publication of CN104142900A publication Critical patent/CN104142900A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

一种通信接口转换装置,包括RS232接口模块、RS485接口模块、CAN接口模块、USB接口模块、WIFI接口模块和主控模块,RS232接口模块、RS485接口模块、USB接口模块、WIFI接口模块通过UART通信和主控模块连接,CAN接口模块和主控模块连接,所述的主控模块包括主控芯片、时钟电路、复位电路和JTAG接口电路,时钟电路、复位电路和JTAG接口电路分别和主控芯片连接,本发明实现多种接口的数据的透明传输,方便了数字电路的调试,对数字电路的调试具有积极重要的意义。

A communication interface conversion device, including RS232 interface module, RS485 interface module, CAN interface module, USB interface module, WIFI interface module and main control module, RS232 interface module, RS485 interface module, USB interface module, WIFI interface module through UART communication Connect with main control module, CAN interface module is connected with main control module, described main control module comprises main control chip, clock circuit, reset circuit and JTAG interface circuit, clock circuit, reset circuit and JTAG interface circuit and main control chip respectively connection, the invention realizes the transparent transmission of data of various interfaces, facilitates the debugging of digital circuits, and has positive and important significance for debugging of digital circuits.

Description

A kind of communication interface converter
Technical field
The present invention relates to digital communication technology field, particularly relate to a kind of communication interface converter.
Background technology
Digital communication technology field, kind of interface is many, popular interface has the interfaces such as RS232 interface, RS485 interface, CAN interface, USB interface and WIFI interface, various interface needs communication conventionally, carry out data-switching, interface conversion in the market can only be for the communication between two interfaces, function singleness.
Summary of the invention
In order to overcome the shortcoming of above-mentioned prior art, the object of the present invention is to provide a kind of communication interface converter, can realize the transparent transmission of the data of multiple interfaces.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of communication interface converter, comprise RS232 interface module, RS485 interface module, CAN interface module, usb interface module, WIFI interface module and main control module, RS232 interface module, RS485 interface module, usb interface module, WIFI interface module are communicated by letter and are connected with main control module by UART, UART communication only needs a pair of transmission line, article one, as data, send, another is as data receiver, be a full duplex serial communication, the connection of modules and data-switching are all the realizations that is connected to each other by UART; CAN interface module is connected with main control module, and main control module is realized communicating by letter and data-switching between CAN interface and UART interface.
Described main control module comprises main control chip, clock circuit, reset circuit and jtag interface circuit, and clock circuit, reset circuit and jtag interface circuit are connected with main control chip respectively.
Beneficial effect of the present invention: can realize the transparent transmission of the data of multiple interfaces, can be applied to the debugging work in industry spot and laboratory, facilitate the debugging of digital circuit, the debugging of digital circuit be there is to the meaning of positive important.
Accompanying drawing explanation
Fig. 1 is structural representation of the present invention.
Fig. 2 is main control module circuit diagram.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in detail.
With reference to Fig. 1, a kind of communication interface converter, comprise RS232 interface module, RS485 interface module, CAN interface module, usb interface module, WIFI interface module and main control module, RS232 interface module, RS485 interface module, usb interface module, WIFI interface module are communicated by letter and are connected with main control module by UART, UART communication only needs a pair of transmission line, article one, as data, send, another is as data receiver, be a full duplex serial communication, the connection of modules and data-switching are all the realizations that is connected to each other by UART; RS232 interface module and RS485 interface module adopt MAX232 and MAX485 to drive chip, two kinds of chips are all supported UART interface, CAN interface module adopts 3.3V CAN transceiver SN65HVD230 as driving chip, USB module adopts USB-UART bridgt circuit CP2102 to realize data transmission, WIFI module is used embedded module USR-WIFI232-X, this module is supported TCP/IP/UDP network protocol stack, support UART/GPIO/ ethernet data communication interface, can realize data and do transparent transmission between serial ports and WIFI interface, not do any parsing; Except CAN module, modules all comprises UART interface, and the connection of modules and data-switching are all the realizations that is connected to each other by UART.
With reference to Fig. 2, described main control module comprises main control chip, clock circuit, reset circuit and jtag interface circuit, and clock circuit, reset circuit and jtag interface circuit are connected with main control chip respectively; Main control chip adopts fully-integrated mixed signal SOC (system on a chip) type microcontroller C8051F060, inner integrated CAN controller and UART interface, CAN controller connects the data transmit-receive module of the driving circuit formation CAN module in CAN module, the data layout of CAN interface converts serial data to by main control chip internal conversion and programmed control, and realization is connected with UART interface.
Principle of work of the present invention is: five kinds of interfaces that the present invention relates to are all asynchronous serial communications, transmitting terminal and receiving end do not need clock synchronous, because the form of data-signal is different with level, cause each interface not communicate by letter, when one of them interface has data to send, can be converted to UART by its driving circuit, then mate with the UART of another interface, realize data receiver, finally by the driving circuit switching signal of this interface, meet the semaphore request of this interface.For example, RS232 interface will be communicated by letter with USB interface, first signal is converted to UART by the level shifting circuit MAX232 of RS232, then the transmission pin of the integrated UART of MAX232 connects the reception pin of the integrated UART of CP2102, finally by CP2102 bridgt circuit, be converted to the signal of USB interface, realize the intercommunication mutually between two interfaces.
CAN interface communication not only needs CAN driving circuit, also need CAN controller, CAN interface is not supported UART simultaneously, in order to realize and the communicating by letter of other interfaces, need control chip to realize the conversion of data layout, control chip C8051F060 that the present invention adopts is integrated CAN controller and UART, by the data between programmed control CAN controller and UART, transmit, signal procedure mainly comprises main program module, serial communication modular and CAN bus communication module, master routine comprises that initialization and inquiry send two parts, the reception program that serial ports is communicated by letter with CAN can complete and not need to occur mutual with master routine in interrupt handling routine, it is mainly to be undertaken by inquiry zone bit that the inquiry of master routine sends, if have data in CAN bus, will enter program interrupt, interrupt handling routine receives the data in CAN bus, juxtaposition bit flag position, master routine inquires position, CAN bus receiving flag position, enter serial ports and send master routine, CAN communications reception to data deliver to serial ports and send program, same, the data that serial ports receives are sent to CAN communication transmission program, both need clear flag position after sending, wait for data transmission next time.Main control module has jtag interface circuit, and user can be according to the service condition of oneself, and configuration CAN register, writes signal procedure, meets the CAN communications applications of oneself.

Claims (2)

1. a communication interface converter, comprise RS232 interface module, RS485 interface module, CAN interface module, usb interface module, WIFI interface module and main control module, it is characterized in that: RS232 interface module, RS485 interface module, usb interface module, WIFI interface module are communicated by letter and are connected with main control module by UART, UART communication only needs a pair of transmission line, article one, as data, send, another is as data receiver, be a full duplex serial communication, the connection of modules and data-switching are all the realizations that is connected to each other by UART; CAN interface module is connected with main control module, and main control module is realized communicating by letter and data-switching between CAN interface and UART interface.
2. a kind of communication interface converter according to claim 1, it is characterized in that: described main control module comprises main control chip, clock circuit, reset circuit and jtag interface circuit, clock circuit, reset circuit and jtag interface circuit are connected with main control chip respectively.
CN201410380215.0A 2014-08-04 2014-08-04 A communication interface conversion device Pending CN104142900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410380215.0A CN104142900A (en) 2014-08-04 2014-08-04 A communication interface conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410380215.0A CN104142900A (en) 2014-08-04 2014-08-04 A communication interface conversion device

Publications (1)

Publication Number Publication Date
CN104142900A true CN104142900A (en) 2014-11-12

Family

ID=51852079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410380215.0A Pending CN104142900A (en) 2014-08-04 2014-08-04 A communication interface conversion device

Country Status (1)

Country Link
CN (1) CN104142900A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484300A (en) * 2014-12-10 2015-04-01 青岛东软载波科技股份有限公司 Multifunctional panel docking station
CN104602362A (en) * 2014-12-08 2015-05-06 深圳市广和通实业发展有限公司 WIFI based Point to Point Protocol (PPP) dial-up networking method and system
CN105068488A (en) * 2015-09-22 2015-11-18 托肯恒山科技(广州)有限公司 Intelligent communication controller applicable to a variety of communication interfaces and control method
CN106095710A (en) * 2016-07-26 2016-11-09 海信(山东)空调有限公司 A kind of idle call multifunctional signal switching device
CN106372017A (en) * 2016-08-30 2017-02-01 北京奇艺世纪科技有限公司 Embedded-type equipment and serial port transceiving system
CN107294732A (en) * 2017-07-19 2017-10-24 重庆七彩虹数码科技有限公司 A kind of WIFI wireless signal transmissions
CN109660454A (en) * 2018-12-03 2019-04-19 天津七二移动通信有限公司 A kind of intelligence transparent transmission communication equipment and its implementation
CN109902047A (en) * 2019-02-22 2019-06-18 广州开信通讯系统有限公司 A kind of serial communication interface multiplex circuit and application method
CN110768775A (en) * 2019-09-02 2020-02-07 珠海格力电器股份有限公司 Low-cost full-duplex communication method, communication system and computer readable storage medium
WO2020103097A1 (en) * 2018-11-22 2020-05-28 北京比特大陆科技有限公司 Data processing device
CN111628920A (en) * 2020-05-28 2020-09-04 上海辰瞻医疗科技有限公司 Intercommunication method between multiple serial interface devices
CN113177008A (en) * 2021-04-08 2021-07-27 青岛歌尔智能传感器有限公司 Data transmission circuit and device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602362A (en) * 2014-12-08 2015-05-06 深圳市广和通实业发展有限公司 WIFI based Point to Point Protocol (PPP) dial-up networking method and system
CN104602362B (en) * 2014-12-08 2018-04-10 深圳市广和通无线股份有限公司 PPP dial-up networking methods and system based on WIFI
CN104484300A (en) * 2014-12-10 2015-04-01 青岛东软载波科技股份有限公司 Multifunctional panel docking station
CN105068488A (en) * 2015-09-22 2015-11-18 托肯恒山科技(广州)有限公司 Intelligent communication controller applicable to a variety of communication interfaces and control method
CN105068488B (en) * 2015-09-22 2017-11-24 托肯恒山科技(广州)有限公司 Suitable for the Intelligent communication controller and control method of various communication interfaces
CN106095710A (en) * 2016-07-26 2016-11-09 海信(山东)空调有限公司 A kind of idle call multifunctional signal switching device
CN106095710B (en) * 2016-07-26 2023-05-12 海信空调有限公司 Multifunctional signal switching device for air conditioner
CN106372017B (en) * 2016-08-30 2019-11-29 北京奇艺世纪科技有限公司 A kind of embedded device and serial ports receive-transmit system
CN106372017A (en) * 2016-08-30 2017-02-01 北京奇艺世纪科技有限公司 Embedded-type equipment and serial port transceiving system
CN107294732A (en) * 2017-07-19 2017-10-24 重庆七彩虹数码科技有限公司 A kind of WIFI wireless signal transmissions
WO2020103097A1 (en) * 2018-11-22 2020-05-28 北京比特大陆科技有限公司 Data processing device
CN109660454A (en) * 2018-12-03 2019-04-19 天津七二移动通信有限公司 A kind of intelligence transparent transmission communication equipment and its implementation
CN109902047A (en) * 2019-02-22 2019-06-18 广州开信通讯系统有限公司 A kind of serial communication interface multiplex circuit and application method
CN110768775A (en) * 2019-09-02 2020-02-07 珠海格力电器股份有限公司 Low-cost full-duplex communication method, communication system and computer readable storage medium
CN111628920A (en) * 2020-05-28 2020-09-04 上海辰瞻医疗科技有限公司 Intercommunication method between multiple serial interface devices
CN113177008A (en) * 2021-04-08 2021-07-27 青岛歌尔智能传感器有限公司 Data transmission circuit and device

Similar Documents

Publication Publication Date Title
CN104142900A (en) A communication interface conversion device
CN204291023U (en) A kind of RS232, RS485 and CAN based on FPGA turns Ethernet device
CN202084028U (en) A modular multi-serial port expansion device
CN106453383A (en) UART (universal asynchronous receiver/transmitter)-based master-slave multi-processor communication system and method
CN204652678U (en) A kind of wired home controls gateway
CN103200081A (en) Heterogeneous network environment oriented Internet of things gateway development platform
CN203167288U (en) Internet of Things gateway development platform facing heterogeneous network environments
CN205318379U (en) Support port multiplex circuit of SPI, I2C, I2CL, UART agreement
CN204229835U (en) A kind of USB interface modular converter
CN101140558A (en) Embedded System and Its Communication Method
CN203982366U (en) Based on ARM and FPGA serial port device flexibly at a high speed
CN204129454U (en) A kind of data conversion adaptive circuit and electronic equipment
CN204044808U (en) The device that a kind of RS232 of realization, RS485 and USB turn mutually
CN205563554U (en) Serial ports controller is kept apart to multichannel
CN207543138U (en) A kind of data transmission system of more industrial bus
CN201623714U (en) Bidirectional communication circuit
CN201732288U (en) LIN-CAN bus converter
CN203872196U (en) Simple heterogeneous control gateway
CN205622630U (en) Electric test board with power line carrier and WLAN function
CN105512066B (en) Soft starter communication protocol conversion device and method based on profibus
CN202110418U (en) A multi-bus communication system for an intermodulator
CN102904789A (en) RS485 isolated communication circuit and control method thereof
CN203149567U (en) Multi-node communication circuit based on RS232C standard
CN103645689A (en) Differential signal based single bus transmission device
CN103701452A (en) Multifunctional communication interface signal converter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141112

WD01 Invention patent application deemed withdrawn after publication