I have a board with a 8 MHz crystal,
In my configuration settings I have set HS PLL enabled (freq=4xFosc1), so internal clock is 32 MHZ.
In general options should I set the clock at 32MHz, or should I set it at 8MHz (and does it calculatie 8x4=32 itself)?
If I want to use a timer2 interrupt, I assume I must calculate with 32Mhz and not 8MHz.
Is this correct?
Oscillator/Timer question
Moderator: Benj
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
Re: Oscillator/Timer question
You should set the clock in the properties to 32MHz.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis