-5
\$\begingroup\$

I'm reading tutorials about PIC16F628A, I found that in all project they use a Crystal Oscillator, is it means that the PIC doesn't any internal clock and it cant run without an external Crystal Oscillator??

\$\endgroup\$
7
  • 5
    \$\begingroup\$ The datasheet is the first thing that you should check. This particular device in fact has two internal oscillators. Look up. \$\endgroup\$
    – Sohail
    Jun 7, 2014 at 10:59
  • 2
    \$\begingroup\$ -1 since the answer is in the datasheet right where you'd expect to find it. Duh! \$\endgroup\$ Jun 7, 2014 at 12:04
  • \$\begingroup\$ sorry my quesiton cannot be deleted, what's this -3 I will leave this site :/ \$\endgroup\$
    – makouda
    Jun 7, 2014 at 12:24
  • 2
    \$\begingroup\$ haha! "I will leave this site" with your tail between your legs I assume. It's all good man, gotta learn somehow. Just take their advice - always read the datasheet to avoid silly questions like this one \$\endgroup\$
    – KyranF
    Jun 7, 2014 at 13:37
  • 1
    \$\begingroup\$ hhhhhhh ok sorry, I will never do this again, datasheet first and google after. than I can ask valuable question :) \$\endgroup\$
    – makouda
    Jun 7, 2014 at 13:55

2 Answers 2

5
\$\begingroup\$

It's on page 3 of the data sheet

enter image description here

\$\endgroup\$
3
\$\begingroup\$

Internal and external oscillator options:
- Precision internal 4 MHz oscillator factory calibrated to ±1%
- Low-power internal 48 kHz oscillator
- External Oscillator support for crystals and resonators
source (3rd page) - http://ww1.microchip.com/downloads/en/DeviceDoc/40044F.pdf

All (or almost all) microcontrollers have internal clocks. Reasons for using external oscillators vary, but usually because they are more accurate and have higher selection of frequencies than internal RC oscillators. They are also cheap and do not take much place.

Before reading tutorials, you should become familiar at least with microcontroller capabilities by reading datasheets.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.