On 19.03.14 16:26, Joep Suijs wrote:
16f88 internal clock is 8 MHz, which is divided to 31.25 kHz by default.
Aha, I'm not surprised with exceptions with Microchip!
The reason I asked is the following:
I want all INTOSC blink samples to run at the same clock frequency.
Since 4 MHz is the default for many PICs this seems the obvious choice
and would not require additional specifications. However when 4 MHz is
not the default clock frequency OSCCON_IRCF needs to be specified to
obtain it. There are 2 problems with this:
1. OSCCON_IRCF can be 2, 3 or 4 bits
2. Even with same number of bits the bit pattern for 4 MHz is
not the same for all PICs
I have a solution for item 1, but not for item 2: I don't know which
PICs use which pattern for 4 MHz without reading all datasheets!
Regards, Rob.
--
R. Hamerling, Netherlands --- http://www.robh.nl
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.