Crystal 8.00MHz istead of Crystal 5.00MHz
Luis_P
Posts: 246
I see in the Propeller Education Kit Lab they used Crystal 5.00MHz between pin 31 and 30. Can I use 8.00MHz? instead? I also have 4.00MHz. Something on the code needs to be change? I think is for clock purposes but I'm not sure.
Gracias!
Gracias!
Comments
As Microcontrolled said, you'll want to use a different PLL multiplier. An 8 PLL times your 8MHz crystal will give you a clock speed of 64MHz. That's plenty fast enough for lots of stuff.
Good luck on your Propeller education. I think (and many, if not most, on the forum will agree) the Propeller is a lot of fun.
Duane
The PLL only multiplies the crystal freq by powers of 2, so with a 8MHz crystal you can run internal clock at 8, 16, 32, 64 or 128MHz (The latter might not be reliable).
Not so.
The SpinStamp, an official Parallax product, uses a 10MHz timebase.
The max PLL for it is 8.
You want your timebase * PLL to not exceed 80 (80 MHz).
Use what You have -- But as others said - You maybe need use different divider.
BUT Propeller are constructed so GOOD -- That it is happy with most of Crystals up to 14.3 MHz --- Some IC's up to 15 MHz with PLL8
Ps. But don't forget good decoupling (capacitors)
You are not remembering correctly.
You're not remembering everything correctly either. Several official Parallax products use 10MHz crystals with the Propeller.
Yes, I haven't used a SpinStamp myself. The Hydra also uses a 10MHz crystal.
Sapieha, You might as well make that part of you signature. It's nice you keep trying to help us thick skulled hobbiests.
Duane
I don't pretend to any Rewards For that advice -- To place it in signature.
and as the link says, "This crystal has proven to be a reliable way to increase the speed of the Propeller; if properly used, the crystal can boost the speed of the Propeller microcontroller up to 100 MHz from the original 80 MHz. This will allow for even more processing power capabilities."
So, the Prop has the ability to be overclocked reliably - at least by 20 MHz.
So what is this saying? ... A 10MHz external crystal will internally wind up the PLL to 160MHz, but because the remainder of the chip can only operate at 100MHz you take the PLL8 tap which in turn supplies 80MHz to the remainder of the Chip.
Same with an 8MHz crystal ... internally, the PLL gets wound up to 128MHz which may be border line for some Propellers to operate at PLL16... however at PLL8 the remainder of the chip sees 64MHz so at that setting it works out fine.