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.

[SOLVED] Operating Frequency of PIC 16F877A

Status
Not open for further replies.

jjeevan007

Full Member level 5
Joined
Apr 13, 2012
Messages
310
Helped
44
Reputation
88
Reaction score
43
Trophy points
1,308
Location
bangalore
Activity points
2,782
Hi to all,

i am new to PIC can anyone tell me what should be frequency of the crystal oscillator to be used the PIC 16F877A.

regards.
 

Hi to all,

i am new to PIC can anyone tell me what should be frequency of the crystal oscillator to be used the PIC 16F877A.

regards.


Hi

4Mhz is a good standard to start with, but that chip is not limited to 4mhz.


As per the 16F877A datasheet it can use any frequency from DC to 20mhz.

You could use a 32khz watch crystal right up to a 20mhz crystal or even simpler, a resistor and capacitor, if timing is not critical.
See the Oscillator section of the datasheet for all options.
 
OK, what if i use 20Mhz ,12Mhz or 4Mhz

and which is better.............
 

20MHZ is used high speed appllication. Ex microseconds

- - - Updated - - -

8Mhz is mostly used common functions.
 
This is no 'better' frequency.

Higher frequencies mean the program inside the PIC runs faster but at the expense of higher current consumption and to some extent the supply voltage is limited. It's entirely up to you which frequency you use, you can even conect a toggle switch to the OSC input and clock it by hand!

Brian.
 
Hi to all,

i am new to PIC can anyone tell me what should be frequency of the crystal oscillator to be used the PIC 16F877A.

regards.

This uC can work on various speed up to 20MHz. Examples: 4MHz, 8MHz, 10MHz, 12MHz, 16MHz, 20MHz.
What speed? This depends from Your needs and design of circuit/project. If speed is higher this will cause more power consuption.

You can see PIC16F877 datasheet:
https://ww1.microchip.com/downloads/en/DeviceDoc/30292c.pdf
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top