# US 2024/0204983 A1 · Frame synch detection with rate adaptation

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

- Number: US 2024/0204983 A1
- Document ID: US20240204983A1
- Status: Published application
- Kind: A1
- Application number: 18/393,343
- Filed: 2023-12-21
- Published: 2024-06-20
- Earliest claimed: 2022-07-28
- Assignees: Cypress Semiconductor Corporation
- Applicants: Cypress Semiconductor Corporation
- Inventors: Claudio REY
- Web page: https://patentgrep.com/patent/US20240204983A1

## CPC

- H04J 3/062: {Synchronisation of signals having the same nominal but fluctuating bit rates, e.g. using buffers (pulse-stuffing H04J3/07; asynchronous-synchronous conversion H04L5/24; speed conversion H04L25/05; speed conversion in computers G06F5/06)}
- H04L 7/0331: {with a digital phase-locked loop [PLL] processing binary samples, e.g. add/subtract logic for correction of receiver clock (H04L7/0337 takes precedence)}
- H04L 7/0029: {interpolation of received data signal}
- H04L 7/0041: {Delay of data signal}
- H04L 7/042: {Detectors therefor, e.g. correlators, state machines (digital correlators in general G06F17/15)}
- H04J: MULTIPLEX COMMUNICATION (transmission in general H04B; peculiar to transmission of digital information H04L5/00; systems for the simultaneous or sequential transmission of more than one television signal H04N7/08; in exchanges H04Q11/00; stereophonic systems H04S)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A device includes a receiver to receive a packet over a channel at a first frequency and generate a sampled stream of data at a first sample rate corresponding to the first frequency. A data resampler circuit includes a re-timer engine to determine, using a fractional rate between the first sample rate and a crystal oscillator (XO)-divided sample rate, re-timer values including a difference between pulses of a pseudo clock corresponding to the XO-integer-divided sample rate and closest corresponding pulses of a clock corresponding to the first sample rate. The data resampler circuit includes a time shifting circuit to re-sample data values of the sampled stream of data associated with locations of the plurality of re-timer values. A correlation circuit uses the re-sampled data values, pseudo clock, and the re-timer values to match an expected data pattern to a corresponding data pattern detected in a frame delimiter of the packet.

## Claims

### Claim 1

A wireless device comprising:
a receiver to wirelessly receive a packet over a channel at a first frequency and generate a sampled stream of data from the packet at a first sample rate corresponding to the first frequency;
a data resampler circuit coupled to the receiver, the data resampler circuit comprising:
a re-timer engine to determine, using a ratio between the first sample rate and a crystal oscillator (XO)-integer-divided sample rate, a plurality of re-timer values; and
a time shifting circuit to re-sample data values of the sampled stream of data associated with locations of the plurality of re-timer values; and
a correlation circuit coupled to the data resampler circuit, the correlation circuit to use the re-sampled data values and the plurality of re-timer values to match an expected data pattern to a corresponding data pattern detected in a frame of the packet.

### Claim 2 (depends on 1)

The wireless device of claim 1, wherein the plurality of re-timer values comprise differences between pulses of a first clock corresponding to the XO-integer-divided sample rate and closest corresponding pulses of a second clock corresponding to the first sample rate.

### Claim 3 (depends on 2)

The wireless device of claim 2, wherein the time shifting circuit comprises a plurality of digital fractional delay filters that re-sample, using the first clock, the data values based on corresponding ones of the plurality of re-timer values.

### Claim 4 (depends on 2)

The wireless device of claim 2, wherein the data resampler circuit further comprises a clock generator to generate the first clock, the clock generator to:
receive a phase-locked loop (PLL) clock that is derived based on the second clock;
remove a pulse from the PLL clock in response to each removal command from the re-timer engine; and
generate the first clock comprising the PLL clock with the removed pulses, the first clock corresponding to, on average, the XO-integer-divided sample rate.

### Claim 5 (depends on 4)

The wireless device of claim 4, wherein the re-timer engine is further to:
detect a re-timer value of the plurality of re-timer values that satisfies a threshold value; and
in response to the detection, trigger a removal command to the clock generator.

### Claim 6 (depends on 4)

The wireless device of claim 4, wherein the re-timer engine comprises:
a register to store a re-timer value of the plurality of re-timer values;
a summer to add the ratio to the re-timer value to determine a fractional re-timer value;
a comparator to compare the fractional re-timer value to a predetermined negative decimal value; and
a switch to cause a one value to be added to the fractional re-timer value to generate a positive re-timer value in response to the fractional re-timer value becoming less than or equal to the predetermined negative decimal value; and
wherein the comparator is to trigger a removal command to the clock generator in response to the one value being added.

### Claim 7 (depends on 1)

The wireless device of claim 1, wherein the correlation circuit is further to:
detect a peak within the re-sampled data values that is within a threshold value of a corresponding peak of the expected data pattern;
determine a re-timer value of the plurality of re-timer values most closely corresponding in time to the detected peak;
correct a location of the peak using at least the re-timer value; and
correlate the peak at the corrected location with the corresponding peak.

### Claim 8 (depends on 7)

The wireless device of claim 7, wherein, to correct the location of the peak, the correlation circuit is to:
determine a numerical fractional value associated with a period of a clock corresponding to the XO-integer-divided sample rate;
determine a re-timer fractional value corresponding to an edge of the detected peak using the clock and based on the re-timer value; and
combine the numerical fractional value and the re-timer fractional value with the location to generate the corrected location of the peak.

