Apparatuses, methods, and systems for glitch-free clock switching

US9509318B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9509318-B2
Application numberUS-201514657225-A
CountryUS
Kind codeB2
Filing dateMar 13, 2015
Priority dateMar 13, 2015
Publication dateNov 29, 2016
Grant dateNov 29, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Aspects disclosed in the detailed description include apparatuses, methods, and systems for glitch-free clock switching. In this regard, in one aspect, an electronic circuit is switched from a lower-frequency reference clock to a higher-frequency reference clock. An oscillation detection logic is configured to determine the stability of the higher-frequency reference clock prior to switching the electronic circuit to the higher-frequency reference clock. The oscillation detection logic derives a sampled clock signal from the higher-frequency reference clock, wherein the sampled clock signal has a slower frequency than the lower-frequency reference clock. The oscillation detection logic then compares the sampled clock signal against the lower-frequency reference clock to determine the stability of the higher-frequency reference clock. By deterministically detecting stability of a reference clock prior to switching to the reference clock, it is possible to avoid premature switching to an unstable reference clock, thus providing glitch-free clock switching in the electronic circuit.

First claim

Opening claim text (preview).

What is claimed is: 1. A clock switching control circuit, comprising: a power control logic configured to switch an electronic circuit from a first reference clock signal associated with a first operation mode to a second reference clock signal associated with a second operation mode; and an oscillation detection logic coupled to the power control logic, wherein the oscillation detection logic is configured to: derive a plurality of divided clock signals from the second reference clock signal, wherein each of the plurality of divided clock signals has a slower respective frequency than the second reference clock signal; programmably select a sampled clock signal among the plurality of divided clock signals based on the first reference clock signal; provide one or more edge detect indications of the sampled clock signal; generate a frequency match indication for each of the one or more edge detect indications having a respective frequency differential between the edge detect indication and the first reference clock signal less than a predetermined frequency match threshold; determine that the second reference clock signal is stable if a count of consecutive frequency match indications is greater than or equal to a predetermined clock stability threshold; and provide a clock stability indication to the power control logic if the second reference clock signal is determined stable; wherein the power control logic is configured to control the electronic circuit to switch from the first reference clock signal to the second reference clock signal in response to receiving the clock stability indication. 2. The clock switching control circuit of claim 1 , wherein the first operation mode is a low-power operation mode associated with the first reference clock signal and the second operation mode is a normal-power operation mode associated with the second reference clock signal. 3. The clock switching control circuit of claim 1 , wherein: the first reference clock signal is a lower-frequency reference clock; and the second reference clock signal is a higher-frequency reference clock having a higher frequency than the lower-frequency reference clock. 4. The clock switching control circuit of claim 1 , wherein the power control logic is provided in a physical coding sublayer (PCS) in the electronic circuit. 5. The clock switching control circuit of claim 1 , wherein the oscillation detection logic comprises: a ripple divider comprising a plurality of ripple counters disposed according to a serial arrangement, wherein the ripple divider is configured to derive the plurality of divided clock signals from the second reference clock signal; and a sampling logic coupled to the ripple divider to receive the plurality of divided clock signals, wherein the sampling logic is configured to: programmably select the sampled clock signal among the plurality of divided clock signals based on the first reference clock signal; and provide the one or more edge detect indications of the sampled clock signal to a sampling comparison logic; wherein the sampling comparison logic is configured to: for each of the one or more edge detect indications of the sampled clock signal: determine a frequency differential between the edge detect indication and the first reference clock signal; compare the frequency differential against the predetermined frequency match threshold; and generate and provide the frequency match indication to a sampling decision logic if the frequency differential is less than the predetermined frequency match threshold; wherein the sampling decision logic is configured to provide the clock stability indication to the power control logic if the count of consecutive frequency match indications is greater than or equal to the predetermined clock stability threshold. 6. The clock switching control circuit of claim 5 , wherein the sampled clock signal is at least four (4) times slower than the first reference clock signal. 7. The clock switching control circuit of claim 5 , wherein each of the plurality of ripple counters is a decrementing counter. 8. The clock switching control circuit of claim 1 , wherein the power control logic enables the oscillation detection logic by providing a clock stability detection request to the oscillation detection logic. 9. The clock switching control circuit of claim 8 , wherein the power control logic is further configured to: start an oscillation detection timeout timer when providing the clock stability detection request to the oscillation detection logic; and switch the electronic circuit from the first reference clock signal to the second reference clock signal if the clock stability indication is not received at expiration of the oscillation detection timeout timer. 10. The clock switching control circuit of claim 1 , wherein the power control logic is further configured to switch the electronic circuit from the second reference clock signal associated with the second operation mode to the first reference clock signal associated with the first operation mode. 11. A clock switching control circuit, comprising: a means for controlling a power mode configured to switch an electronic circuit from a first reference clock signal associated with a first operation mode to a second reference clock signal associated with a second operation mode; and a means for detecting a clock stability coupled to the means for controlling the power mode, wherein the means for detecting the clock stability is configured to: derive a plurality of divided clock signals from the second reference clock signal, wherein each of the plurality of divided clock signals has a slower respective frequency than the second reference clock signal; programmably select a sampled clock signal among the plurality of divided clock signals based on the first reference clock signal; provide one or more edge detect indications of the sampled clock signal; generate a frequency match indication for each of the one or more edge detect indications having a respective frequency differential between the edge detect indication and the first reference clock signal less than a predetermined frequency match threshold; determine that the second reference clock signal is stable if a count of consecutive frequency match indications is greater than or equal to a predetermined clock stability threshold; and provide a clock stability indication to the means for controlling the power mode if the second reference clock signal is determined stable; wherein the means for controlling the power mode is configured to control the electronic circuit to switch from the first reference clock signal to the second reference clock signal in response to receiving the clock stability indication. 12. A method for switching from a lower-frequency reference clock to a higher-frequency reference clock in an electronic circuit, comprising: deriving a plurality of divided clock signals from the higher-frequency reference clock, wherein each of the plurality of divided clock signals has a slower respective frequency than the higher-frequency reference clock; programmably selecting a sampled clock signal among the plurality of divided clock signals based on the lower-frequency reference clock; providing one or more edge detect indications of the sampled clock signal; generating a frequency match indication for each of the one or more edge detect indications having a respective frequency differential between the edge detect indication and the lower-frequency reference clock less than a predetermined frequency match threshold; determining that the higher-frequency reference clock is stable if a cou

Assignees

Inventors

Classifications

  • H03L7/0802Primary

    the loop being adapted for reducing power consumption (H03L7/14 takes precedence) · CPC title

  • G06F1/12Primary

    Synchronisation of different clock signals {provided by a plurality of clock generators} · CPC title

  • Energy efficient computing, e.g. low power processors, power management or thermal management · CPC title

  • G06F1/04Primary

    Generating or distributing clock signals or signals derived directly therefrom · CPC title

  • by switching to a less power-consuming processor, e.g. sub-CPU · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9509318B2 cover?
Aspects disclosed in the detailed description include apparatuses, methods, and systems for glitch-free clock switching. In this regard, in one aspect, an electronic circuit is switched from a lower-frequency reference clock to a higher-frequency reference clock. An oscillation detection logic is configured to determine the stability of the higher-frequency reference clock prior to switching th…
Who is the assignee on this patent?
Qualcomm Inc
What technology area does this patent fall under?
Primary CPC classification H03L7/0802. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Nov 29 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).