CN103425618A - Transmission method of single transmission line - Google Patents

Transmission method of single transmission line Download PDF

Info

Publication number
CN103425618A
CN103425618A CN2012101523661A CN201210152366A CN103425618A CN 103425618 A CN103425618 A CN 103425618A CN 2012101523661 A CN2012101523661 A CN 2012101523661A CN 201210152366 A CN201210152366 A CN 201210152366A CN 103425618 A CN103425618 A CN 103425618A
Authority
CN
China
Prior art keywords
transmission line
single transmission
code
transmission
default position
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
CN2012101523661A
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.)
Richtek Technology Corp
Original Assignee
Richtek Technology 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 Richtek Technology Corp filed Critical Richtek Technology Corp
Priority to CN2012101523661A priority Critical patent/CN103425618A/en
Publication of CN103425618A publication Critical patent/CN103425618A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

The invention provides a transmission method of a single transmission line. The transmission method includes: receiving a single transmission line signal through the single transmission line; determining a starting code of the single transmission line signal; then counting the rising edge, the falling edge or both the rising edge and the falling edge of the single transmission line signal during at least one preset bit transmission with fixed length to generate a one-time numerical code; decoding the numerical code to generate transmitted information.

Description

Method for single transmission line
Technical field
The present invention relates to a kind of method for single transmission line, particularly utilize an easy signal transmission specification, can transmit online in single transport the method for single transmission line of complex information.
Background technology
In the signal transmission specification of numerous forms, such as the communication interface that is applied in system device and the common use of electric power controller inter-drain, there are I2C, SPI, SMBUS etc. all to need at least two transmission lines, one is transmission frequency for transmission data, one.If can utilize the single transmission line to take into account the transmission of data and frequency, for circuit, can reduce the pin number, exempt signal synchronization between different transmission lines or asynchronous with the transmission end frequency etc. the mechanism of receiving end.Prior art is as in No. 7127631 case of United States Patent (USP) and No. 7080266 case, single line signal transmission mode is proposed, its method as shown in Figure 1, be enabled when receiving terminal circuit detects EN/SET signal rising edge and start reception data (as shown in waveform ENABLE), and according to the EN/SET signal and the corresponding frequency (as shown in the frequency waveform) that produces, the counter of receiving terminal circuit starts to be counted (1 ~ n) for the rising edge of EN/SET signal simultaneously.When detecting EN/SET signal falling edge, receiving end starts to start timing, if, while not detecting an inferior rising edge within the time limit, stop enabling signal Enable, and counting is made zero, and frequency also stops thereupon.
The rising edge that rises to high levels for low level in above-mentioned two cases is counted, and the number of counting represent transmission information, if therefore need to transmit numerical value n, just must transmit n rising edge.When numerical value is larger, need more rising edges, its transmission time (or bit length) is also just longer, obviously, the method for this two case is when large numerical information transmission, and it is very inconvenient to use, and the transmission time (or bit length) is unfixing, under some application, also can cause puzzlement.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art and defect, propose to utilize a kind of method for single transmission line, the method, with easy signal transmission specification, can transmit complex information online in single transport.
For reaching above-mentioned purpose, with regard to one of them viewpoint, the invention provides a kind of method for single transmission line, it comprises: by a single transmission line, receive a single transmission line signal; Confirm an initial code of this single transmission line signal; After confirming this initial code, between the transmission period of the default position of at least one regular length in, counted for the rising edge of this single transmission line signal or falling edge or both, and produced once digital; And this number carried out to decoding to produce transmission information.
In above-mentioned method for single transmission line, can transmit between the transmission period of a plurality of default positions, and between each default position transmission period, to mean a position.
With regard to another viewpoint, the invention provides a kind of method for single transmission line, it comprises: by a single transmission line, one receiving terminal circuit is transmitted to a single transmission line signal, this single transmission line signal comprises: an initial code; A plurality of is respectively between the default position transmission period of regular length, between each default position transmission period, means a position, has the accurate conversion in position at least one times between each default position transmission period, digital to mean once; An and end code.
According in one embodiment of the invention, its initial code can be the rising edge of single transmission line signal or a wherein edge of falling edge.
In one embodiment of the invention, can separate Code for odd/even according to this number is 0/1 or 1/0.
In one embodiment of the invention, in once between the transmission period of default position, can transmit the numeral that the above transfer method of scale-of-two means.
In one embodiment of the invention, the single transmission line signal can have again an end-of-transmission code (EOT), this end-of-transmission code (EOT), for continuing high levels or the low level of an intended duration, is started at or is started at from one of rising edge or falling edge when wherein the intended duration of this end-of-transmission code (EOT) finishes between the transmission period of arbitrary default position.
In another embodiment of the present invention, wherein method for single transmission line can not have frequency information.
In one embodiment of the invention, wherein transmission information has instruction, address and reading writing information one or a combination set of.
Below by specific embodiment, illustrate in detail, when the effect that is easier to understand purpose of the present invention, technology contents, characteristics and reaches.
The accompanying drawing explanation
Fig. 1 shows the single line sequence transmission mode of prior art;
Fig. 2 shows two kinds of single transmission line signals of the embodiment of the present invention;
Fig. 3 shows the rising edge of single transmission line signal and the relation of falling edge.
Symbol description in figure
EN/SET single transmission line signal
ENABLE enables waveform
The SA initial code
Between T1, T2, the default position of T3 transmission period
TE, TE ' intended duration
Embodiment
About aforementioned and other technology contents, characteristics and effect of the present invention, in the following detailed description coordinated with reference to a graphic preferred embodiment, can clearly present.The direction term of mentioning in following examples, such as: upper and lower, left and right, front or rear etc., is only the direction with reference to annexed drawings.Graphic in the present invention all belongs to signal, mainly be intended to mean the function relation between each device and each element, as for shape, thickness and width not according to scale.
A kind of method for single transmission line that one embodiment of the invention provides, it comprises: by a single transmission line, receive a single transmission line signal; Confirm an initial code of this single transmission line signal; After confirming this initial code, between the transmission period of the default position of at least one regular length in, counted for the rising edge of this single transmission line signal or falling edge or both, and produced once digital; And this number carried out to decoding to produce transmission information.
With reference to Fig. 2, two kinds of embodiment of the single transmission line signal of wherein receiving for receiving terminal circuit, these two kinds of single transmission line signals have a difference, and its background position is accurate different, and one is high background position standard, and another is low background position standard.Wherein, the single transmission line signal has an initial code SA, means to start this transmission, and this initial code SA for example can be the rising edge of single transmission line signal or a wherein edge of falling edge, certainly also can be more complicated initial code; The initial code SA of Fig. 2 top embodiment be take falling edge as example, and the initial code SA of Fig. 2 below embodiment be take rising edge as example.After receiving end (graphic show) is confirmed initial code SA, can between first a default transmission period of regular length, in T1, start to be counted for the accurate conversion in the position of single transmission line signal (can be rising edge or falling edge or both); In graphic, two kinds of single transmission line signals are all to be counted as example for falling edge.The result of counting is encoding and decoding in various manners, explanation after holding.The single transmission line signal can have a not only position, and in Fig. 2, illustrative single transmission line signal has two positions, transmission (T1, T2 are all regular length) in T1 and T2 between the transmission period of default position respectively.The single transmission line signal should have an end-of-transmission code (EOT), and to mean end of transmission (EOT) this time, this end-of-transmission code (EOT) for example can be used the mechanism of timing (time-out), while in a period of time, the accurate conversion in position not occurring, means end of transmission (EOT).With reference to Fig. 2 top, wherein end-of-transmission code (EOT) can be from presetting the rear intended duration TE of continuing of end between the transmission period of position and accurate a conversion do not occur, mean end of transmission (EOT), or as Fig. 2 below, continue an intended duration TE ' and the accurate conversion in position do not occur after a certain accurate conversion in position (one of rising edge or falling edge), mean end of transmission (EOT).During enforcement, stop bit will definitely selectivity be high levels or low level, sets and must look the needs of actual use.
In between the transmission period of default position, the result of counting can be considered as number one time, this number is encoding and decoding in various manners, wherein a kind of mode is: it is decoded as to the information of binary digit, for example, when the count results of the falling edge of single transmission line signal is odd number, Ke Xie Code is 0, and when count results is even number, Ke Xie Code is 1.Certainly also can change and be arranged to, the count results of the falling edge of single transmission line signal is that odd number Shi Xie Code is 1, and count results is that even number Shi Xie Code is 0.And illustrate in two embodiment, between first a default transmission period, in T1, the count results of the falling edge of single transmission line signal is 3, thus 3 for odd number for example Xie Code be 0.In graphic, between second a default transmission period in T2, the count results of the falling edge of single transmission line signal is 2, therefore 2 represent that for even number Xie Code is 0.So, the single transmission line signal can comprise 0 and 1 binary piece of information.Need pay special attention to, in this embodiment between first and second default position transmission period only for the purpose of illustration, only can be reduced to according to need between a default position transmission period or between the transmission period of more default positions technical characterictic all according to the invention during enforcement.
Again, inferior number is encoding and decoding otherwise, and for example between first default position transmission period in T1, the count results of the falling edge of single transmission line signal is 3, represents 3 times; This for example may be defined as for 3 times and represents a certain instruction, address or read and write data, also may be defined as the integer information that represents for example integer 2(counting represent integer 01 time).In other words, between each default position transmission period, can represent a position, and each position is not limited to scale-of-two, and can is the represented numeral of transfer method arbitrarily more than scale-of-two.The difference of this and No. 7127631 case of prior art United States Patent (USP) and No. 7080266 case is that, in the present invention, the length between the transmission period of default position is fixed, and can mean larger numerical value with the inferior digital combination of a plurality of.That is, more than two between the transmission period of default position the inferior digital combination of T1, T2 together, just may be defined as various meanings, for example larger numerical value, or instruction, address, the combination that reads and writes data etc.
During practical application, the counting of single transmission line signal is not limited to falling edge, can be counted or both are all counted according to using need to change into for rising edge.With reference to Fig. 3, no matter background position standard is high levels or low level, all can be within set time T3, select counting rising edge or falling edge or both.And the principle of coding/decoding, such as the meaning that how to define binary zero and 1, inferior number, inferior digital combination etc., all can from previous embodiment analogize and it.
As from the foregoing, the present invention can be in the situation that do not have frequency information, with single transmission line, transmits complex information (that is except this single transmission line signal, another transmission frequency information).Compared to existing technologies, if need the large numerical value of transmission, the length between shorter and each default position transmission period of transmission time required for the present invention is fixed, if the figure place of transmission for fixing, overall transmission time is also fixed, comparatively convenient in application.
In addition, in one embodiment of the invention, the alternative arrangement makes transmission information have instruction, address and reading writing information one or a combination set of, to carry out the signal transmission between each device; For example, can be in each transmission, with 1st ~ m bit representation instruction, (m+1) ~ (m+1+n) individual bit representation address, (m+1+n+1) ~ (m+1+n+1+p) individual bit representation reading writing information etc.
Below for preferred embodiment, the present invention is described, just the above, only, for making those skilled in the art be easy to understand content of the present invention, not be used for limiting interest field of the present invention.For those skilled in the art, when can, in spirit of the present invention, thinking immediately and various equivalence variation.For example, initial code is appointed as two continuous rising edges, or end-of-transmission code (EOT) is appointed as the combination of a rising edge and a falling edge etc., feature all according to the invention.Enforcement of the present invention is not limited on small-sized portable electronic equipment or on the large scale device.Change or modify with spirit institute is impartial for it according to concept of the present invention therefore all, all should be included in claim of the present invention.

