CN104679701A - Data transmission device and data transmission method - Google Patents

Data transmission device and data transmission method Download PDF

Info

Publication number
CN104679701A
CN104679701A CN201310628363.5A CN201310628363A CN104679701A CN 104679701 A CN104679701 A CN 104679701A CN 201310628363 A CN201310628363 A CN 201310628363A CN 104679701 A CN104679701 A CN 104679701A
Authority
CN
China
Prior art keywords
data
data transmission
signal
pin
receive
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
CN201310628363.5A
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.)
Inventec Pudong Technology Corp
Inventec Corp
Original Assignee
Inventec Pudong Technology Corp
Inventec Corp
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 Inventec Pudong Technology Corp, Inventec Corp filed Critical Inventec Pudong Technology Corp
Priority to CN201310628363.5A priority Critical patent/CN104679701A/en
Publication of CN104679701A publication Critical patent/CN104679701A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a data transmission device and a data transmission method. The data transmission device is suitable for a server. The data transmission device comprises a mode detecting unit, a data transmission unit and a control unit, wherein the mode detecting unit is coupled to a circuit board to receive an enabling signal through an internal rectifying circuit, and generate a mode signal according to the enabling signal; the data transmission unit is provided with at least two grounding pins which are coupled to the circuit board through the internal rectifying circuit. The control unit is coupled with the mode detecting circuit and the data transmission unit, and used for receiving the mode signal and selecting a time-sharing multi-power mode according to the mode signal, setting at least one of the at least two connecting pins as a data transmitting/receiving pin, rectifying the first data, transmitting the first data through the data transmitting/receiving pins, and receiving second data.

Description

