Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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

 
discard

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.