The present disclosure relate to a data receiving apparatus that receives a clock signal and multiple data signals.
Examples of high-speed interface standards for mobile devices and camera devices include a C-PHY standard and a D-PHY standard developed by Mobile Industry Processor Interface (MIPI) Alliance. For example, the D-PHY standard involves one transmission path (clock lane) for transmitting a clock signal and one or more transmission paths (data lanes) for transmitting data signals. For such interfaces, a technique is proposed in which a delay circuit is provided, and a skew between the clock signal and the data signal is eliminated by delaying one of the clock signal and the data signal with respect to the other signal (refer to PTL 1).
For the technique described above, in a case where multiple data lanes are provided, a delay circuit is provided between each of the data lanes and a clock lane, and a phase adjustment is performed between each data signal and a clock signal. Thus, a circuit scale and power consumption inevitably increase as the number of data lanes increases.
It is desirable to provide a data receiving apparatus that makes it possible to perform a phase adjustment between multiple data signals and a clock signal while reducing a circuit scale and power consumption.
A data receiving apparatus according to one embodiment of the present disclosure includes a first phase adjustment circuit and a second phase adjustment circuit. The first phase adjustment circuit performs a phase adjustment between multiple data signals received via multiple data signal lines. The second phase adjustment circuit performs a phase adjustment of a clock signal received via a clock signal line with respect to the multiple data signals after the phase adjustment between the multiple data signals is performed by the first phase adjustment circuit.
The data receiving apparatus according to one embodiment of the present disclosure performs the phase adjustment of the clock signal with respect to the multiple data signals after the phase adjustment between the multiple data signals is performed by the first phase adjustment circuit.
In the following, some embodiments of the present disclosure are described in detail with reference to the drawings. It is to be noted that the description is given in the following order.
In a technique described in, for example, PTL 1 (Japanese Unexamined Patent Application Publication No. 2018-29269) as a comparative example, a delay circuit is provided between a data lane and a clock lane and a phase adjustment is performed between a data signal and a clock signal CLK.
The technique described in PTL 1 is a phase adjustment technique for a combination of one clock signal CLK and one data signal Dx. In the technique described in PTL 1, the rising edge Pb and the falling edge Pa of the data signal Dx are detected while the amount of delay of the clock signal CLK is changed, and the result of detection is stored. Thereafter, a value indicating the result of detection is calculated to determine an optimal amount of delay of the clock signal CLK. Thus, a variable amount of delay of the clock signal CLK needs a scale of about 1.5 to 2 cycles of the cycle of the data signal Dx. Because the amount of delay actually needed to perform the phase adjustment is up to 1 cycle, 0.5 to 1 cycle is redundant.
Further, as for the technique described in PTL 1, which is a phase adjustment technique for a combination of one clock signal CLK and one data signal Dx, increasing the number of data lanes involves multiple delay circuits corresponding to the number of data lanes. In addition, as for the technique described in PTL 1, which is a technique of a phase adjustment between one clock signal CLK and one data signal Dx, if there are multiple data lanes, the phase adjustment between multiple data signals needs to be performed. This results in a larger circuit area and a larger power consumption.
The communication system illustrated in
The data receiving apparatus 2 includes a DATA-DATA phase matching unit as a first phase adjustment circuit, a CLK-DATA phase matching unit 20 as a second phase adjustment circuit, and a counter 30. Further, the data receiving apparatus 2 includes multiple data input terminals 40, 41, 42, and 43 that receive the multiple data signals D0, D1, D2, and D3, respectively, and a clock input terminal 60 that receives the clock signal CLK. Further, the data receiving apparatus 2 includes multiple data output terminals 50, 51, 52, and 53 that output multiple data signals Dd0, Dd1, Dd2, and Dd3, respectively, after the phase adjustment, and a clock output terminal 70 that outputs the delay clock signal CLKd, which is the clock signal CLK having been subjected to the phase adjustment.
The DATA-DATA phase matching unit 10 includes a delay circuit 11 as a first delay circuit, a selector 12, a register 13, and a phase comparator 14. The selector 12 and the register 13 constitute a delay amount control circuit 15 that serves as a first delay amount control circuit.
The DATA-DATA phase matching unit 10 performs a phase adjustment between the multiple data signals D0, D1, D2, and D3 received via the multiple data lanes DL0, DL1, DL2, and DL3, respectively.
The delay circuit 11 outputs multiple delay data signals D0d, D1d, D2d, and D3d by delaying the multiple data signals D0, D1, D2, and D3, respectively.
The phase comparator 14 performs a phase comparison between the multiple delay data signals D0d, D1d, D2d, and D3d outputted from the delay circuit 11.
On the basis of the result of comparison by the phase comparator 14, the delay amount control circuit 15 controls the amount of delay of each of the multiple data signals D0, D1, D2, and D3 to be delayed by the delay circuit 11.
The CLK-DATA phase matching unit 20 includes a delay circuit 21 as a second delay circuit, a selector 22, a register-computing unit 23, and an edge detector 24. The selector 22 and the register-computing unit 23 constitute a delay amount control circuit 25 that serves as a second delay amount control circuit.
After the phase adjustment between the multiple data signals D0, D1, D2, and D3 is performed by the DATA-DATA phase matching unit 10, the CLK-DATA phase matching unit 20 performs a phase adjustment of the clock signal CLK received via the clock lane CL with respect to the multiple data signals D0, D1, D2, and D3.
The CLK-DATA phase matching unit 20 performs the phase adjustment of the clock signal CLK with respect to the multiple data signals D0, D1, D2, and D3 on the basis of any one of the multiple data signals after the phase adjustment is performed by the DATA-DATA phase matching unit 10 (i.e., the multiple delay data signals D0d, D1d, D2d, and D3d).
The delay circuit 21 outputs the delay clock signal CLKd obtained by delaying the clock signal CLK.
The edge detector 24 detects, on the basis of any one of the multiple delay data signals D0d, D1d, D2d, and D3d outputted from the delay circuit 11 and the delay clock signal CLKd outputted from the delay circuit 21, the rising edge Pb and the falling edge Pa of the any one of the delay data signals.
The delay amount control circuit 25 controls the amount of delay of the clock signal CLK to be delayed by the delay circuit 21 on the basis of a rising edge detection signal and a falling edge detection signal of the any one of the delay data signals outputted from the edge detector 24.
It is to be noted that only three data signals D0, D1, and D2 among the multiple data signals D0, D1, D2, and D3, and three delay data signals D0d, D1d, and D2d corresponding to the data signals D0, D1, and D2, respectively, are illustrated as representatives in
In the following, an operation of the data receiving apparatus 2 illustrated in
The counter 30 outputs a counter value of the clock signal CLK (
The delay circuit 11 outputs the multiple delay data signals D0d, D1d, D2d, and D3d obtained by delaying the multiple data signals D0, D1, D2, and D3, respectively, to the phase comparator 14 (
The phase comparator 14 receives the multiple delay data signals D0d, D1d, D2d, and D3d outputted from the delay circuit 11. Further, the phase comparator 14 receives the inverted delay clock signal XCLKd (
When receiving any one (a Hold signal Dx_hold) of the multiple Hold signals D0_hold, D1_hold, D2_hold, and D3_hold from the phase comparator 14, the selector 12 selects whether to output the counter value received from the counter 30 or to output a phase retention value received from the register 13.
When receiving any one (the Hold signal Dx_hold) of the multiple Hold signals D0_hold, D1_hold, D2_hold, and D3_hold from the phase comparator 14, the register 13 stores the counter value received from the counter 30.
When receiving the output signal from the selector 12, the delay circuit 11 changes the amount of delay of each of the multiple data signals D0, D1, D2, and D3. The phase comparator 14 only has to detect either one of the rising timing and the falling timing of each of the multiple delay data signals D0d, D1d, D2d, and D3d. Thus, the amount of delay variable by the delay circuit 11 may be suppressed within a range from 0.5 cycles to 1 cycle.
Here, in a case where one cycle of each of the multiple data signals D0, D1, D2, and D3 is 1T (=2UI), it is desirable to adjust the amount of delay so that the phase shift of each of the multiple delay data signals D0d, D1d, D2d, and D3d is less than or equal to 0.075 T (=0.15UI). Further, for example, in order to allow a dynamical skew (0.175 (=0.35UI) cycles) to occur after deskewing, it is desirable to adjust an overlap of signal waveforms of any one of the delay data signals and another one of the delay data signals between the rising edge Pb and the falling edge Pa within 1UI is 0.175 cycles or greater.
It is to be noted that
The edge detector 24 receives any one (a Hold signal Dx_hold) of the multiple Hold signals including the Hold signals D0_hold, D1_hold, D2_hold, and D3_hold outputted from the phase comparator 14, and any one (a delay data signal Dxd_out) of the multiple delay data signals D0d, D1d, D2d, and D3d outputted from the phase comparator 14, and the delay clock signal CLKd outputted from the delay circuit 21.
The edge detector 24 operates when all of the multiple Hold signals D0_hold, D1_hold, D2_hold, and D3_hold are detected as the Hold signal Dx_hold. Further, the edge detector 24 delays the delay clock signal CLKd received from the delay circuit 21 little by little, detects the rising edge Pb and the falling edge Pa of any one delay data signal Dxd_out, and outputs edge detection signals CLK_hold corresponding to the respective edges.
When receiving the edge detection signals of the rising edge and the falling edge of the delay data signal Dxd_out as the edge detection signals CLK_hold from the edge detector 24, the selector 22 selects whether to output the counter value received from the counter 30 or to output a computed value received from the register-computing unit 23.
When receiving the rising edge detection signal and the falling edge detection signal of the any one delay data signal Dxd_out as the edge detection signals CLK_hold from the edge detector 24, the register of the register-computing unit 23 stores a counter value (Cb) at the rising timing of the any one delay data signal Dxd_out and a counter value (Ca) at the falling timing of the any one delay data signal Dxd_out as counter values received from the counter 30. The computing unit of the register-computing unit 23 calculates the expression, (Ca+Cb)/2 when receiving the counter value (Cb) at the rising timing and the counter value (Ca) at the falling timing that are stored in the register.
When receiving an output signal from the selector 22, the delay circuit 21 changes the amount of delay of the clock signal CLK. The delay clock signal CLKd having the rising edge Pc at an intermediate position between the rising edge Pb and the falling edge Pa within 1UI of the delay data signal Dxd_out is thereby generated. The amount of delay variable by the delay circuit 21 needs 1.5 to 2 cycles to enable the edge detector 24 to detect the rising edge and the falling edge of the data signal Dxd_out.
As described above, according to the data receiving apparatus 2 of the first embodiment, the phase adjustment of the clock signal with respect to the multiple data signals is performed after the phase adjustment between the multiple data signals is performed by the DATA-DATA phase matching unit 10. Accordingly, it is possible to perform the phase adjustment between the multiple data signals and the clock signal while reducing a circuit scale and electric consumption.
According to the data receiving apparatus 2 of the first embodiment, the CLK-DATA phase matching unit 20 may be a single system regardless of the presence of the multiple data lanes. Further, according to the data receiving apparatus 2 of the first embodiment, the phase adjustment of the clock signal, i.e., the phase adjustment of the clock signal with respect to any one of the multiple data signals is performed after the phase adjustment between the multiple data signals is performed. Thus, data signals are outputted from the multiple data lanes at the same timing. This eliminates the need for the phase adjustment of the data signals between the multiple data lanes after the phase adjustment of the clock signal. These features allow the data receiving apparatus 2 as a whole to reduce a circuit scale and electric consumption.
It is to be noted that the effects described herein are mere examples and should not be limitative, and other effects may be provided. The same applies to the other embodiments described below.
Next, a data receiving apparatus according to a second embodiment of the present disclosure is described. It is to be noted that components that are the same as the components in the data receiving apparatus according to the first embodiment are hereinafter denoted by the same reference numerals and the description thereof is omitted as appropriate.
The data receiving apparatus 2 according to the second embodiment includes a DATA-DATA phase matching unit 10A as a first phase adjustment circuit, and a CLK-DATA phase matching unit 20A as a second phase adjustment circuit.
The DATA-DATA phase matching unit 10A includes a phase comparator 14A in place of the phase comparator 14 of the first embodiment.
The CLK-DATA phase matching unit 20A includes an edge detector 24A in place of the edge detector 24 of the first embodiment.
In
The phase comparator 14A receives the multiple delay data signals D0d, D1d, D2d, and D3d outputted from the delay circuit 11. The phase comparator 14A performs a phase comparison by delaying each of the multiple delay data signals D0d, D1d, D2d, and D3d little by little and outputs any one (a Hold signal Dx_hold) of the delay data signals. Further, the phase comparator 14A outputs the NAND signal Dxd_nand obtained by conducting the NAND on all of the multiple delay data signals D0d, D1d, D2d, and D3d (
When receiving the output signal from the selector 12, the delay circuit 11 changes the amount of delay of each of the multiple data signals D0, D1, D2, and D3. The phase comparator 14A only has to detect either one of the rising timing and the falling timing of each of the multiple delay data signals D0d, D1d, D2d, and D3d. Thus, the amount of delay variable by the delay circuit 11 may be suppressed within a range from 0.5 cycles to 1 cycle.
As described in the first embodiment, in a case where one cycle of each of the multiple data signals D0, D1, D2, and D3 is 1T (=2UI), it is desirable to adjust the amount of delay so that the phase shift of each of the multiple delay data signals D0d, D1d, D2d, and D3d (see
The CLK-DATA phase matching unit 20A performs the phase adjustment of the clock signal CLK with respect to the multiple data signals D0, D1, D2, and D3 on the basis of a signal (i.e., the NAND signal Dxd_nand) obtained after a logical operation using each of the multiple data signals after the phase adjustment is performed by the DATA-DATA phase matching unit 10A (i.e., the multiple delay data signals D0d, D1d, D2d, and D3d).
On the basis of the signal (i.e., the NAND signal Dxd_nand) obtained after the logical operation using the multiple delay data signals D0d, D1 d, D2d, and D3d outputted from the delay circuit 11 and the delay clock signal CLKd outputted from the delay circuit 21, the edge detector 24A detects a rising edge Pnb and a falling edge Pna of the NAND signal Dxd_nand that is the signal obtained after the logical operation (see
The edge detector 24A receives any one (the Hold signal Dx_hold) of the multiple Hold signals D0_hold, D1_hold, D2_hold, and D3_hold outputted from the phase comparator 14A, the NAND signal Dxd_nand that is a signal outputted from the phase comparator 14 after the logical operation, and the delay clock signal CLKd outputted from the delay circuit 21.
The edge detector 24A detects the rising edge Pnb and the falling edge Pna of the NAND signal Dxd_nand, and outputs edge detection signals CLK_hold corresponding to the respective edges.
When receiving the rising edge detection signal and the falling edge detection signal of the NAND signal Dxd_nand as the edge detection signals CLK_hold from the edge detector 24A, the selector 22 selects whether to output the counter value received from the counter 30 or to output a computed value received from the register-computing unit 23.
When receiving the rising edge detection signal and the falling edge detection signal of the NAND signal Dxd_nand as the edge detection signals CLK_hold from the edge detector 24A, the register of the register-computing unit 23 stores a counter value (Cb) at the rising timing of the NAND signal Dxd_nand and a counter value (Ca) at the falling timing of the NAND signal Dxd_nand as counter values received from the counter 30. The register-computing unit 23 calculates the expression, (Ca+Cb)/2 when receiving the counter value (Cb) at the rising timing and the counter value (Ca) at the falling timing that are stored in the register.
The delay amount control circuit 25 controls the amount of delay of the clock signal CLK to be delayed by the delay circuit 21 on the basis of the rising edge detection signal and the falling edge detection signal of the signal obtained after the logical operation and outputted from the edge detector 24A (i.e., the NAND signal Dxd_nand).
When receiving an output signal from the selector 22, the delay circuit 21 changes the amount of delay of the clock signal CLK. The delay clock signal CLKd having the rising edge Pc at an intermediate position between the rising edge Pnb and the falling edge Pna of the NAND signal Dxd_nand is thereby generated (see SIGs. 6(G) and 6(I)). As a result of this, the delay clock signal CLKd is generated which has the rising edge Pc at an intermediate position between the rising edge Pb and the falling edge Pa within 1UI of each of the multiple delay data signals D0d, D1d, D2d, and D3d.
Also in the data receiving apparatus 2 according to the second embodiment, the CLK-DATA phase matching unit 20A may be a single system regardless of the presence of the multiple data lanes. Further, according to the data receiving apparatus 2 of the second embodiment, the phase adjustment of the clock signal, i.e., the phase adjustment between the clock signal and the signal obtained after the logical operation using each of the multiple delay data signals is performed after the phase adjustment between the multiple data signals is performed. Thus, data signals are outputted from the multiple data lanes at the same timing. This eliminates the need for the phase adjustment of the data signals between the multiple data lanes after the phase adjustment of the clock signal. These features allow the data receiving apparatus 2 as a whole to reduce a circuit scale and electric consumption.
Other configurations, operations, and effects may be substantially the same as those of the first embodiment described above.
The technology of the present disclosure is not limited to the description of each of the embodiments described above, and various modification may be made.
For example, the technology may have the following configurations. According to the following configurations of the technology described below, the phase adjustment of the clock signal with respect to the multiple data signals is performed after the phase adjustment between the multiple data signals is performed by the first phase adjustment circuit. Accordingly, it is possible to perform the phase adjustment between the multiple data signals and the clock signal while reducing a circuit scale and electric consumption.
This application claims the benefit of Japanese Priority Patent Application JP2020-190021 filed with the Japan Patent Office on Nov. 16, 2020, the entire contents of which are incorporated herein by reference.
It should be understood by those skilled in the art that various modifications, combinations, sub-combinations, and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
2020-190021 | Nov 2020 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2021/038046 | 10/14/2021 | WO |