Data transmission device and method
Technical field
The present invention relates to a kind of data transmission technology, particularly a kind of data transmission device and method being suitable for servomechanism.
Background technology
In general, Blade Server is made up of many subsystems.In the circuit board of these subsystems, can be configured with complexity separately can programmed logic element (Complex Programmable Logic Device), and these complexity can have the demand that data pass mutually between programmed logic element.Therefore, these complexity can have a main device (Master) and the framework from device (Slave) between programmed logic element usually, and carry out the transmission of data with serial data bus (Shifty Bus).
Further, main device and be such as from the mode that the data between device are transmitted: can export (Data Out) pin by data from device and export data extremely main device, and be carried out the data of autonomous devices by a data receiver (Data in) pin.But, aforesaid data output connecting pin only can be used for export data, and data input pin only can be used for receive data, so occupy the data transmission connecting-leg of two entities when carrying out bidirectional data transfers, and cause the wasting of resources.Therefore, the data of Blade Server transmit the space be still improved.
Summary of the invention
The object of the present invention is to provide a kind of data transmission device and method, use and make data transmission device can vacate unnecessary pin, using the purposes transmitted as other data, and then promote the service efficiency of data transmission device and save cost.
The invention provides a kind of data transmission device, be suitable for a servomechanism.This data transmission device comprises mode checking unit, data transmission unit and control module.Mode checking unit is in order to couple a circuit board by inter-integrated circuit, and the enable signal produced with circuit board for receiving, and foundation enable signal, produce mode signal.Data transmission unit has at least two pins, and this at least two pin is in order to be coupled to circuit board by inter-integrated circuit.Control module coupled mode detecting unit and data transmission unit, in order to receive and foundation mode signal, and select timesharing many merits pattern, and one of them is set as data transmission/reception pin by least two pins, and many first data are integrated, to transmit the first data by data transmission/reception pin, and receive many second data.
In one embodiment, aforementioned control unit is more according to detection signal, and select synchronous many merits pattern, and one of them is set as that data transmit pin by least two pins, by at least two pins, wherein another is set as data receiver pin, and transmit the first data by data transmission pin, and receive the second data by data receiver pin.
In one embodiment, aforementioned data transmitting device more comprises detecting signal unit and signal sets unit.Detecting signal unit is in order to receive clock signal, and foundation clock signal, to produce detection signal.Signal sets unit couples detecting unit and control module, in order to receive detection signal and system clock signal, and according to detection signal, to produce synchronizing signal or a system clock signal of corresponding clock signal, and synchronizing signal or system clock signal can be sent to control module, make control module according to synchronizing signal or system clock signal, transmit the first data and receive the second data.
In one embodiment, aforementioned data transmitting device is that a complexity can programmed logic element.
The invention provides a kind of data transmission method, be suitable for servomechanism, this servomechanism comprises a data transmission device, and this data transmission device has at least two pins, and this at least two pin is coupled to a circuit board by an inter-integrated circuit.Data transmission method comprises the following steps.Receive enable signal, wherein enable signal is produced by circuit board.According to enable signal, produce mode signal.Receive and foundation detection signal, select timesharing many merits pattern, and one of them is set as data transmission/reception pin by least two pins, and many first data are integrated, to transmit the first data by data transmission/reception pin, and receive many second data.
In one embodiment, aforementioned data transmission method more comprises the following steps.According to mode signal, select synchronous many merits pattern, and one of them is set as that data transmit pin by least two pins, by least two pins, wherein another is set as data receiver pin, and transmit the first data by data transmission pin, and receive the second data by data receiver pin.
In one embodiment, aforementioned data transmission method more comprises the following steps.Receive clock signal.According to clock signal, to produce detection signal.Receive detection signal and system clock signal.According to detection signal, produce synchronizing signal or the output system clock signal of corresponding clock signal.According to synchronizing signal or system clock signal, transmit the first data and receive the second data.
Data transmission device disclosed by the present invention and method, by mode checking unit according to enable signal, and the corresponding mode signal that produces, again by control module foundation mode signal, and select timesharing many merits pattern, and one of them is set as data transmission/reception pin by least two pins, and many first data are integrated, to transmit the first data by data transmission/reception pin, and receive many second data.Thus, make data transmission device can vacate unnecessary pin, using the purposes transmitted as other data, and then promote the service efficiency of data transmission device and save cost.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Accompanying drawing explanation
Fig. 1 is the partial schematic diagram of servomechanism of the present invention;
Fig. 2 is the process flow diagram of data transmission method of the present invention;
Fig. 3 is the process flow diagram of another data transmission method of the present invention.
Wherein, Reference numeral
100 servomechanisms
110,160 circuit boards
120 data transmission devices
130 mode checking unit
140 data transmission units.
141,142 pins
150 control modules
170 detecting signal units
180 signal sets unit
EN enable signal
SM mode signal
CLK clock signal
DS detection signal
SCLK system clock signal
Embodiment
Below in conjunction with accompanying drawing, structural principle of the present invention and principle of work are described in detail:
Please refer to shown in Fig. 1, it is the schematic diagram of servomechanism of the present invention.The servomechanism 100 of the present embodiment is such as Blade Server, and such as inter-integrated circuit (Inter-Integrated Circuit, I2C) passage.Servomechanism 100 comprises circuit board 110 and 160, and circuit board 110 and 160 is coupled by inter-integrated circuit.Wherein, such as have master slave relation between circuit board 110 and 160, circuit board 160 is such as main (Master) device, and circuit board 110 is such as from (Salve) device, and can carry out the transmission of data between circuit board 110 and 160.In addition, the servomechanism 100 of the present embodiment only shows 2 circuit boards 110 and 160, but the present invention is not limited thereto, and the quantity of circuit board also can be more than 3 or 3.
Aforementioned circuit plate 110 such as comprises data transmission device 120 of the present invention.Data transmission device 120 comprises mode checking unit 130, data transmission unit 140 and control module 150.Mode checking unit 130 is such as coupled to circuit board 160 by inter-integrated circuit, the enable signal EN produced in order to circuit board for receiving 160, and according to enable signal EN, produces mode signal SM.For example, when enable signal EN is such as high logic level, then mode signal SM is also such as high logic level; When enable signal EN is such as low logic level, then mode signal is also such as low logic level.In the present embodiment, the enable signal EN that receives of mode checking unit 130 is such as by the control element on circuit board 160 is produced.
Data transmission unit 140 has two pins 141,142, and this two pin 141,142 is also coupled to circuit board 160 by inter-integrated circuit.For convenience of description, data transmission unit 140 is only for two pins 141,142, but the present embodiment is not limited thereto, and the pin that data transmission unit 140 has also can be more than 3 or 3.
Control module 150 coupled mode detecting unit 130 and data transmission unit 140.According in embodiment, control module 150 can receive and foundation mode signal SM, and select timesharing many merits pattern, and one of them is set as data transmission/reception pin by two pins 141,142, and many first data are integrated, to transmit the first data by data transmission/reception pin, and receive many second data.
In another embodiment, control module 150 more receives and foundation mode signal SM, and select synchronous many merits pattern, and one of them is set as that data transmit pin by two pins 141,142, by two pins 141,142, wherein another is set as data receiver pin, and transmit the first data by data transmission pin, and receive the second data by data receiver pin.
For example, suppose that mode signal SM is high logic level, then pin 141 according to the mode signal SM of this high logic level, and such as can be set as data transmission/reception pin by control module 150.Then, control module 150 can be integrated needing the first data exported, to transmit the first data to circuit board 160 by data transmission/reception pin (i.e. pin 141), and receive by data transmission/reception pin (i.e. pin 141) multiple second data exported by circuit board 160.Thus, a pin vacated by the data transmission device 120 of the present embodiment, i.e. pin 142, and therefore pin 142 just can be used as the purposes of other data transmission, and then promotes the service efficiency of data transmission device 120 and save cost.
In addition, suppose that signal mode SM is low logic level, then control module 150 can according to the mode signal SM of this low logic level, and such as by pin 141(i.e. two pins 141,142 one of them) be set as data transmit pin, and such as pin 142(i.e. two pins 141,142 wherein another) be set as data receiver pin.Then, control module 150 just can transmit pin (i.e. pin 141) by data and transmit the first data to circuit board 160, and receives by data receiver pin (i.e. pin 142) multiple second data exported by circuit board 160.
Furthermore, the data transmission device 120 of the present embodiment more comprises detecting signal unit 170 and signal sets unit 180.Detecting signal unit 170 is in order to receive clock signal CLK, and foundation clock signal CLK, to produce detection signal DS.Signal sets unit 180 couples detecting unit 170 and control module 150, No. DS, letter and system clock signal SCLK is detected in order to receive, and according to detection signal DS, to produce synchronizing signal or the system clock signal SCLK of corresponding clock signal CLK, and synchronizing signal or system clock signal SCLK can be sent to control module 150, make control module 150 according to synchronizing signal or system clock signal SCLK, transmit the first data and receive the second data.
For example, in one embodiment, when circuit board 160 produces clock signal CLK, detecting signal unit 170 can detect aforementioned clock signal CLK.Then, detecting signal unit 170 just produces the detection signal DS of such as high logic level accordingly, and is sent to signal sets unit 180.Afterwards, signal sets unit 180 just according to the detection signal DS of this high logic level, and produces the synchronizing signal of corresponding clock signal CLK to control module 150, makes control module 150 according to the synchronizing signal of correspondence, transmits the first data and receives the second data.
In another embodiment, when circuit board 160 does not produce clock signal CLK, detecting signal unit 170 can not detect aforementioned clock signal CSK.Then, just this produces the detection signal DS of such as low logic level to detecting signal unit 170, and is sent to signal sets unit 180.Afterwards, signal sets unit 180 is just according to the detection signal DS of this low logic level, and the system clock signal SCLK it received exports control module 150 to, makes control module 150 according to system clock signal SCLK, transmits the first data and the second data.
In the present embodiment, aforementioned data transmitting device 120 is such as complexity can programmed logic element (Complex Programmable Logic Device, CPLD).Further, mode checking unit 130, data transmission unit 140, control module 150, detecting signal unit 170 and signal sets unit 180 can be integrated in complexity can in programmed logic element.
By the explanation of previous embodiment, a kind of data transmission method can be summarized.Please refer to shown in Fig. 2, it is the process flow diagram of data transmission method of the present invention.The data transmission method of the present embodiment is suitable for servomechanism, such as, shown in Fig. 1.Further, this servomechanism comprises data transmission device, and this data transmission device has two pins, and this two pin is such as coupled to circuit board by inter-integrated circuit.In step S210, receive enable signal, wherein this enable signal is produced by aforementioned circuit plate.In step S220, according to enable signal, produce mode signal.In step S230, receive and according to detection signal, select timesharing many merits pattern, and one of them is set as data transmission/reception pin by least two pins, and many first data are integrated, to transmit the first data by data transmission/reception pin, and receive many second data.
Please refer to shown in Fig. 3, it is the process flow diagram of another data transmission method of the present invention.In step S310, receive enable signal.In step s 320, according to enable signal, produce mode signal.In step S330, receive and according to detection signal, select timesharing many merits pattern, and one of them is set as data transmission/reception pin by least two pins, and many first data are integrated, to transmit the first data by data transmission/reception pin, and receive many second data.
In step S340, according to mode signal, select synchronous many merits pattern, and one of them is set as that data transmit pin by least two pins, by at least two pins, wherein another is set as data receiver pin, and transmit the first data by data transmission pin, and receive the second data by data receiver pin.
In step S350, receive clock signal.In step S360, according to clock signal, to produce detection signal.In step S370, receive detection signal and system clock signal.In step S380, according to detection signal, produce synchronizing signal or the output system clock signal of corresponding clock signal.In step S390, according to synchronizing signal or system clock signal, transmit the first data and receive the second data.
The data transmission device that embodiments of the invention propose and method, it is by mode checking unit foundation enable signal, and the corresponding mode signal that produces, again by control module foundation mode signal, and select timesharing many merits pattern, and one of them is set as data transmission/reception pin by least two pins, and many first data are integrated, to transmit the first data by data transmission/reception pin, and receive many second data.Thus, make data transmission device can vacate unnecessary pin, using the purposes transmitted as other data, and then promote the service efficiency of data transmission device and save cost.
Certainly; the present invention also can have other various embodiments; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection domain that all should belong to the claim appended by the present invention.

