Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top