Umm.. So how can I tell if my external crystal is being used?
txmarsh
Posts: 58
major newbie question alert!... how can I actually verify that my external crystal is being used instead of the prop's internal timing circuit?
Thanks!
Tim
Thanks!
Tim
Comments
Another way is to look at the software. It won't be used unless specifically called out.
- Remove the crystal from the circuit (so probably pull it from the breadboard)
- Verify that the Propeller does not work in this case
- Change the _CLKMODE constant to RCFAST
- Verify that the Propeller starts working again
- Put the crystal back in the circuit
- Change the _CLKMODE constant back to whatever it was (usually XTAL1 + PLL16X in most programs, which yields 80 MHz with a 5 MHz crystal)
- Verify that this still works
As you can see, this process is intended to verify that the crystal's presence or absence has an effect on the Propeller. If you verify that, you have verified that the crystal is indeed being used.Tim