Claims (7)

1. a data transmission device, is suitable for a servomechanism, it is characterized in that, this data transmission device comprises:
One mode checking unit, in order to couple a circuit board by an inter-integrated circuit, to receive the enable signal that this circuit board produces, and according to this enable signal, produces a mode signal;
One data transmission unit, has at least two pins, and this at least two pin is in order to be coupled to this circuit board by this inter-integrated circuit; And
One control module, couple this mode checking unit and this data transmission unit, in order to reception and according to this mode signal, and select timesharing many merits pattern, and one of them is set as a data transmission/reception pin by this at least two pin, and many first data are integrated, to transmit those the first data by this data transmission/reception pin, and receive many second data.
2. data transmission device according to claim 1, it is characterized in that, this control module is more according to this mode signal, and select synchronous many merits pattern, and one of them is set as that data transmit pin by this at least two pin, by this at least two pin, wherein another is set as a data receiver pin, and transmits those the first data by these data transmission pin, and receives those the second data by this data receiver pin.
3. data transmission device according to claim 1, is characterized in that, more comprises:
One detecting signal unit, in order to receive a clock signal, and according to this clock signal, to produce a detection signal; And
One signal sets unit, couple this detecting unit and this control module, in order to receive this detection signal and a system clock signal, and according to this detection signal, with produce to should clock signal a synchronizing signal or export this system clock signal, and this synchronizing signal or this system clock signal can be sent to this control module, make this control module according to this synchronizing signal or this system clock signal, transmit those first data and receive those second data.
4. data transmission device according to claim 1, is characterized in that, this data transmission device is that a complexity can programmed logic element.
5. a data transmission method, is suitable for a servomechanism, and this servomechanism comprises a data transmission device, and this data transmission device has at least two pins, this at least two pin is coupled to a circuit board by an inter-integrated circuit, it is characterized in that, this data transmission method comprises:
Receive an enable signal, this enable signal is produced by this circuit board;
According to this enable signal, produce a mode signal; And
Receive and according to this detection signal, select timesharing many merits pattern, and one of them is set as a data transmission/reception pin by this at least two pin, and many first data are integrated, to transmit those the first data by this data transmission/reception pin, and receive many second data.
6. data transmission method according to claim 5, is characterized in that, more comprises:
According to this mode signal, select synchronous many merits pattern, and one of them is set as that data transmit pin by this at least two pin, by this at least two pin, wherein another is set as a data receiver pin, and transmit those the first data by these data transmission pin, and receive those the second data by this data receiver pin.
7. data transmission method according to claim 5, is characterized in that, more comprises:
Receive a clock signal;
According to this clock signal, to produce a detection signal;
Receive this detection signal and a system clock signal;
According to this detection signal, produce to should clock signal a synchronizing signal or export this system clock signal; And
According to this synchronizing signal or this system clock signal, transmit those first data and receive those second data.
CN201310628363.5A 2013-11-29 2013-11-29 Data transmission device and data transmission method Pending CN104679701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310628363.5A CN104679701A (en) 2013-11-29 2013-11-29 Data transmission device and data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310628363.5A CN104679701A (en) 2013-11-29 2013-11-29 Data transmission device and data transmission method