### Claim 9 (depends on 1)

The wireless device of claim 1, wherein a combination of the resampler circuit and the correlation circuit is further to:
obtain, based on in-phase and quadrature values of the re-sampled data values, oversampled frequency samples;
buffer the oversampled frequency samples into a fixed number of symbols equal to those of a data pattern of the frame; and
correlate the buffered oversampled frequency samples with expected frequency symbols of the expected data pattern to detect a correlation peak.

### Claim 10

A method of operating a wireless device that comprises a receiver, a data resampler circuit coupled to the receiver, and a correlation circuit coupled to the data resampler circuit, wherein the method of operating the wireless device comprises:
receiving wirelessly, by the receiver, a packet over a channel at a first frequency;
generating, by the receiver, a sampled stream of data from the packet at a first sample rate corresponding to the first frequency;
determining, by the data resampler circuit using a ratio between the first sample rate and a crystal oscillator (XO)-integer-divided sample rate, a plurality of re-timer values;
re-sampling, by the data resampler circuit, data values of the sampled stream of data associated with locations of the plurality of re-timer values; and
matching, by the correlation circuit using the re-sampled data values and the plurality of re-timer values, an expected data pattern to a corresponding data pattern detected in a frame of the packet.

### Claim 11 (depends on 10)

The method of claim 10, wherein the plurality of re-timer values comprise differences between pulses of a first clock corresponding to the XO-integer-divided sample rate and closest corresponding pulses of a second clock corresponding to the first sample rate.

### Claim 12 (depends on 11)

The method of claim 11, wherein the method of operating the wireless device further comprises employing a plurality of fractional delay filters that re-sample, using the first clock, the data values based on corresponding ones of the plurality of re-timer values.

### Claim 13 (depends on 11)

The method of claim 11, wherein the method of operating the wireless device further comprises:
receiving, by the data resampler circuit, a phase-locked loop (PLL) clock that is derived based on the clock;
removing a pulse from the PLL clock in response to each removal command received from a re-timer engine; and
generating, by the data resampler circuit, the first clock comprising the PLL clock with the removed pulses, wherein the first clock corresponds to, on average, the XO-integer-divided sample rate.

### Claim 14 (depends on 13)

The method of claim 13, wherein the method of operating the wireless device further comprises:
detecting a re-timer value of the plurality of re-timer values that satisfies a threshold value; and
triggering, by the re-timer engine, a removal command in response to the detecting.

### Claim 15 (depends on 13)

The method of claim 13, wherein the method of operating the wireless device further comprises:
storing a re-timer value of the plural of re-timer values in a register;
adding, with a summer to determine a fractional re-timer value, the ratio to the re-timer value;
comparing, with a comparator, the fractional re-timer value to a predetermined negative decimal value;
causing, using a switch, a one value to be added to the fractional re-timer value to generate a positive re-timer value in response to the fractional re-timer value becoming less than or equal to the predetermined negative decimal value; and
triggering, by the comparator, a removal command in response to the one value being added.

### Claim 16 (depends on 10)

The method of claim 10, wherein the method of operating the wireless device further comprises:
detecting, by the correlation circuit, a peak within the re-sampled data values that is within a threshold value of a corresponding peak of the expected data pattern;
determining a re-timer value of the plurality of re-timer values most closely corresponding in time to the detected peak;
correcting a location of the peak using at least the re-timer value; and
correlating, by the correlation circuit, the peak at the corrected location with the corresponding peak.

### Claim 17 (depends on 16)

The method of claim 16, wherein correcting the location of the peak comprises:
determining a numerical fractional value associated with a period of a clock corresponding to the XO-integer-divided sample rate;
determining a re-timer fractional value corresponding to an edge of the detected peak using the clock and based on the re-timer value; and
combining the numerical fractional value and the re-timer fractional value with the location to generate the corrected location of the peak.

### Claim 18 (depends on 10)

The method of claim 10, wherein the method of operating the wireless device further comprises:
obtaining, based on in-phase and quadrature values of the re-sampled data values, oversampled frequency samples;
buffering the oversampled frequency samples into a fixed number of symbols equal to those of a data pattern of the frame; and
correlating the buffered oversampled frequency samples with expected frequency symbols of the expected data pattern to detect a correlation peak.

### Claim 19

A system comprising:
a first wireless device adapted to gain access to a secured enclosure by transmitting data comprising a frame; and
a second wireless device located within the secured enclosure, the second wireless device comprising:
a receiver to wirelessly receive a packet over a channel at a first frequency and generate a sampled stream of data from the packet at a first sample rate corresponding to the first frequency;
a data resampler circuit coupled to the receiver, the data resampler circuit comprising:
a re-timer engine to determine, using a ratio between the first sample rate and a crystal oscillator (XO)-integer-divided sample rate, a plurality of re-timer values; and
a time shifting circuit to re-sample data values of the sampled stream of data associated with locations of the plurality of re-timer values; and
a correlation circuit coupled to the data resampler circuit, the correlation circuit to use the re-sampled data values and the plurality of re-timer values to match an expected data pattern to a corresponding data pattern detected in a frame of the packet.

### Claim 20 (depends on 19)

The system of claim 19, wherein the plurality of re-timer values comprise differences between pulses of a first clock corresponding to the XO-integer-divided sample rate and closest corresponding pulses of a second clock corresponding to the first sample rate.
