# US 2020/0348715 A1 · Clock calibration

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

- Number: US 2020/0348715 A1
- Document ID: US20200348715A1
- Status: Published application
- Kind: A1
- Application number: 16/961,209
- Filed: 2019-01-14
- Published: 2020-11-05
- Earliest claimed: 2018-01-12
- Assignees: Nordic Semiconductor ASA
- Applicants: Nordic Semiconductor ASA
- Inventors: Ville MERIÖ
- Web page: https://patentgrep.com/patent/US20200348715A1

## CPC

- G06F 1/04: Generating or distributing clock signals or signals derived directly therefrom
- G06F 1/12: Synchronisation of different clock signals {provided by a plurality of clock generators}
- G06F 1/3237: by disabling clock generation or distribution
- G06F 1/324: by lowering clock frequency
- H04W 52/029: {reducing the clock frequency of the controller}
- H04W 52/0293: {having a sub-controller with a low clock frequency switching on and off a main controller with a high clock frequency}
- Y02D 30/70: in wireless communication networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A circuit system comprises a processor, a first clock with a first frequency, a second clock with a second frequency, such second frequency being higher than said first frequency and a clock calibration module. The clock calibration module comprises a plurality of counters configured to count cycles of the second clock when triggered. Each of the plurality of counters is configured to be triggered at successive cycles of the first clock. Each of the plurality of counters is configured, after a predetermined number of cycles of the first clock, to output a count of elapsed second clock cycles and the processor is configured to determine, using the counts outputted by the plurality of counters, a ratio between the first frequency and the second frequency.

## Claims

### Claim 1

A circuit system comprising:
a processor;
a first clock with a first frequency;
a second clock with a second frequency, such second frequency being higher than said first frequency; and
a clock calibration module comprising a plurality of counters configured to count cycles of the second clock when triggered; wherein
each of the plurality of counters is configured to be triggered at successive cycles of the first clock;
each of the plurality of counters is configured, after a predetermined number of cycles of the first clock, to output a count of elapsed second clock cycles; and
the processor is configured to determine, using the counts outputted by the plurality of counters, a ratio between the first frequency and the second frequency.

### Claim 2 (depends on 1)

The circuit system as claimed in claim 1, wherein at least some counters of the plurality of counters are arranged to count in parallel.

### Claim 3 (depends on 1)

The circuit system as claimed in claim 1, wherein the first clock is configured to issue a signal to the processor once a pre-set number of cycles have elapsed.

### Claim 4

(canceled)

### Claim 5 (depends on 3)

The circuit system as claimed in claim 3, wherein the processor is configured to use the determined ratio between the first frequency and the second frequency to calibrate the pre-set number of cycles used by the first clock.

### Claim 6

(canceled)

### Claim 7 (depends on 5)

The circuit system as claimed in claim 5, wherein the processor is operable in a lower power state and a higher power state and the processor is configured to perform a calibration of the first clock every time it enters the higher power state.

### Claim 8 (depends on 5)

The circuit system as claimed in claim 5, wherein the processor is configured to decide dynamically whether or not to perform a calibration based upon a previously determined ratio.

### Claim 9 (depends on 5)

The circuit system as claimed in claim 5, wherein the processor is configured to cut short a calibration if a value of the ratio calculated using measurements from only a sub-set of the plurality of counters is definitive.

### Claim 10 (depends on 5)

The circuit system as claimed in claim 5, wherein the second clock is powered down when the calibration is complete.

### Claim 11 (depends on 5)

The circuit system as claimed in claim 5, wherein the circuit system is configured to extend a calibration if required.

### Claim 12

(canceled)

### Claim 13 (depends on 1)

The circuit system as claimed in claim 1, wherein the plurality of counters comprises a plurality of hardware counters.

### Claim 14 (depends on 1)

The circuit system as claimed in claim 1, wherein the processor is configured to determine an initial value for the ratio using the count outputted by a first counter of the plurality of counters.

### Claim 15 (depends on 1)

The circuit system as claimed in claim 1, wherein the plurality of counters comprises at least five counters.

### Claim at position 16

-18. (canceled)

### Claim 19 (depends on 1)

The circuit system as claimed in claim 1, wherein the clock calibration module further comprises a ring buffer, to which the counts outputted by the plurality of counters are saved.

### Claim 20

(canceled)

### Claim 21 (depends on 1)

The circuit system as claimed in claim 1, wherein the processor is configured to provide one or more measurement parameters to the clock calibration module and to vary dynamically the measurement parameters provided to the clock calibration module dependent upon a previously determined ratio.

### Claim 22

(canceled)

### Claim 23 (depends on 1)

The circuit system as claimed in claim 1, wherein the processor is configured to use the ratio to refine processor timing retroactively.

### Claim 24 (depends on 1)

The circuit system as claimed in claim 1, wherein the processor is configured to predict a maximum level of drift expected during a period of low power operation.

### Claim 25 (depends on 24)

The circuit system as claimed in claim 24, wherein the maximum level of expected drift is adjusted dynamically based upon a previously measured ratio.

### Claim 26

(canceled)

### Claim 27 (depends on 1)

The circuit system as claimed in claim 1, wherein the first frequency is less than 100 kHz.

### Claim 28

(canceled)

### Claim 29 (depends on 1)

The circuit system as claimed in claim 1, wherein the second frequency is greater than 1 MHz.

### Claim 30

A circuit portion comprising:
a first clock with a first frequency;
a second clock with a second frequency, wherein the first frequency is lower than the second frequency; and
a plurality of counters configured when triggered to count cycles of the second clock; wherein
each of the plurality of counters is configured to be triggered at successive cycles of the first clock; and
each of the plurality of counters is configured to output a count of elapsed second clock cycles after a predetermined number of cycles of the first clock.

### Claim 31 (depends on 30)

The circuit portion as claimed in claim 30, wherein at least some counters of the plurality of counters are arranged to count in parallel.
