Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I have a PIC18 microcontroller with an 8MHz crystal and 4xPLL, is Fosc 8MHz or 32MHz?

share|improve this question
up vote 6 down vote accepted

Fosc is the clock eventually with PLL, so with an 8MHz crystal and 4xPLL you would have an Fosc of 32MHz. However, note that this is divided by 4 internally, so that you will be able to handle 8 million instructions per second (MIPS).

I found this in the 18F2520/2620/4525/4620 datasheet, table 17-3 on page 187. You can see that Fcy, the cycle frequency, equals Fosc/4. Fosc therefore has to be with PLL.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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