A clock duty cycle adjustment circuit and data transmission method
By using logic control circuit and flip-flop in the clock duty cycle adjustment circuit, selecting the code pattern according to the duty cycle mapping relationship between the data to be sent and the output clock signal and performing synchronous splicing, the difference in clock jitter characteristics in the prior art is solved. The problem of difficulty in synchronizing with signals achieves low jitter clock signal transmission.
Patent Information
- Application Number
- CN201811405611.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-23
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2038-11-23
AI Technical Summary
The prior art adjusts the duty cycle by changing the rising and falling edge times of the clock, resulting in a deterioration of the clock jitter characteristics, making it difficult to ensure synchronization between the clock signal and the frame signal.
Design a clock duty cycle adjustment circuit, including logic control circuit and flip-flop, select the code pattern using the duty cycle mapping relationship between the data to be sent and the output clock signal, and synchronously splicing through the input clock signal to ensure that the clock frequency remains unchanged Realize low jitter clock signal transmission.
The low jitter characteristic of the clock signal and the synchronization of data transmission are realized, and the problem of out-synchronization between the clock signal and the frame signal is avoided.
Smart Images

Figure CN109327207B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of circuit design, and more particularly to a clock duty cycle adjustment circuit and a data transmission method. Background Art
[0002] With the continuous development of communication technology, the density of devices and wiring of PCB boards used for communication is increasing, and the design difficulty is increasing. In order to reduce the wiring density and design difficulty, communication technology that transmits data by modulating the clock has emerged, that is, by changing the duty cycle of the clock to achieve modulation of the clock without changing the clock frequency.
[0003] At present, the adjustment of the clock duty cycle in the existing technology is mainly achieved by changing the time of the rising edge and the falling edge of the clock. However, this implementation method will reduce the rising time and falling time of the clock in the process of adjusting the clock duty cycle, resulting in worse jitter characteristics. When frame synchronization is required for transmitted data, it is difficult to ensure the synchronization of the modulated clock signal and the frame signal. Summary of the invention
[0004] In view of this, the present invention provides a clock duty cycle adjustment circuit and a data transmission method to solve the problem in the prior art that the duty cycle is adjusted by changing the rising edge time and the falling edge time of the clock so that the rising time and the falling time of the clock are reduced, thereby causing the jitter characteristics to deteriorate and it is difficult to ensure the synchronization of the modulated clock signal and the frame signal.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A clock duty cycle adjustment circuit comprises: a logic control circuit and a trigger, wherein:
[0007] The data input end of the logic control circuit receives the data to be sent, and the output end of the logic control circuit is connected to the input end of the trigger;
[0008] The clock signal input end of the trigger receives the input clock signal, and the output end of the trigger serves as the output end of the clock duty cycle adjustment circuit to output the output clock signal;
[0009] The logic control circuit determines the code pattern to be spliced corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal, the frequency information of the output clock signal, and the mapping relationship between the duty cycle of the data to be sent and the output clock signal, and splices the code pattern to be spliced in the order of the data to be sent to obtain the code pattern signal corresponding to the data to be sent;
[0010] The trigger receives the code type signal corresponding to the data to be sent, and outputs the output clock signal under the action of the input clock signal.
[0011] Furthermore, the logic control circuit includes: a control unit and a storage unit, wherein:
[0012] The first end of the control unit serves as a data input end of the logic control circuit, the second end of the control unit serves as an output end of the logic control circuit, and the third end of the control unit is connected to the storage unit;
[0013] The storage unit is used to store the frequency information of the input clock signal, the frequency information of the output clock signal, and the mapping relationship between the data to be sent and the duty cycle of the output clock signal;
[0014] The control unit is used to determine the code type to be spliced corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal, the frequency information of the output clock signal, and the duty cycle mapping relationship between the data to be sent and the output clock signal, and splice the code types to be spliced in the order of the data to be sent to obtain the code type signal corresponding to the data to be sent.
[0015] A data transmission method, comprising:
[0016] Receive data to be sent;
[0017] Obtaining frequency information of an input clock signal and frequency information of an output clock signal;
[0018] Determine the to-be-spliced code pattern corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal, the frequency information of the output clock signal, and a mapping relationship between the duty cycle of the data to be sent and the output clock signal;
[0019] Splicing the code patterns to be spliced in the order of the data to be sent to obtain code pattern signals corresponding to the data to be sent;
[0020] The code signal corresponding to the data to be sent outputs the output clock signal under the action of the input clock signal;
[0021] The output clock signal is parsed according to the output clock signal and a mapping relationship between the duty cycle of the output clock signal and the data to be sent, so as to determine the data to be sent.
[0022] Further, the step of determining the code type to be spliced corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal, the frequency information of the output clock signal, and the mapping relationship between the duty cycle of the data to be sent and the output clock signal includes:
[0023] Determine a code length according to the frequency information of the input clock signal and the frequency information of the output clock signal;
[0024] The to-be-spliced code pattern corresponding to the to-be-sent data is determined according to the to-be-sent data and a mapping relationship between the to-be-sent data and a duty cycle of an output clock signal.
[0025] Further, the step of determining the to-be-spliced code pattern corresponding to the to-be-sent data according to the to-be-sent data and the duty cycle mapping relationship between the to-be-sent data and the output clock signal includes:
[0026] Determine the number of data bits of the data to be sent according to the data to be sent;
[0027] Determine the code length according to the number of data bits of the data to be sent;
[0028] The duty cycle corresponding to each of the data to be sent and the code pattern to be spliced corresponding to the data to be sent are set according to the code pattern length.
[0029] Further, the step of determining the code pattern length according to the number of data bits of the data to be sent includes:
[0030] The code length is calculated according to a preset formula and the number of data bits of the data to be sent.
[0031] Furthermore, the preset formula is N>2 x +1, where: N is the code length and x is the number of data bits.
[0032] It can be known from the above technical scheme that compared with the prior art, the present invention discloses a duty cycle adjustment circuit and a data transmission method, the duty cycle adjustment circuit includes: a logic control circuit and a trigger, wherein: the data input end of the logic control circuit receives the data to be sent, and the output end of the logic control circuit is connected to the input end of the trigger; the clock signal input end of the trigger receives the input clock signal, and the output end of the trigger serves as the output end of the clock duty cycle adjustment circuit to output the output clock signal. The present invention selects the clock code type according to the corresponding relationship between the configured data to be sent and the duty cycle of the output clock signal, and uses the data sequence to splice the code type, and then uses the input clock signal to synchronize the spliced code type, so as to realize the modulation of the input data on the clock, ensure that the clock frequency is unchanged, and transmit the data at the same time, and ensure that the clock has the characteristics of low jitter. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0034] Figure 1 A schematic diagram of a clock duty cycle adjustment circuit provided in the prior art;
[0035] Figure 2 A schematic diagram of a clock duty cycle adjustment circuit provided by an embodiment of the present invention;
[0036] Figure 3 A schematic diagram of another clock duty cycle adjustment circuit provided by an embodiment of the present invention;
[0037] Figure 4 Waveform diagrams of clock duty cycle before and after adjustment provided by an embodiment of the present invention;
[0038] Figure 5 A flowchart of a data transmission method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] Terminology explanation:
[0040] Duty cycle: refers to the ratio of the high-level pulse width to the signal period in a digital signal waveform, generally expressed as a percentage.
[0041] like Figure 1As shown in the figure, it is a schematic diagram of a circuit for adjusting the clock duty cycle by changing the time of the rising edge and the falling edge of the clock in the prior art, comprising: a duty cycle correction unit 1, a duty cycle detection unit 2, a counting unit 3 and a decoding unit 4, wherein: the counting unit 3 generates an n-bit counting signal in response to the duty cycle detection signal dtdet, and when the low level period of the corrected clock signal Clk_out is wider than its high level period (when the ideal ratio is not met), the duty cycle detection signal dtdet is enabled; the decoding unit 4 can decode the n-bit counting signal to generate (n-1 )-bit boost control signal Plup and (n-1)-bit buck control signal Pldn, and determine the logic value of the least significant bit of the counting signal, and change the logic values of the boost control signal and the buck control signal; the duty cycle correction unit 1 can respond to the logic value of the (n-1)-bit boost control signal Plup and the logic value of the (n-1)-bit buck control signal Pldn to correct the duty cycle of the input clock signal Clk_in to output the corrected clock signal Clk_out; the duty cycle correction unit 1 can be used for correction in a multi-stage driver, and finally output an ideal duty cycle clock.
[0042] The clock duty cycle adjustment in the prior art actually changes the rising edge time and the falling edge time of the clock to achieve duty cycle adjustment, which will reduce the clock rise and fall time, thereby causing the jitter characteristics to deteriorate; and when the transmission data requires frame synchronization, it is difficult to ensure the synchronization of the modulated clock signal and the frame signal.
[0043] The rising edge and falling edge of the output clock signal of the present invention are always steep, thereby avoiding the deterioration of jitter performance. The clock duty cycle adjustment circuit provided by the present invention is simple to adjust the clock duty cycle. Different code types are selected according to different data to perform clock digital modulation, so that different clock duty cycles can be obtained, and the duty cycle can be dynamically adjusted to realize data transmission.
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] like Figure 2 As shown, an embodiment of the present invention provides a clock duty cycle adjustment circuit, the clock duty cycle adjustment circuit comprising: a logic control circuit 11 and a trigger 12, wherein:
[0046] The data input end of the above-mentioned logic control circuit 11 receives the data to be sent, and the output end of the above-mentioned logic control circuit 11 is connected to the input end of the above-mentioned trigger 12; the clock signal input end of the above-mentioned trigger 12 receives the input clock signal Clk1, and the output end of the above-mentioned trigger serves as the output end of the above-mentioned clock duty cycle adjustment circuit to output the output clock signal Clk2.
[0047] The above-mentioned logic control circuit 11 determines the code pattern to be spliced corresponding to the above-mentioned data to be sent according to the above-mentioned data to be sent, the frequency information of the above-mentioned input clock signal Clk1, the frequency information of the above-mentioned output clock signal Clk2, and the duty cycle mapping relationship between the above-mentioned data to be sent and the output clock signal Clk2, and splices the above-mentioned code pattern to be spliced in the order of the above-mentioned data to be sent to obtain the code pattern signal corresponding to the above-mentioned data to be sent; the above-mentioned trigger 12 receives the code pattern signal corresponding to the above-mentioned data to be sent, and under the action of the above-mentioned input clock signal Clk1, outputs the above-mentioned output clock signal Clk2.
[0048] Preferably, Figure 3 As shown, the above-mentioned logic control circuit 11 includes: a control unit 111 and a storage unit 112, wherein:
[0049] The first terminal of the control unit 111 serves as a data input terminal of the logic control circuit 11, the second terminal of the control unit 111 serves as an output terminal of the logic control circuit 11, and the third terminal of the control unit 111 is connected to the storage unit 112;
[0050] The storage unit 112 is used to store the frequency information of the input clock signal, the frequency information of the output clock signal, and the duty cycle mapping relationship between the data to be sent and the output clock signal; the control unit 111 is used to determine the code pattern to be spliced corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal Clk1, the frequency information of the output clock signal Clk2, and the duty cycle mapping relationship between the data to be sent and the output clock signal Clk2, and splice the code pattern to be spliced in the order of the data to be sent to obtain the code pattern signal corresponding to the data to be sent.
[0051] It should be noted that, in an embodiment of the present invention, the data to be sent, the frequency information of the input clock signal Clk1 and the frequency information of the output clock signal Clk2, and the duty cycle mapping relationship between the data to be sent and the output clock signal Clk2 are input into the logic control circuit 11. The logic control circuit 11 selects the code type to be spliced according to the value of the data to be sent and the frequency of the input clock signal Clk1 and the frequency of the output clock signal Clk2, and splices the code types in the order of the data.
[0052] For example, according to the data transmission requirements to be sent, the frequency of the input clock signal Clk1 is A, and the frequency of the output clock signal Clk2 is B. The logic control circuit 11 determines the code length N according to the ratio of the frequency B of the output clock signal Clk2 to the frequency A of the input clock signal Clk1, that is, N = A / B. Assuming that the number of data bits is determined to be x = 1, according to N>2 x +1, the code length N=4, 5, 6... can be determined. In the embodiment of the present invention, the code length can be determined as N=4, then the transmitted data includes: 1, 0 and no data, that is, when the data to be sent is 1, the duty cycle of the output clock signal Clk2 is 75%; when the data to be sent is 0, the duty cycle of the output clock signal Clk2 is 25%; when there is no data transmission, the duty cycle of the output clock signal Clk2 is 50%. Therefore, the duty cycle of the output clock signal Clk2 of 25% corresponds to the code type 1000, the duty cycle of the output clock signal Clk2 of 50% corresponds to the code type 1100, and the duty cycle of the output clock signal Clk2 of 75% corresponds to the code type 1110. It should be noted that the code type corresponding to the duty cycle of the output clock signal Clk2 is not limited to the above-mentioned setting method, as shown in Table 1.
[0053] Table 1
[0054]
[0055] Once the code information is determined, the corresponding transmitted data is a fixed value. It should be noted that the code information is unique, and the code information in Table 1 does not include "1111", "0000", "1010" and "0101".
[0056] According to the mapping relationship between the data to be sent and the duty cycle of the output clock signal Clk2, it can be seen that when the data to be sent is 10011 (no data before and after), the spliced code signal is: 1110 1000 1000 1110 1110. Since there is no data before and after, a code signal after a data-free modulated clock is spliced before and after. The actual code signal is: 1100 1110 10001000 1110 1110 1100. The waveform of the corresponding code signal after the trigger 12 is input with the clock signal Clk1 is as follows: Figure 4 shown.
[0057] In another optional embodiment of the present invention, if the number of data bits is determined to be x=2, according to N>2 x+1, the code length can be determined as N=8, 9, 10..., in the embodiment of the present invention, the code length can be determined as N=8, and the transmitted data includes: 11, 10, 01, 00 and no data, that is, when the data to be sent is 11, the duty cycle of the output clock signal Clk2 can be set to 87.5% or 12.5%; when the data to be sent is 10, the duty cycle of the output clock signal Clk2 can be set to 75%; when the data to be sent is 01, the duty cycle of the output clock signal Clk2 can be set to 62.5% or 37.5%; when the data to be sent is 00, the duty cycle of the output clock signal Clk2 can be set to 25%; when there is no data transmission, the duty cycle of the output clock signal Clk2 can be set to 50%. Therefore, as shown in Table 2, the duty cycle of the output clock signal Clk2 of 87.5% corresponds to the code pattern 11111110; the duty cycle of the output clock signal Clk2 of 75% corresponds to the code pattern 00111111; the duty cycle of the output clock signal Clk2 of 62.5% corresponds to the code pattern 00011111; the duty cycle of the output clock signal Clk2 of 50% corresponds to the code pattern 00001111; the duty cycle of the output clock signal Clk2 of 37.5% corresponds to the code pattern 00000111; the duty cycle of the output clock signal Clk2 of 25% corresponds to the code pattern 00000011; the duty cycle of the output clock signal Clk2 of 12.5% corresponds to the code pattern 00000001. Specifically, the code pattern corresponding to the first column of the code pattern information in Table 2 is shown in Table 2.
[0058] Table 2
[0059]
[0060]
[0061] It should be noted that the code pattern corresponding to the duty cycle of the output clock signal Clk2 is not limited to the above setting method, and can also be other code pattern information that satisfies the duty cycle. It is worth noting that, as can be seen from Table 2, one duty cycle corresponds to only one data, and one data can correspond to multiple duty cycles.
[0062] According to the duty cycle mapping relationship between the data to be sent and the output clock signal Clk2, it can be known that when the data to be sent is 100111 (no data before and after), the spliced code signal is: 00111111 00011111 11111110. Since there is no data before and after, a code pattern after a data-free modulation clock is spliced before and after, and the actual code signal is: 0000111100111111 00011111 11111110 00001111; or; the spliced code signal is 00111111 0000011100000001. Since there is no data before and after, a code pattern after a data-free modulation clock is spliced before and after, and the actual code signal is 00001111 00111111 00000111 000000001 00001111.
[0063] A clock duty cycle adjustment circuit provided by an embodiment of the present invention uses the data to be sent to select the clock code type according to the configured corresponding relationship between the duty cycle of the data to be sent and the output clock signal, and uses the data sequence to splice the code types, and then uses the input clock signal to synchronize the spliced code types, thereby realizing the modulation of the clock by the input data, ensuring that the data can be transmitted while the clock frequency remains unchanged, and ensuring that the clock has a low jitter characteristic.
[0064] like Figure 5 As shown, an embodiment of the present invention provides a data transmission method, which specifically includes the following steps:
[0065] S501: Receive data to be sent, and obtain frequency information of an input clock signal and frequency information of an output clock signal.
[0066] S502: Determine a code pattern to be spliced corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal, the frequency information of the output clock signal, and a mapping relationship between the duty cycle of the data to be sent and the output clock signal.
[0067] Specifically, the step of determining the code type to be spliced corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal, the frequency information of the output clock signal, and the mapping relationship between the duty cycle of the data to be sent and the output clock signal includes:
[0068] Determine the code length according to the frequency information of the input clock signal and the frequency information of the output clock signal;
[0069] The code pattern to be spliced corresponding to the data to be sent is determined according to the data to be sent and the mapping relationship between the data to be sent and the duty cycle of the output clock signal.
[0070] It should be noted that the above step of determining the to-be-spliced code pattern corresponding to the to-be-sent data according to the mapping relationship between the to-be-sent data and the duty cycle of the output clock signal includes:
[0071] Determine the number of data bits of the data to be sent according to the data to be sent;
[0072] Determine the code length according to the number of data bits of the data to be sent;
[0073] The duty cycle corresponding to each of the above-mentioned data to be sent and the code pattern to be spliced corresponding to the above-mentioned data to be sent are set according to the above-mentioned code pattern length.
[0074] It should be noted that the step of determining the code length according to the number of data bits of the data to be sent includes:
[0075] The code length is calculated according to a preset formula and the number of data bits of the data to be sent.
[0076] Specifically, the above preset formula is N>2 x +1, where: N is the code length and x is the number of data bits.
[0077] S503 , splicing the code patterns to be spliced in the order of the data to be sent, to obtain code pattern signals corresponding to the data to be sent.
[0078] S504: The code signal corresponding to the data to be sent outputs the output clock signal under the action of the input clock signal.
[0079] S505 , analyzing the output clock signal according to the output clock signal and the mapping relationship between the duty cycle of the output clock signal and the data to be sent, and determining the data to be sent.
[0080] It should be noted that, in an embodiment of the present invention, the data to be sent, the frequency information of the input clock signal Clk1 and the frequency information of the output clock signal Clk2, and the duty cycle mapping relationship between the data to be sent and the output clock signal Clk2 are input into the logic control circuit 11. The logic control circuit 11 selects the code type to be spliced according to the value of the data to be sent and the frequency of the input clock signal Clk1 and the frequency of the output clock signal Clk2, and splices the code types in the order of the data.
[0081] For example, according to the data transmission requirements to be sent, the frequency of the input clock signal Clk1 is A, and the frequency of the output clock signal Clk2 is B. When the data to be sent is 1, the duty cycle of the output clock signal Clk2 is 75%; when the data to be sent is 0, the duty cycle of the output clock signal Clk2 is 25%; when there is no data transmission, the duty cycle of the output clock signal Clk2 is 50%. The logic control circuit 11 determines the code length C according to the ratio of the frequency B of the output clock signal Clk2 to the frequency A of the input clock signal Clk1, that is, C=A / B, assuming C=4, thus, the duty cycle of the output clock signal Clk2 of 25% corresponds to the code type of 1000, the duty cycle of the output clock signal Clk2 of 50% corresponds to the code type of 1100, and the duty cycle of the output clock signal Clk2 of 75% corresponds to the code type of 1110.
[0082] According to the mapping relationship between the data to be sent and the duty cycle of the output clock signal Clk2, it can be seen that when the data to be sent is 10011 (no data before and after), the spliced code signal is: 1110 1000 1000 1110 1110. Since there is no data before and after, a code signal after a data-free modulated clock is spliced before and after. The actual code signal is: 1100 1110 10001000 1110 1110 1100. The waveform of the corresponding code signal after the trigger 12 is input with the clock signal Clk1 is as follows: Figure 4 shown.
[0083] The output clock signal is analyzed according to the output clock signal and the mapping relationship between the duty cycle of the output clock signal and the data to be sent, and the data to be sent is determined, thereby realizing data transmission.
[0084] For a specific description, please refer to the description of the clock duty cycle adjustment circuit provided in the above embodiment, which will not be described in detail here.
[0085] A data transmission method provided by an embodiment of the present invention uses the data to be sent to select a clock code type according to the corresponding relationship between the configured duty cycle of the data to be sent and the output clock signal, and uses the data sequence to splice the code types, and then uses the input clock signal to synchronize the spliced code types, so as to realize the modulation of the clock by the input data, ensure that the data is transmitted while the clock frequency remains unchanged, and ensure that the clock has a low jitter characteristic.
[0086] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0087] The circuit and method proposed in the present invention are described in combination with the accompanying drawings. The description of the above embodiments is only used to help understand the core idea of the present invention. For those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
[0088] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A clock duty cycle adjustment circuit, characterized in that: include: Logic control circuits and flip-flops, wherein: The data input end of the logic control circuit receives the data to be sent, and the output end of the logic control circuit is connected to the input end of the trigger; The clock signal input end of the trigger receives the input clock signal, and the output end of the trigger serves as the output end of the clock duty cycle adjustment circuit to output the output clock signal; The logic control circuit determines the code pattern to be spliced corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal, the frequency information of the output clock signal, and the mapping relationship between the duty cycle of the data to be sent and the output clock signal, and splices the code pattern to be spliced in the order of the data to be sent to obtain the code pattern signal corresponding to the data to be sent; The trigger receives the code type signal corresponding to the data to be sent, and outputs the output clock signal under the action of the input clock signal.
2. The clock duty cycle adjustment circuit according to claim 1, characterized in that: The logic control circuit comprises: a control unit and a storage unit, wherein: The first end of the control unit serves as a data input end of the logic control circuit, the second end of the control unit serves as an output end of the logic control circuit, and the third end of the control unit is connected to the storage unit; The storage unit is used to store the frequency information of the input clock signal, the frequency information of the output clock signal, and the mapping relationship between the data to be sent and the duty cycle of the output clock signal; The control unit is used to determine the code type to be spliced corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal, the frequency information of the output clock signal, and the duty cycle mapping relationship between the data to be sent and the output clock signal, and splice the code types to be spliced in the order of the data to be sent to obtain the code type signal corresponding to the data to be sent.
3. A data transmission method, characterized in that: include: Receive data to be sent; Obtaining frequency information of an input clock signal and frequency information of an output clock signal; Determine the to-be-spliced code pattern corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal, the frequency information of the output clock signal, and a mapping relationship between the duty cycle of the data to be sent and the output clock signal; Splicing the code patterns to be spliced in the order of the data to be sent to obtain code pattern signals corresponding to the data to be sent; The code signal corresponding to the data to be sent outputs the output clock signal under the action of the input clock signal; The output clock signal is parsed according to the output clock signal and a mapping relationship between the duty cycle of the output clock signal and the data to be sent, so as to determine the data to be sent.
4. The method according to claim 3, characterized in that The step of determining the to-be-spliced code type corresponding to the data to be sent according to the data to be sent, the frequency information of the input clock signal, the frequency information of the output clock signal, and the mapping relationship between the duty cycle of the data to be sent and the output clock signal comprises: Determine a code length according to the frequency information of the input clock signal and the frequency information of the output clock signal; The to-be-spliced code pattern corresponding to the to-be-sent data is determined according to the to-be-sent data and a mapping relationship between the to-be-sent data and a duty cycle of an output clock signal.
5. The method according to claim 4, characterized in that The step of determining the to-be-spliced code pattern corresponding to the to-be-sent data according to the to-be-sent data and the duty cycle mapping relationship between the to-be-sent data and the output clock signal comprises: Determine the number of data bits of the data to be sent according to the data to be sent; Determine the code length according to the number of data bits of the data to be sent; The duty cycle corresponding to each of the data to be sent and the code pattern to be spliced corresponding to the data to be sent are set according to the code pattern length.
6. The method according to claim 5, characterized in that The step of determining the length of the code pattern according to the number of data bits of the data to be sent comprises: The code length is calculated according to a preset formula and the number of data bits of the data to be sent.
7. The method according to claim 6, characterized in that The preset formula is N>2 x +1, where: N is the code length and x is the number of data bits.
Citation Information
Patent Citations
Signal generation circuit, signal generation method, light-emitting device driving circuit and display device
CN108668399A
Clock duty ratio adjusting circuit
CN209072444U
Clock duty changing apparatus
US20080150601A1
Apparatus for a monotonic delay line, method for fast locking of a digital DLL with clock stop / start tolerance, apparatus and method for robust clock edge placement, and apparatus and method for clock offset tuning
US20150188527A1