Claims (13)

1. a method for single transmission line, is characterized in that, comprises:
Receive a single transmission line signal by a single transmission line;
Confirm an initial code of this single transmission line signal;
After confirming this initial code, between the transmission period of the default position of at least one regular length in, counted for the rising edge of this single transmission line signal or falling edge or both, and produced once digital; And
This number carried out to decoding to produce transmission information.
2. method for single transmission line as claimed in claim 1, wherein, a wherein edge of the rising edge that this initial code is this single transmission line signal or falling edge.
3. method for single transmission line as claimed in claim 1, wherein, transmit between the transmission period of a plurality of default positions, and between each default position transmission period, to mean a position.
4. method for single transmission line as claimed in claim 1, wherein, separating Code according to this number for odd/even is 0/1 or 1/0.
5. method for single transmission line as claimed in claim 1, wherein, in once between the transmission period of default position, transmit the numeral that the above transfer method of scale-of-two means.
6. method for single transmission line as claimed in claim 1, wherein, this single transmission line signal has again an end-of-transmission code (EOT), this end-of-transmission code (EOT) has high levels or the low level that continues an intended duration, when wherein the intended duration of this end-of-transmission code (EOT) finishes between the transmission period of arbitrary default position, starts at or starts at from one of rising edge or falling edge.
7. method for single transmission line as claimed in claim 1, wherein, this transmission information has instruction, address and reading writing information one or a combination set of.
8. a method for single transmission line, is characterized in that, comprises:
By a single transmission line, one receiving terminal circuit is transmitted to a single transmission line signal, this single transmission line signal comprises:
One initial code;
A plurality of is respectively between the default position transmission period of regular length, between each default position transmission period, means a position, has the accurate conversion in position at least one times between each default position transmission period, digital to mean once; And
One end code.
9. method for single transmission line as claimed in claim 8, wherein, a wherein edge of the rising edge that this initial code is this single transmission line signal or falling edge.
10. method for single transmission line as claimed in claim 8, wherein, mean binary zero/1 or 1/0 according to this number for odd/even.
11. method for single transmission line as claimed in claim 8, wherein, in once between the transmission period of default position, the numeral that the above transfer method of transmission scale-of-two means.
12. method for single transmission line as claimed in claim 8, wherein, this end-of-transmission code (EOT) is to have high levels or the low level that continues an intended duration, when wherein the intended duration of this end-of-transmission code (EOT) finishes between the transmission period of arbitrary default position, starts at or starts at from one of rising edge or falling edge.
13. method for single transmission line as claimed in claim 8, wherein, this transmission information has instruction, address and reading writing information one or a combination set of.
CN2012101523661A 2012-05-16 2012-05-16 Transmission method of single transmission line Pending CN103425618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101523661A CN103425618A (en) 2012-05-16 2012-05-16 Transmission method of single transmission line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101523661A CN103425618A (en) 2012-05-16 2012-05-16 Transmission method of single transmission line

