1
\$\begingroup\$

I'm connecting a Crystal SMD of 32 MHz to the OSC1 and OSC2 pins of a pic.

enter image description here

When doing the configurations for the pic, inside System Module on clock source i have there some options, including primary oscillator, external oscillator, and others.

enter image description here

I've read in some place that it is a Primary oscillator, but the logic on my mind says that it's external, which is right?

The pic in cause is PIC32MX470F512LT

\$\endgroup\$

1 Answer 1

3
\$\begingroup\$

I've read in some place that it is a Primary oscillator, but the logic on my mind says that it's external, which is right?

An external clock or oscillator is a (usually square wave) signal which is generated by some other circuit.

Your setup is a Primary oscillator as the clock is generated locally by the combination of the PIC uC and the crystal.

So choose: Primary oscillator.

\$\endgroup\$
1
  • \$\begingroup\$ Thank you, most of sources i've read point to that. Thanks for clarification. \$\endgroup\$
    – Nmaster88
    Jun 4, 2019 at 9:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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