setting clock frequency
jered11
Posts: 7
I am wondering about setting the clock frequency under the con block in a parent object. My question is can this be used with the P8X32A-D40???
I have used this set up with the quick start and it works fine but it doesn't work just using the chip.
CON
_xinfreq = 16_000_000
_clkmode = xtal2 + pll2x
I have used this set up with the quick start and it works fine but it doesn't work just using the chip.
CON
_xinfreq = 16_000_000
_clkmode = xtal2 + pll2x
Comments
In general, if you want 80Mhz, the 5Mhz Xtal is the limit that the ppl with accept, maybe you can go to 6 or 6.25Mhz for overclocking with risk of damage. But I believe 16Mhz would be way too high for pll use.
The chip has real physical limits as the faster you clock, the more heat it generates and it is usually heat that does serious damage to silicon.
There really isn't any good reason to bother with a 16Mhz crystal.
-Phil
It can be done with several different xtals: a 2Mhz, 4Mhz, or 8Mhz would work nicely with pll multipliers.
-Phil
From post #1 you are saying this worked on a Quickstart Board?
The QuickStart comes with a SMD 5 Mhz Xtal and that CON should not have worked on the stock board. Did you modify the board?
BTW welcome to the forum!
Jim
Thanks Phil, over all the years I have just stayed with the 5Mhz xtal. I was aware there were limits, but I have always though it was just an upper limit. I even have a 32Khz clock crystal that I have been saving for a radically slow Propeller. I guess that is useless.
Once a user starts playing with other crystals, large amounts of the OBEX files require careful revision. It may be interesting to tinker with other speeds. But until one has a specific need to do so, it can just add another burdern to programs working well.
-Phil