Publications (1)

Publication Number Publication Date
CN103425618A true CN103425618A (en) 2013-12-04

Family

ID=49650388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101523661A Pending CN103425618A (en) 2012-05-16 2012-05-16 Transmission method of single transmission line

Country Status (1)

Country Link
CN (1) CN103425618A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897712A (en) * 2018-07-09 2018-11-27 北京集创北方科技股份有限公司 Single line transmission method, chip and communication system
CN110708137A (en) * 2018-07-09 2020-01-17 北京集创北方科技股份有限公司 Single-wire transmission method, chip and communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080209250A1 (en) * 2007-01-26 2008-08-28 Pacifictech Microelectronics, Inc. Single wire communication circuits and methods
CN101499043A (en) * 2009-03-12 2009-08-05 杭州士兰微电子股份有限公司 Single-wire bus system and communication method
CN101673134A (en) * 2008-09-08 2010-03-17 立锜科技股份有限公司 Transmission interface and transmission method for single transmission line

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080209250A1 (en) * 2007-01-26 2008-08-28 Pacifictech Microelectronics, Inc. Single wire communication circuits and methods
CN101673134A (en) * 2008-09-08 2010-03-17 立锜科技股份有限公司 Transmission interface and transmission method for single transmission line
CN101499043A (en) * 2009-03-12 2009-08-05 杭州士兰微电子股份有限公司 Single-wire bus system and communication method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897712A (en) * 2018-07-09 2018-11-27 北京集创北方科技股份有限公司 Single line transmission method, chip and communication system
WO2020010742A1 (en) * 2018-07-09 2020-01-16 北京集创北方科技股份有限公司 Single-line transmission method, chip, and communication system
CN110708137A (en) * 2018-07-09 2020-01-17 北京集创北方科技股份有限公司 Single-wire transmission method, chip and communication system
KR20200014386A (en) * 2018-07-09 2020-02-10 칩원 테크놀로지(베이징) 컴퍼니 리미티드 Single line transmission method, chip and communication system
CN108897712B (en) * 2018-07-09 2021-04-09 北京集创北方科技股份有限公司 Single-wire transmission method, chip and communication system
KR102314768B1 (en) * 2018-07-09 2021-10-20 칩원 테크놀로지(베이징) 컴퍼니 리미티드 Single line transmission method, chip and communication system
CN110708137B (en) * 2018-07-09 2022-05-20 北京集创北方科技股份有限公司 Single wire transmission method
US11403251B2 (en) 2018-07-09 2022-08-02 Chipone Technology (Beijing) Co., Ltd. Single-wire transmission method, chip and communication system

