7.3728mhz crystal won't run at 16x, but would a faster one run at 8x?
P!-Ro
Posts: 1,189
I purchased a 7.37mhz crystal with the hopes that I could get the propeller running close to 120mhz, but it won't run the program at a clock rate of 16x, so it instead has to be run at 8x. So, if I were to purchase a crystal faster than that at 8x speed could I pass the barrier or is there something I'm missing?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
90 * 2 = Pi
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
90 * 2 = Pi
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH
@Mike Huselton--thanks, I never liked English anyway. I'll take inexperienced as an answer though as I am only 17, but don't expect it to stay that way. BTW my avatar shows the prop I want to overclock.
EDIT: found the link for the 141mhz prop. Turns out Coley accomplished it:
http://forums.parallax.com/showthread.php?p=817374
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
90 * 2 = Pi
Post Edited (pi'd) : 5/23/2010 5:27:22 AM GMT
The propeller, while able to withstand some overclock, is a multi-core uC, that means that if you parallelize the tasks you may not need to overclock. Remembre that a one-fits-all approach is generally a bad idea.
If you do not use the PLL you can feed a clock up to 80 MHz, maybe more. Use good decoupling always but specially when you go over specifications.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
pPropellerSim - A propeller simulator for ASM development sourceforge.net/projects/ppropellersim
Also, when you talk about decoupling are you referring to the capacitors? Right now I have four .1 uf capacitors on the power pins of my protoboard and hope to change it to 10uf tantalum later, assuming it will actually help my prop run faster.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
90 * 2 = Pi
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
There are all sorts of ways to speed up things like trig calculations. The Prop has tables in ROM for sine, log, and exponential calculations in fixed point arithmetic. Fixed point arithmetic using assembly language can be very very fast. It's not hard to make programs that very effectively mix assembly and Spin for very high speeds. I suggest you spend your time writing efficient code first and fine-tuning that at 80MHz where the Prop is very reliable, then do some speed measurements to see how much faster you need the Prop to run to accomplish your tasks.
As Ale mentioned, you can also do multiple calculations in parallel. Even if you have to use floating point, you can run two separate copies of the floating point package so you can do two sets of computations at the same time, effectively doubling the speed.
I couldn't say it more succinctly than you just did. You have a true gift for clarity, my friend.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH
Leon, the 10uF Tantalum is required for bulk capacitance for supplying the surges required by the prop when it switches.
As for overclocking, the DIP part somehow seems to be better at overclocking even though the die is the same, just the package is different. Perhaps it is because the pcb has bigger tracks and ground planes and is easier to decouple. The distances to adjacent chips is further, etc, etc.
Remember with overclocking there are a lot of variables that impact the overclocking. If you just run 1 cog, then it may run much faster that running 2 cogs. Then we have counters, etc that all come into play here.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
RamBlade will not run with 15MHz xtal (120MHz) although TriBlade does run at this speed.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)·
· Prop OS: SphinxOS·, PropDos , PropCmd··· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBlade Props: www.cluso.bluemagic.biz
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
90 * 2 = Pi
Parallax specifies the Propeller as operating at 80MHz over the full military temperature range and voltage range. To run the Propeller at other (faster) speeds, you have to restrict the temperature range and supply voltage or you have to test (and select) Propeller chips to make sure they work reliably under the conditions you want to use.
100mhz is just a bit trickier using those 6.250xtals.
Cranking the V up a bit may help at higher frequencies.
I used a 317T variable regulator when I was playing with
higher speeds.
Maybe it is possible for the prop to adjust the V somehow
of the 317T by switching a resistor in/out ? Never thought
of that before. If it could you could run at a low speed until
you needed 120mhz and then kick in the higher V and drop the
V back down when you are done. This might make the prop
last longer and keep if from being so stressed out.
I wonder if the prop could somehow manage to switch between
two different xtals? say a 5.00 and a 6.250
Switching between two different xtals can be tricky (without latching up) ... essentially telling your processor to alter it's own heartbeat.
What you might be able to do ... I've done it with other processors but haven't tried it with the Propeller ... You might be able to run in an RC mode most of the time, and then when you need deterministic timing and/or speed switch into a crystal or "turbo mode" through software.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Low speed xtal then
switch to rc internal oscillator then
switch to high speed xtal
And reverse it to go back to low speed xtal.
Making the proper V changes to match the speeds along the way, perhaps.
My personal records were 117,9648 MHz (7,3728 * 16) and 120 MHz (15000 * 8) - and the prop worked very unstable in both cases, simply connecting it to TV could feeze it. The practical limit is 100 MHZ - but only when you pay attention to board layout and power pins decoupling.