Apparatus and method for assuring stable clock generator during
oscillator start-up
Abstract:
A clock stability circuit (10, 20, 30, 40) assures stable clock generator operation after oscillator start-up, such as during re-entry after a low-power Halt mode in a microprocessor or microcomputer. The clock stability circuit detects stable clock cycles that transition between a selected high amplitude threshold (near VDD) and a selected low amplitude threshold (near VSS), and provides a clock stable signal after a selected number of stable clock cycles, indicating that the oscillator has stabilized. The clock stability circuit includes four modules: input sampler (10), pulse generator (20), pulse counter (30) and control logic (40). The input sampler module includes CMOS NAND gates (11, 14) respectively fabricated with p/n-channel ratios to provide a CLOCK A signal that transitions at the selected high amplitude threshold of an oscillator cycle, and a CLOCK B signal that transitions at the selected low amplitude threshold. The pulse generator module (20) functions as a modified edge-triggered D flip-flop (21, 23) that triggers in response to paired transitions of CLOCK A and CLOCK B (indicating that the oscillator clock has cycled through both the high and low amplitude thresholds), generating a transition pulse. The pulse counter module (30) includes a pulse counter capacitor (C1) and a pulse detection transistor (31) that is turned on during each transition pulse to provide a charging path for the pulse counter capacitor, thereby incrementally charging the pulse counter capacitor in response to transition pulses. When the pulse counter capacitor (C1) is charged to a level corresponding to the receipt of a selected number of transition pulses, a Schmitt trigger circuit (34) is activated to provide a CLOCK STABLE signal, indicating that the oscillator clock has provided a selected number of stable clock cycles. The control logic module (40) provides ENABLE, /CHARGE and DISCHARGE signals that control operation of the clock stability circuit in a microcomputer during Halt, Start and Run modes.
Information query
Patent Agency Ranking
0/0