Similar Documents

Publication Publication Date Title
TW201346583A (en) Method of transmission through single wire
CN105183423B (en) A kind of cross-clock domain asynchronous data treating method and apparatus
CN108897712B (en) Single-wire transmission method, chip and communication system
CN109918332A (en) SPI is from equipment and SPI equipment
CN101996262B (en) General digital verification platform for non-contact intelligent card
CN112559426A (en) Data transmission method, interface circuit and device
CN103297060A (en) Decoding circuit suitable for correcting miller code signal at high speed
CN106575269A (en) Serial sideband signaling link
CN104283531A (en) Clock jitter and power supply noise analysis
US8837628B2 (en) Method of transmission through single wire
TWI624174B (en) Methods and a system for transmitting and receiving audio-video data.
Agrawal et al. The design of high speed UART
JP4917901B2 (en) Receiver
CN103425618A (en) Transmission method of single transmission line
TW200818720A (en) Single wire transmission without clock synchronization
CN110708137B (en) Single wire transmission method
CN102332975A (en) Method and device for self-adaptively sampling interface
CN107122325B (en) Data transmission system and method based on universal serial bus
US10031547B2 (en) CCIe receiver logic register write only with receiver clock
RU2010121016A (en) COMMUNICATION INTERFACE DEVICE
CN201663587U (en) Transmission interface circuit of single transmission line
KR102414408B1 (en) Control integrated circuit for heterogeneous serial communication protocol and system control apparatus including same
CN203376748U (en) Single-bus receiving logical structure
EP4242860A1 (en) A device for decoding the data communication under universal serial bus standard
CN101673134B (en) Transmission interface and transmission method for single transmission line

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