CN110708137B - Single wire transmission method - Google Patents
Single wire transmission method Download PDFInfo
- Publication number
- CN110708137B CN110708137B CN201810746165.1A CN201810746165A CN110708137B CN 110708137 B CN110708137 B CN 110708137B CN 201810746165 A CN201810746165 A CN 201810746165A CN 110708137 B CN110708137 B CN 110708137B
- Authority
- CN
- China
- Prior art keywords
- data
- transmitted
- decoding
- transmission method
- group
- 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
- 230000005540 biological transmission Effects 0.000 title claims abstract description 139
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000009191 jumping Effects 0.000 claims abstract description 28
- 230000000630 rising effect Effects 0.000 claims description 32
- 238000005457 optimization Methods 0.000 claims description 4
- 230000007704 transition Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000002045 lasting effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000007789 sealing Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0006—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0006—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
- H04L1/0007—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Dc Digital Transmission (AREA)
Abstract
Disclosed is a single-wire transmission method including: receiving N bits of data to be transmitted through a single line, wherein the N bits of data to be transmitted take M bits as one group and comprise N/M groups, a trigger mark positioned in front of each group of data to be transmitted and an end mark positioned behind each group of data to be transmitted, and each group of data to be transmitted is represented by K +1 jumping edges; confirming the trigger mark; after the trigger mark is confirmed, counting K +1 jumping edges, decoding according to the counting until an end mark is received, and counting and decoding the jumping edges again after the end mark is received, wherein K is an integer greater than or equal to zero, a counting value is obtained according to the K +1 jumping edges and is K, the K represents an equivalent value of binary M bits, N and M are positive integers greater than 0, and N can be divided by M in an integer. The data transmission time is shorter, and the data transmission efficiency is improved.
Description
Technical Field
The invention relates to the field of integrated circuit design and communication, in particular to a single-wire transmission method.
Background
The existing communication interfaces such as I2C, SPI, SMBUS and the like all need at least two transmission lines, one for transmitting data and the other for transmitting clock. If the transmission of data and clock can be realized by using one transmission line, the number of pins in the circuit can be reduced, and the problems of signal synchronization between different transmission lines or asynchronous clocks between a receiving end and a transmitting end and the like are avoided. FIG. 1 shows a signal diagram of a conventional single-wire transmission method, as shown in FIG. 1, after the start signal INIT ends, when the receiving end detects a first falling edge of the CTRL signal, the receiving end is enabled to start receiving data (as shown by a waveform ENABLE), and correspondingly generates a frequency (as shown by a frequency waveform) according to the CTRL signal, and at the same time, the receiving end counter starts to start at a preset transmission time TCOUNThe rising edges of the CTRL signal are counted. At a predetermined transmission time TCOUNDuring the period, K rising edges appear to indicate that the transmitted data is K, and K is a positive integer greater than 0. If the transmitted data is 0, the preset transmission time T is setCOUNThe inner CTRL signal does not have a rising edge.
The transmission method in the prior art has the following defects: at least a predetermined transmission time T is required regardless of the data to be transmittedCOUNWhen the transmitted data is large, the preset transmission time T needs to be increasedCOUNTime of (d). When the transmitted data is small, it is still necessary to wait for the predetermined transmission time TCOUNAnd the data transmission can be completed after finishing. The existing transmission method has poor universality and low data transmission efficiency.
Disclosure of Invention
In view of the above, the present invention provides a single-wire transmission method, which further improves the efficiency of data transmission.
According to an aspect of the present invention, there is provided a single-wire transmission method, including: receiving X groups of data to be transmitted, a trigger mark positioned in front of each group of data to be transmitted and an end mark positioned behind each group of data to be transmitted through a single line, wherein X is a positive integer larger than 0, and each group of data to be transmitted is represented by the number of jumping edges; confirming the trigger mark; and after the trigger mark is confirmed, counting the jumping edges, decoding according to the counting until the ending mark is received, and counting and decoding the jumping edges again after the ending mark is received.
Preferably, the end flag is represented by a high level or a low level for a first preset time.
Preferably, the transition edge comprises a rising edge, or a falling edge, or a combination of both.
Preferably, a transmission start mark is arranged in front of a trigger mark before a 1 st group of data to be transmitted in the X groups of data to be transmitted, a transmission completion mark is arranged behind an end mark after a last group of data to be transmitted in the X groups of data to be transmitted, and the single-wire transmission method further includes: and finishing decoding the X groups of data to be transmitted after receiving the transmission completion mark.
Preferably, the transmission start flag is represented by a high level or a low level for a second preset time; the transmission end flag is represented by a high level or a low level for a third preset time.
Preferably, the trigger flag of the 1 st group of data to be transmitted is represented by a rising edge or a falling edge; the trigger flags of the 2 nd to X th groups of data to be transmitted are represented by a high level or a low level of a rising edge or a falling edge followed by a fourth preset time.
Preferably, the trigger flag of the data to be transmitted of the 1 st to X th groups is represented by a high level or a low level of a rising edge or a falling edge followed by a fourth preset time.
Preferably, the fourth preset time is less than the third preset time.
Preferably, X is 3, the X groups of data to be transmitted include a first group of data to be transmitted, a second group of data to be transmitted, and a third group of data to be transmitted, where the first group of data to be transmitted represents a storage address, the second group of data to be transmitted represents a read-write identifier, and the third group of data to be transmitted represents storage data; the coding according to the count comprises: and converting the jump edge count corresponding to the first group of data to be transmitted after the trigger mark into an address, converting the jump edge count corresponding to the second group of data to be transmitted into a read-write identifier, and converting the jump edge count corresponding to the third group of data to be transmitted into stored data.
According to another aspect of the present invention, there is provided a single-wire transmission method including: receiving N bits of data to be transmitted through a single line, wherein the N bits of data to be transmitted take M bits as one group and comprise N/M groups, a trigger mark positioned in front of each group of data to be transmitted and an end mark positioned behind each group of data to be transmitted, and each group of data to be transmitted is represented by K +1 jumping edges; confirming the trigger mark; after the trigger mark is confirmed, counting K +1 jumping edges, decoding according to the counting until an end mark is received, and counting and decoding the jumping edges again after the end mark is received, wherein K is an integer larger than or equal to zero, a counting value K is obtained according to the K +1 jumping edges, the K represents an equivalent value of binary M bits, N and M are positive integers larger than 0, and N can be divided by M in an integer mode.
Preferably, n ═ TST/TDThen the transmission time T required for transmitting N bits of data is (N/M) × (N-1+2M +1) × TD, wherein T isSTRepresents a first preset time, TDIndicating the pulse width of each set of data to be transmitted.
Preferably, when N is 8, and the transmission time T is shortest, the relationship between N and M satisfies: when n is less than or equal to 1, M is 1; when n is more than 1 and less than or equal to 17, M is 2; when n is more than 17 and less than or equal to 449, M is 4; when n > 449, M is 8.
Preferably, M ═ 1, the decoding according to the count includes: when the count of the jumping edge is a first value, the decoding is 0, and when the count of the jumping edge is a second value, the decoding is 1.
Preferably, M is 2, and the decoding according to the count includes: when the count of the jumping edge is a first value, decoding is 00; when the count of the jumping edge is a second value, decoding is 01; when the count of the jumping edge is a third value, decoding to 10; when the count of the transition edges is a fourth value, the decoding is 11.
According to a third aspect of the present invention, there is provided a chip characterized in that data is transmitted according to the above-described single-wire transmission method.
According to a fourth aspect of the present invention, there is provided a communication system characterized in that data is transmitted according to the above-described single-wire transmission method.
In summary, the single-wire transmission method, the single-wire transmission chip and the single-wire transmission system provided by the invention transmit data by using the single transmission line, divide the data to be transmitted with N bits into M bits per section according to the transmission efficiency optimization table, reduce the data transmission time, and further improve the transmission efficiency; and a read/write bit is added after the address bit to read or write the register.
In other embodiments of the present invention, after each group of data is transmitted, the end mark ST is provided to indicate the end of data transmission, and the data transmission time does not need to be fixed in the data transmission process, so that the limitation of the data transmission time on the data length is eliminated, and larger data can be compatibly transmitted. Meanwhile, when smaller data such as K is 0 is transmitted, the data transmission time is shorter, and the data transmission efficiency is improved. Meanwhile, the chip using the single-wire transmission method can reduce the number of pins in a circuit, save the area of the chip, save the cost, improve the reliability of sealing and testing, improve the signal synchronization and the like.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 shows a signal diagram of a conventional single-wire transmission method.
Fig. 2 shows a signal diagram of a transmission method of continuous data according to a first embodiment of the present invention.
Fig. 3 is a signal diagram illustrating a transmission method of single-bit data according to a second embodiment of the present invention.
Fig. 4 is a signal diagram illustrating a transmission method of multi-bit data according to a third embodiment of the present invention.
Fig. 5 shows a signal diagram in a write mode of a transmission method according to a fourth embodiment of the present invention.
Fig. 6 shows a signal diagram in a read mode of a transmission method according to a fourth embodiment of the present invention.
Detailed Description
The invention will be described in more detail below with reference to the accompanying drawings. Like elements in the various figures are denoted by like reference numerals. For purposes of clarity, the various features in the drawings are not necessarily drawn to scale. Moreover, certain well-known elements may not be shown in the figures.
Fig. 2 shows a signal diagram of a transmission method of continuous data according to a first embodiment of the present invention. Fig. 2 shows two embodiments of bus signals received by the receiving-end circuit, which are different in that background potentials are different, one is a high-level potential, and the other is a low-level potential. A transmission method provided in a first embodiment of the present invention includes: a transmission start flag INIT is determined, for example, a high signal lasting for a second preset time, as shown in the upper part of fig. 2. Or a low level signal for a second preset time, as shown in the lower part of fig. 2. A trigger flag SA, for example the first falling or rising edge of the bus signal CTRL, but of course also more complex trigger signals, is provided after the transmission start flag INIT to indicate the start of this transmission. The trigger flag SA in the upper embodiment of fig. 2 is illustrated as a falling edge, and the trigger flag SA in the lower embodiment of fig. 2 is illustrated as a rising edge. The trigger flag SA triggers a receiver counter which counts the rising (or falling) edges of the bus signal CTRL. The result of the count may be encoded and interpreted in various waysCode, the embodiment shown in fig. 2 represents the transmitted data by the number of rising edges (or falling edges), for example, the occurrence of K +1 rising edges (or falling edges) represents that the transmitted data is K. The occurrence of 1 rising edge (or falling edge) indicates that the transmitted data is 0. After K +1 rising edges (or falling edges) have elapsed, an end flag ST is provided, which indicates that the data transmission of the group is ended if the same potential for a first preset time does not change, for example, the end flag ST at the top of fig. 2 is a hold TSTHigh level of duration, end flag ST in the lower part of FIG. 2 being hold TSTA long low level.
When the data of the group 2 needs to be transmitted, a group of trigger flags SA is provided again, for example, the trigger flag SA of the data to be transmitted of the group 2 above fig. 2 is a falling edge and a low level lasting for a fourth preset time, and when the fourth preset time satisfies a duration T which is greater than the minimum value of the low level duration TL during the process of counting the number of the rising edges before and is less than the duration T of the transmission end flag OFFOFFThen, the number of rising edges can be counted, and T is maintained after the last rising edgeSTA high level of duration indicates that the second set of data transmissions is complete.
Providing an end-of-transmission flag OFF after X groups of data to be transmitted have been written, the end-of-transmission flag OFF being high or low for a third predetermined time, e.g. the end-of-transmission signal OFF at the top of FIG. 2 being held low TOFFThe length of time.
In other embodiments of the present invention, the trigger flags SA of the 1 st to the X th groups may be all a falling edge and a low level lasting for a fourth preset time, and when the fourth preset time satisfies a duration T that is greater than the minimum value of the low level duration TL during counting the number of rising edges and is less than the duration T of the transmission end flag OFFOFFThen, the number of rising edges can be counted. The invention is not so limited and may be selected by those skilled in the art depending on the particular circumstances.
In the transmission method provided by the first embodiment of the present invention, after each group of data is transmitted, the end flag ST is provided to indicate that the data transmission is ended, and the data transmission time does not need to be fixed in the data transmission process, so that the limitation of the data transmission time on the data length is eliminated, and larger data can be compatibly transmitted. Meanwhile, when smaller data such as K is 0 is transmitted, the data transmission time is shorter, and the data transmission efficiency is improved.
Fig. 2 shows a transmission mode of continuous data, in a preferred embodiment of the present invention, a transmission mode of bit data is provided, and as with the above-mentioned embodiments, the transmission method provided by the preferred embodiment also includes receiving a bus signal through a single line, where the bus signal includes N bits of data to be transmitted, and transmitting the N bits of data to be transmitted in a group of M bits. The bus signal transmission device also comprises a trigger mark positioned before each group of data to be transmitted and an end mark positioned after each group of data to be transmitted, wherein each group of data to be transmitted is represented by K +1 jumping edges in the bus signal; confirming a trigger mark of the bus signal; after the trigger mark is confirmed, counting K +1 jumping edges in the bus signal, decoding according to the counting until the end mark is received, and counting and decoding the jumping edges in the bus signal again after the end mark is received, wherein K is an integer which is larger than or equal to zero, the counting value of the K +1 jumping edges is K, K represents an equivalent value of binary M bits, N and M are positive integers which are larger than 0, and N can be divided by M.
For example, fig. 3 shows a signal diagram of a transmission method of single-bit data according to a second embodiment of the present invention. The transmission method according to the second embodiment of the present invention transmits each bit of data individually, as shown in fig. 3, pulling down the bus signal CTRL to indicate the start of data transmission, only one rising edge during data transmission to indicate that the bit of data is 0, two rising edges during data transmission to indicate that the bit of data is 1, and providing an end flag ST after each set of data transmission ends, where the end flag ST is the same as the first embodiment in that the same potential for a first preset time does not change, as shown in the upper part of fig. 3, and the end flag ST is the duration TSTA long high level.
Of course, in other embodiments of the invention, the elevated busSignal CTRL indicates the start of a data transmission, only one falling edge during the data transmission indicating that the bit data is 0, two falling edges during the data transmission indicating that the bit data is 1, and an end flag ST is provided after the end of each data transmission group, where the end flag ST is of duration TSTA low level of duration. The invention is not limited thereto and may be selected by those skilled in the art according to the particular circumstances.
FIG. 3 is a diagram showing a waveform of a transmitted data 11000110 (C6H) according to a second embodiment of the present invention, wherein the time required for transmitting data 0 is TST+TDThe time required for transmitting data 1 is TST+3TDWherein T isDWhich represents the duration of a pulse during data transmission, i.e. the pulse width of the data to be transmitted. The time required for transmitting 8 bits of data is 8TST+8TDTo 8TST+24TDAnd the transmission efficiency is improved.
Fig. 4 is a signal diagram illustrating a transmission method of two-bit data according to a third embodiment of the present invention. In the transmission method provided in the third embodiment of the present invention, the data of 8 bits is divided into four groups, and each group of data is composed of data of adjacent 2 bits. The steps of starting and ending the data transmission are the same as those of the second embodiment, and are not described again here. The transmission method provided by the third embodiment of the present invention is different from the transmission method provided by the second embodiment in that: during data transmission, the number of rising edges (or falling edges) is 1, the number of rising edges (or falling edges) is 2, the number of data 01, the number of rising edges (or falling edges) is 3, the number of data 10, and the number of rising edges (or falling edges) is 4, the data 11, as shown in the upper part of fig. 4.
FIG. 4 is a waveform diagram of data 11000110 (C6H) transmitted by the third embodiment of the present invention, as shown in the lower part of the figure, where the time required for transmitting data 00 is TST+TDTime T required for transmitting data 01ST+3TDThe time required for transmitting the data 10 is TST+5TDThe time required for transmitting the data 11 is TST+7TD. Therefore, the transmission method according to the third embodiment of the present invention requires a time of 4T for transmitting 8-bit dataST+4TDTo 4TST+28TDIn the meantime.
In addition, in other embodiments of the present invention, a data transmission method is provided, which can improve the efficiency of data transmission to the maximum. In the embodiment, data to be transmitted with N bits is transmitted as a group of data with every M bits of data, and N/M groups are required in total, where N and M are positive integers greater than 0, and N is divisible by M. Let n be TST/TDWherein T isSTIndicates the duration of the end flag, TDRepresenting the width of a single pulse during data transmission. The transmission time T required for transmitting N bits of data is (N/M) × (N-1+ 2)M+1)*TD。
Because the minimum time required to transmit a set of data is TST+TDMaximum time is TST+(2M+1-1)TD. The total transmission time T required for transmitting N bits of data is the shortest:
[N/M]*(TST+TD)
the longest length is:
(N/M)*[TST+(2M+1-1)TD]
when N is 8, the results shown in table 1 can be obtained.
TABLE 1
N=8 | Tmin | Tmax |
M | (8/M)*(n+1)TD | (8/M)*[n+(2M+1-1)] |
1 | 8*(n+1)TD | (8n+24) |
2 | 4*(n+1)TD | (4n+28)TD |
4 | 2*(n+1)TD | (2n+62)TD |
8 | 1*(n+1)TD | (n+511)TD |
A transmission efficiency optimization table can be derived from the formula in table 1 to obtain a value of M that minimizes Tmax when n is different. The results are shown in Table 2.
TABLE 2
As can be seen from the results in table 2, the corresponding M values can be selected for different n values, so that the data to be transmitted is transmitted with M bits as a group, so as to maximize the efficiency of data transmission.
Fig. 5 and 6 show a transmitting side of a fourth embodiment of the present invention, respectivelySignal diagrams in the write mode and read mode of the method. As shown in fig. 5 and fig. 6, a fourth embodiment of the present invention provides a transmission method with read/write mode, including: starting to write/read the address bit at the first falling edge after the time of pulling up the bus signal CTRL, obtaining the number of registers to be written/read by counting the number of rising edges, and providing an end mark ST to end the transmission of the address bit at the time of writing/reading, e.g. pulling up the bus signal CTRL for TSTThe high level of time ends the transmission of the address bits. The read/write mode selection is entered starting with the next falling edge, where either the write mode or the read mode is selected based on the number of counting rising edges, one rising edge representing the write mode and two rising edges representing the read mode, as shown in fig. 5 and 6. Providing an end flag ST after selection of the read-write mode, e.g. pulling bus signal CTRL up for TSTHigh ends the read-write mode selection. After the reading and writing mode selection is finished, the register data is written/read at the first falling edge, wherein the method for writing/reading the register data is the same as that of the above embodiment, and is not described herein again.
The foregoing embodiment shows a transmission method of a read/write mode when the bus signal CTRL is at a low level, and the transmission method according to the fourth embodiment of the present invention is also applicable to a case when the bus signal CTRL is at a high level, where when the bus signal CTRL is at a high level, the bus signal CTRL is pulled down to indicate a start of transmission, and address bits are written/read at a first rising edge, and the number of registers is obtained by counting the number of falling edges during transmission. Similarly, in the read/write mode selection, one falling edge indicates the write mode and two falling edges indicate the read mode. Providing an end flag ST after selection of the read-write mode, e.g. pulling bus signal CTRL down for TSTLow ends the read-write mode selection. After the read-write mode selection is finished, the register data is written/read at the first rising edge.
According to other embodiments of the present invention, there is provided a chip that transmits data according to the single-wire transmission method of the above-described embodiments.
According to other embodiments of the present invention, there is provided a communication system that transmits data according to the single-wire transmission method of the above-described embodiments.
In summary, the single-wire transmission method, the single-wire transmission chip and the single-wire transmission system provided by the invention transmit data by using the single transmission line, divide the data to be transmitted with N bits into M bits per section according to the transmission efficiency optimization table, reduce the data transmission time, and further improve the transmission efficiency; and a read/write bit is added after the address bit to read or write the register.
In other embodiments of the present invention, after each group of data is transmitted, the end mark ST is provided to indicate the end of data transmission, and the data transmission time does not need to be fixed in the data transmission process, so that the limitation of the data transmission time on the data length is eliminated, and larger data can be compatibly transmitted. Meanwhile, when smaller data such as K is 0 is transmitted, the data transmission time is shorter, and the data transmission efficiency is improved. Meanwhile, the chip using the single-wire transmission method can reduce the number of pins in a circuit, save the area of the chip, save the cost, improve the reliability of sealing and testing, improve the signal synchronization and the like.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
While embodiments in accordance with the invention have been described above, these embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. The invention is limited only by the claims and their full scope and equivalents.
Claims (9)
1. A single wire transmission method comprising:
receiving N bits of data to be transmitted through a single line, wherein the N bits of data to be transmitted take M bits as one group and comprise N/M groups, a trigger mark positioned in front of each group of data to be transmitted and an end mark positioned behind each group of data to be transmitted, and each group of data to be transmitted is represented by K +1 jumping edges;
confirming the trigger mark;
after the trigger mark is confirmed, counting K +1 jumping edges, decoding according to the count until an end mark is received, and counting and decoding the jumping edges again after the end mark is received,
and obtaining a count value K according to the K +1 jump edges, wherein the K is an integer which is greater than or equal to zero, the K represents an equivalent value of binary M bits, N and M are positive integers which are greater than 0, and N can be divided by M.
2. The single-wire transmission method according to claim 1, wherein the value of M is determined according to a preset transmission efficiency optimization table.
3. The single wire transmission method of claim 1 wherein n-TST/TDThe transmission time T required for transmitting the N bits of data is (N/M) × (N-1+ 2)M+1)*TD,
Wherein said T isSTRepresents a first predetermined time for which the end flag lasts, TDIndicating the pulse width of each set of data to be transmitted.
4. The single-wire transmission method according to claim 3, wherein when N-8, and the transmission time T is shortest, the relationship between N and M satisfies:
when n is less than or equal to 1, M is 1;
when n is more than 1 and less than or equal to 17, M is 2;
when n is more than 17 and less than or equal to 449, M is 4;
when n > 449, M is 8.
5. The single-wire transmission method according to claim 1, wherein M-1, decoding according to the count comprises: when the count of the jumping edge is a first value, the decoding is 0, and when the count of the jumping edge is a second value, the decoding is 1.
6. The single-wire transmission method according to claim 1, wherein M-2, decoding according to the count comprises:
when the count of the jumping edge is a first value, decoding is 00;
when the count of the jumping edge is a second value, decoding is 01;
when the count of the jumping edge is a third value, decoding to 10;
when the count of the transition edges is a fourth value, the decoding is 11.
7. Single wire transmission method according to claim 1, wherein said end flag is defined by a duration of a first preset time TSTHigh or low.
8. The single-wire transmission method of claim 1, wherein the transition edge comprises a rising edge, or a falling edge, or a combination of both.
9. The single-wire transmission method according to claim 1, wherein a transmission start flag is set before a trigger flag before a 1 st group of data to be transmitted in the N/M groups of data to be transmitted, and a transmission completion flag is set after an end flag after a last group of data to be transmitted in the N/M groups of data to be transmitted, the single-wire transmission method further comprising: and finishing decoding the N/M groups of data to be transmitted after receiving the transmission completion mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810746165.1A CN110708137B (en) | 2018-07-09 | 2018-07-09 | Single wire transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810746165.1A CN110708137B (en) | 2018-07-09 | 2018-07-09 | Single wire transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110708137A CN110708137A (en) | 2020-01-17 |
CN110708137B true CN110708137B (en) | 2022-05-20 |
Family
ID=69192828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810746165.1A Active CN110708137B (en) | 2018-07-09 | 2018-07-09 | Single wire transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110708137B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111739276B (en) * | 2020-07-02 | 2021-08-31 | 上海赞芯电子科技有限公司 | Communication protocol and communication method for electronic fuse |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499043A (en) * | 2009-03-12 | 2009-08-05 | 杭州士兰微电子股份有限公司 | Single-wire bus system and communication method |
TW201346583A (en) * | 2012-05-11 | 2013-11-16 | Richtek Technology Corp | Method of transmission through single wire |
CN103425618A (en) * | 2012-05-16 | 2013-12-04 | 立锜科技股份有限公司 | Transmission method of single transmission line |
CN105045749A (en) * | 2014-04-29 | 2015-11-11 | 立锜科技股份有限公司 | Single-wire transmission interface and single-wire transmission method and power supply system adopting single-wire transmission method |
CN107607853A (en) * | 2017-08-18 | 2018-01-19 | 北京集创北方科技股份有限公司 | Adjustment method, device, storage medium and the processor of chip |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102468901A (en) * | 2010-11-02 | 2012-05-23 | 凹凸电子(武汉)有限公司 | Method for transmitting data |
US8837628B2 (en) * | 2012-06-19 | 2014-09-16 | Richtek Technology Corporation | Method of transmission through single wire |
KR20160050481A (en) * | 2014-10-29 | 2016-05-11 | 한국전자통신연구원 | Method and apparatus for transmitting in mobile communication system |
-
2018
- 2018-07-09 CN CN201810746165.1A patent/CN110708137B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101499043A (en) * | 2009-03-12 | 2009-08-05 | 杭州士兰微电子股份有限公司 | Single-wire bus system and communication method |
TW201346583A (en) * | 2012-05-11 | 2013-11-16 | Richtek Technology Corp | Method of transmission through single wire |
CN103425618A (en) * | 2012-05-16 | 2013-12-04 | 立锜科技股份有限公司 | Transmission method of single transmission line |
CN105045749A (en) * | 2014-04-29 | 2015-11-11 | 立锜科技股份有限公司 | Single-wire transmission interface and single-wire transmission method and power supply system adopting single-wire transmission method |
CN107607853A (en) * | 2017-08-18 | 2018-01-19 | 北京集创北方科技股份有限公司 | Adjustment method, device, storage medium and the processor of chip |
Also Published As
Publication number | Publication date |
---|---|
CN110708137A (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108897712B (en) | Single-wire transmission method, chip and communication system | |
TWI463329B (en) | Method of transmission through single wire | |
EP1715485B1 (en) | Signal forming apparatus and method | |
US8762763B2 (en) | Single-wire transmission interface and method of transmission through single-wire | |
US10922263B2 (en) | Serial communication device | |
CN110708137B (en) | Single wire transmission method | |
US8837628B2 (en) | Method of transmission through single wire | |
GB2095952A (en) | Bi-phase space code data signal reproducing circuit | |
CN114253879A (en) | Multi-channel serial port communication method and system based on software simulation | |
CN103425618A (en) | Transmission method of single transmission line | |
CN1073736C (en) | Error correcting memory system | |
JP2856939B2 (en) | Data receiving method | |
CN113285964B (en) | Communication method, electronic device, and storage medium | |
JPS5941336B2 (en) | buffer memory device | |
SU966685A2 (en) | Interface | |
CN115543902A (en) | Method, device, equipment and medium for reading and writing data in equipment | |
RU157986U1 (en) | DEVICE FOR CLASSIFICATION AND SELECTION OF ART-THERAPY MATERIALS AND INSTRUMENTS | |
SU1509870A1 (en) | Device for comparing numbers with tolerances | |
RU143865U1 (en) | DECODING TEXT INFORMATION BY COMPRESSED CODE SEQUENCE | |
CN117494626A (en) | Method and device for processing signals | |
CN114978463A (en) | Decoding method, system, device and storage medium | |
CN113849443A (en) | I2C bus signal analysis method, system, terminal and storage medium | |
US7471727B2 (en) | Integrated serial data decoder | |
SU987828A1 (en) | Device for remote monitoring of intermediate communication system stations | |
RU2204173C2 (en) | Method for pulse-width digital data recording on magnetic or optical medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |