# US 2022/0283603 A1 · Host interface and system-on-chip including same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283603 A1
- Document ID: US20220283603A1
- Status: Published application
- Kind: A1
- Application number: 17/580,861
- Filed: 2022-01-21
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: JIHYUN YANG; NAMTAEK HYUNG
- Web page: https://patentgrep.com/patent/US20220283603A1

## CPC

- G06F 1/08: Clock generators with changeable or programmable clock frequency
- G06F 13/36: for access to common bus or bus system
- H03H 11/16: Networks for phase shifting
- H03K 19/20: characterised by logic function, e.g. AND, OR, NOR, NOT circuits (H03K19/003 - H03K19/01 take precedence)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03H: IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS (waveguides, resonators, lines or other devices of the waveguide type H01P)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

A host interface includes; a phase shift detector, a phases shifter, and control logic controlling operation of the phase shift detector and the phase shifter. The host interface sends a command and a clock to a device, receives a response from the device, communicates data to the device synchronously with the clock, and samples data received from the device synchronously with a modulated clock. The phase shift detector provides a shift value based on the response, and the phase shifter modulates a phase of the clock based on the shift value to generate the modulated clock.

## Claims

### Claim 1

A host interface in a host communicating data with a external device, the host interface comprising:
a phase shift detector;
a phase shifter; and
control logic configured to control operation of the phase shift detector and the phase shifter,
wherein the host interface sends a command and a clock to the external device, receives a response from the external device, communicates data to the external device synchronously with the clock, and samples data received from the external device synchronously with a modulated clock,
the phase shift detector is configured to provide a shift value based on the response, and
the phase shifter is configured to modulate a phase of the clock based on the shift value to generate the modulated clock.

### Claim 2 (depends on 1)

The host interface of claim 1, wherein the phase shift detector is further configured to start a counting operation generating a counted value after a first time passes from a time at which the clock is sent to the external device, and output the counted value as the shift value at a second time at which the response is received from the external device.

### Claim 3 (depends on 1)

The host interface of claim 1, wherein the control logic is further configured to generate an internal clock, and
the phase shift detector includes:
a positive edge detector that detects the response transitioning from high to low based on a positive edge of the internal clock to generates a positive edge detection signal;
a negative edge detector that detects the response transitioning from high to low based on a negative edge of the internal clock to generate a negative edge detection signal;
a positive edge counter that provides a positive edge count value based on the positive edge of the internal clock in response to the positive edge detection signal; and
a negative edge counter that provides a negative count value based on the negative edge of the internal clock in response to the negative edge detection signal.

### Claim 4 (depends on 3)

The host interface of claim 3, wherein the positive edge detector includes:
a first positive edge synchronizer that allows a first-positive synchronizer signal to toggle at a next positive edge of the internal clock in response to toggling of the response;
a second positive edge synchronizer that allows a second-positive synchronizer signal to toggle at a next positive edge of the internal clock in response to toggling of the first-positive synchronizer signal;
a third positive edge synchronizer that allows a third-positive synchronizer signal to toggle at a next positive edge of the internal clock in response to toggling of the second-positive synchronizer signal; and
an AND gate that performs a logical AND operation on the third-positive synchronizer signal and an inverted version of the second-positive synchronizer signal to generate the positive edge detection signal.

### Claim 5 (depends on 3)

The host interface of claim 3, wherein the negative edge detector includes:
a first negative edge synchronizer that allows a first-negative synchronizer signal to toggle at a next negative edge of the internal clock in response to toggling of the response;
a second negative edge synchronizer that allows a second-negative synchronizer signal to toggle at a next negative edge of the internal clock in response to toggling of the first-negative synchronizer signal;
a third negative edge synchronizer that allows a third-negative synchronizer signal to toggle at a next negative edge of the internal clock in response to toggling of the second-negative synchronizer signal; and
an AND gate that performs a logical AND operation on the third-negative synchronizer signal and an inverted version of the second-negative synchronizer signal to generate the negative edge detection signal.

### Claim 6 (depends on 5)

The host interface of claim 5, wherein the phase shift detector further includes an adder configured to sum the positive edge count value and the negative edge count value to generate the shift value; and
the phase shifter includes a phase modulator that delays the phase of the clock to generate the modulated clock based on the shift value, the clock and the internal clock.

### Claim 7 (depends on 6)

The host interface of claim 6, further comprising:
a shift value register receiving the shift value from the adder, storing the shift value, and providing the shift value to the phase modulator.

### Claim 8

In a system including a host communicating data with a external device through a level shifter, a host interface comprises:
a phase shift detector;
a phases shifter; and
control logic configured to control operation of the phase shift detector and the phase shifter,
wherein the host interface sends a command and a clock to the external device through the level shifter, receives a response from the external device through the level shifter, and receives a feedback clock from the level shifter,
the phase shift detector is configured to select one of the response and the feedback clock as a selected value in response to an input selection signal, and provide a shift value based on the selected value,
the phase shifter is configured to modulate a phase of the clock based on the shift value to generate a modulated clock,
data is sent from the host interface to the external device through the level shifter is sent synchronously with the clock, and
data received in the host interface from the external device through the level shifter is sampled using the modulated clock.

### Claim 9 (depends on 8)

The host interface of claim 8, wherein the control logic is further configured to generate the input selection signal, and
the phase shift detector is further configured to start a counting operation in relation to a first time at which the clock is sent to the external device through the level shifter to generate a counted value as the shift value in response to the selected value.

### Claim 10 (depends on 8)

The host interface of claim 8, wherein the control logic is further configured to generate an internal clock, and
the phase shift detector includes:
a first multiplexer that selects one of the response and the feedback clock as the selected value;
a positive edge detector that detects the selected value transitioning from high to low based on a positive edge of the internal clock to generates a positive edge detection signal;
a negative edge detector that detects the selected value transitioning from high to low based on a negative edge of the internal clock to generate a negative edge detection signal;
a positive edge counter that provides a positive edge count value based on the positive edge of the internal clock in response to the positive edge detection signal; and
a negative edge counter that provides a negative count value based on the negative edge of the internal clock in response to the negative edge detection signal.

### Claim 11 (depends on 10)

The host interface of claim 10, wherein the phase shift detector further includes:
a first adder configured to sum the positive edge count value and the negative edge count value to generate a counted value;
a compensator configured to compensate for fluctuation of the counted value over a number of clock periods to generate a compensated shift value; and
a shift value register that stores the compensated shift value.

### Claim 12 (depends on 11)

The host interface of claim 11, wherein the phase shift detector further includes:
a second adder that generates an addition result based on the compensated shift value and a first code generated by the control logic for adjusting the compensated shift value; and
a second multiplexer that generates the shift value by selecting between the addition result and a second code in response to a shift value selection signal generated by the control logic.

### Claim 13 (depends on 12)

The host interface of claim 12, wherein the phase shifter includes a phase modulator that delays the phase of the clock to generate the modulated clock based on the shift value, the clock and the internal clock.

### Claim 14 (depends on 13)

The host interface of claim 13, wherein the phase modulator delays the phase of the clock by an amount corresponding to a product of a period of the internal clock and the shift value.

### Claim 15 (depends on 11)

The host interface of claim 11, wherein the control logic is further configured to generate a counter enable signal enabling the positive edge counter and the negative edge counter.

### Claim 16 (depends on 10)

The host interface of claim 10, wherein the positive edge detector includes; a first positive edge synchronizer that allows a first-positive synchronizer signal to toggle at a next positive edge of the internal clock in response to toggling of the response, a second positive edge synchronizer that allows a second-positive synchronizer signal to toggle at a next positive edge of the internal clock in response to toggling of the first-positive synchronizer signal, a third positive edge synchronizer that allows a third-positive synchronizer signal to toggle at a next positive edge of the internal clock in response to toggling of the second-positive synchronizer signal, and a positive-logic-operation AND gate that performs a logical AND operation on the third-positive synchronizer signal and an inverted version of the second-positive synchronizer signal to generate the positive edge detection signal, and
the negative edge detector includes; a first negative edge synchronizer that allows a first-negative synchronizer signal to toggle at a next negative edge of the internal clock in response to toggling of the response, a second negative edge synchronizer that allows a second-negative synchronizer signal to toggle at a next negative edge of the internal clock in response to toggling of the first-negative synchronizer signal, a third negative edge synchronizer that allows a third-negative synchronizer signal to toggle at a next negative edge of the internal clock in response to toggling of the second-negative synchronizer signal, and a negative-logic-operation AND gate that performs a logical AND operation on the third-negative synchronizer signal and an inverted version of the second-negative synchronizer signal to generate the negative edge detection signal.

### Claim 17

A system-on-chip comprising:
a processor; and
a host including a host interface with a clock modulator, wherein the host interface is configured to send a command and a clock to a external device through a level shifter and receive a response to the command from the external device through the level shifter under control of the processor, the clock modulator is configured to select one of the response and a feedback clock received from a level shifter as a selected value, and modulate a phase of the clock based on the selected value to generate a modulated clock,
data sent from the host to the external device through the level shifter is sent synchronously with the clock, and
data received in the host from the external device through the level shifter is sampled synchronously with the modulation clock.

### Claim 18 (depends on 17)

The system-on-chip of claim 17, wherein upon selection of the response as the selected value by the clock modulator, the clock modulator is further configured to start a counting operation in relation to a first time at which the clock is sent to the external device through the level shifter to generate a counted value based on the response, and
delay the phase of the clock based on the counted value.

### Claim 19 (depends on 17)

The system-on-chip of claim 17, wherein upon selection of the feedback clock as the selected value by the clock modulator, the clock modulator is further configured to start a counting operation in relation to a first time at which the clock is sent to the external device through the level shifter to generate a counted value based on the feedback clock, and
delay the phase of the clock based on the counted value.

### Claim 20 (depends on 17)

The system-on-chip of claim 17, wherein the clock modulator is further configured to start a counting operation in relation to a time at which the clock is sent to the external device through the level shifter to generate a counted value,
calculate a shift value from the counted value in response to the selected value, correct the shift value based on a correction code provided by the processor to generate a corrected shift value,
modulate the phase of the clock based on one of the corrected shift value and a modulation code provided by the processor.
