This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

XTAL Oscillator

It is said that 8051 has an on-chip oscillator but requires external clock to run it. What may be the internal circuit for on-chip oscillator, how it runs after connecting crystal oscillator? Also what is the purpose of external capacitor with crystal oscillator?

Parents
  • Lomas Subedi - You have misunderstood.

    The books say - "The 8051 has an on-chip clock generation circuit" and not 8051 has on-chip oscillator .
    The 8051 based architecture chips have on-chip clock generation circuit.

    It simply means that there is a Mod-12 counter. The externally applied clock signal (which may be given from a function generator, crystal oscillator or RC oscillator, though crystal oscillator is preferred) will be divide by 12 and then applied to the CPU.

    NOTE: The external oscillators (are ac circuits & not digital in nature) may not generate pure square wave(digital signal), i.e. the generated signal may have noise(ac component). Hence a counter is used. The output of this counter will be a square wave signal with frequency = osc. freq/12

Reply
  • Lomas Subedi - You have misunderstood.

    The books say - "The 8051 has an on-chip clock generation circuit" and not 8051 has on-chip oscillator .
    The 8051 based architecture chips have on-chip clock generation circuit.

    It simply means that there is a Mod-12 counter. The externally applied clock signal (which may be given from a function generator, crystal oscillator or RC oscillator, though crystal oscillator is preferred) will be divide by 12 and then applied to the CPU.

    NOTE: The external oscillators (are ac circuits & not digital in nature) may not generate pure square wave(digital signal), i.e. the generated signal may have noise(ac component). Hence a counter is used. The output of this counter will be a square wave signal with frequency = osc. freq/12

Children