PropBasic - change device frequency
camelot2
Posts: 54
hi, I am using
DEVICE P8X32A, XTAL1, PLL16X
FREQ 100_000_000
Is it possible to change the device frequency say in the middle of the program?
If so how do you do it? thanks
DEVICE P8X32A, XTAL1, PLL16X
FREQ 100_000_000
Is it possible to change the device frequency say in the middle of the program?
If so how do you do it? thanks
Comments
If you changed the "Xtal" freq on the fly. Wouldn't you have to change the Xtal as well?
(from 6.25mHz to 5mHz)????
'
I gess changing the PLLxxX would change the CLK speed with out the need to change Xtal's
'
This is an intestine question!
But the crystal frequency definition is to tell the soft/firmware what is the speed of the external crystal, which it cannot know otherwise. Peruse the Prop manual a bit more on the details of doing the switch. There have been some threads talking about handling switching, though myself I've not yet had a need to use it.