Publications (1)

Publication Number Publication Date
CN104679701A true CN104679701A (en) 2015-06-03

Family

ID=53314772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310628363.5A Pending CN104679701A (en) 2013-11-29 2013-11-29 Data transmission device and data transmission method

Country Status (1)

Country Link
CN (1) CN104679701A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459983A (en) * 2017-02-22 2018-08-28 致茂电子(苏州)有限公司 Programmable method for transmitting signals
CN111984565A (en) * 2019-05-24 2020-11-24 技嘉科技股份有限公司 Multiple signal synchronous transmission system and multiple signal synchronous transmission method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1851682A (en) * 2006-03-28 2006-10-25 华为技术有限公司 Method for realizing serial peripheral unit interface
CN101894089A (en) * 2006-06-02 2010-11-24 旺宏电子股份有限公司 Method and apparatus for communicating data over multiple pins of multi-mode bus
US20110181365A1 (en) * 2005-03-31 2011-07-28 Chris Karabatsos Synchronization of a Data Output Signal to An Input Clock
CN102624382A (en) * 2012-03-29 2012-08-01 广州市广晟微电子有限公司 Clock synchronization method, device and radio frequency chip circuit with same device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110181365A1 (en) * 2005-03-31 2011-07-28 Chris Karabatsos Synchronization of a Data Output Signal to An Input Clock
CN1851682A (en) * 2006-03-28 2006-10-25 华为技术有限公司 Method for realizing serial peripheral unit interface
CN101894089A (en) * 2006-06-02 2010-11-24 旺宏电子股份有限公司 Method and apparatus for communicating data over multiple pins of multi-mode bus
CN102624382A (en) * 2012-03-29 2012-08-01 广州市广晟微电子有限公司 Clock synchronization method, device and radio frequency chip circuit with same device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108459983A (en) * 2017-02-22 2018-08-28 致茂电子(苏州)有限公司 Programmable method for transmitting signals
CN108459983B (en) * 2017-02-22 2021-04-02 致茂电子(苏州)有限公司 Programmable signal transmission method
CN111984565A (en) * 2019-05-24 2020-11-24 技嘉科技股份有限公司 Multiple signal synchronous transmission system and multiple signal synchronous transmission method
CN111984565B (en) * 2019-05-24 2022-03-01 技嘉科技股份有限公司 Multiple signal synchronous transmission system and multiple signal synchronous transmission method

