Why we need to use oscillator for PIC16F877?

Status
Not open for further replies.

sidang

Newbie level 5
Joined
Aug 25, 2007
Messages
8
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
GB
Activity points
1,345
hai..i'm newbie here..can someone tell me why we need to use oscillator for microcontroller (PIC16F877)..and how it works..tq..
 

Re: Oscillator function

Microcontrollers and Microprocessors need oscillators to provide the clock signal required to make the synchronous internal digital circuits work.
When you learn about the basics of digital electronics, you see that flip flops, binary counters and registers need a clock to work. There are a lot of counters and registers inside a processor. Memories also need the reference of a clock signal.

In the PIC case, it can be an internal or external oscillator. There are several ways to make it work: relaxation oscillator (a RC network internal or external), a crystal/resonator oscillator that provide a more accurate clock.
 

    sidang

    Points: 2
    Helpful Answer Positive Rating
Re: Oscillator function

to provide clock to the microcontroller , as a reference for its timing calculations.

say microcontrollers executes 1 instruction in 4 cycles

these cycles are provided by crystal , can be external or internal.
 

    sidang

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…