Does the Prop fall back to RCFAST when there's no crystal? (No.)
Phil Pilgrim (PhiPi)
Posts: 23,514
This is weird. I was setting up my Prop demo board to use an external oscillator and removed the crystal in preparation. I turned on the power, and the program that was loaded, which specifies an external crystal, came to life! I checked the crystal pins, and there was no activity there: both pins exhibited a DC level of about 1.5V. A further check of the clock frequency with a test program revealed that it was running at 15 MHz, a valid value for rcfast. So what's happening here? Does it somehow detect that there's no crystal and fall back to rcfast, even though a crystal oscillator was specified?
-Phil
Addendum: A subsequent test reveals that it does not do this if I specify xinput.
Addendum 2: It's not just a start-up phenomenon. If the Prop is running with a crystal, and I yank the crystal out, it still reverts to an rcfast frequency with no activity on the crystal pins. If I plug the crystal back it, it resumes at the crystal frequency.
-Phil
Addendum: A subsequent test reveals that it does not do this if I specify xinput.
Addendum 2: It's not just a start-up phenomenon. If the Prop is running with a crystal, and I yank the crystal out, it still reverts to an rcfast frequency with no activity on the crystal pins. If I plug the crystal back it, it resumes at the crystal frequency.
Comments
-Phil
Are the RC oscillators running all the time?
Even when using either crystal or an external clock source?
Duane