Similar Documents

Publication Publication Date Title
CN204857144U (en) Led display screen control system and sending card
US10614011B2 (en) Apparatus, method, and electronic device for implementing solid-state drive data interaction
CN105260260A (en) SPI data transmission device with data check function and data check method
CN103716118A (en) Self-adaption multi-rate data transmitting and receiving method and device
CN102402474B (en) Prototype verification device for programmable logic devices
CN110659238A (en) Data communication system
CN106851183B (en) Multi-channel video processing system and method based on FPGA
CN104678982A (en) Test device using independent control module to test, and method of test device
CN104679701A (en) Data transmission device and data transmission method
CN110740085B (en) Communication method, communication device and terminal based on parallel operation system
CN102841875A (en) Host computer with intelligent bus interface and security system
CN115303203A (en) Debugging board of vehicle-mounted controller, vehicle-mounted controller mainboard and vehicle
CN214311726U (en) A adapter plate for prototype is verified
CN103617145A (en) User-defined bus and achievement method thereof
CN110096002A (en) A kind of automatization test system and test method based on CANFD bus
CN104065664A (en) Cloud server authentication system
CN203324391U (en) General bus test system
CN105068952A (en) SD interface multiplexing apparatus and method and electronic device
TWI497309B (en) Data transmitting apparatus and method
CN102567170B (en) Server blade mainboard test board
CN104243256A (en) RS485 bus star-shaped extension device and method
CN104346258A (en) Service state display device
CN216956919U (en) Display screen system supporting dual-system networking and electronic equipment
CN103149900B (en) Communication means between PA digital control system and external devices and device
CN103777528B (en) Printed circuit board (PCB) and its signal sequence control method

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: 20150603

WD01 Invention patent application deemed withdrawn after publication