Speed and Power Management
The Propeller can be clocked using either an internal, on-chip oscillator (providing a lower total parts count, but sacrificing some accuracy and thermal stability) or an external crystal or resonator (providing higher maximum speed with greater accuracy at an increased total cost). Only the external oscillator may be run through an on-chip PLL clock multiplier, which may be set at 1x, 2x, 4x, 8x, or 16x.
Both the on-board oscillator frequency (if used) and the PLL multiplier value may be changed at run-time. If used correctly, this can improve power efficiency; for example, the PLL multiplier can be decreased before a long "no operation" wait required for timing purposes, then increased afterwards, causing the processor to use less power. However, the utility of this technique is limited to situations where no other cog is executing timing-dependent code (or is carefully designed to cope with the change), since the effective clock rate is common to all cogs.
The effective clock rate ranges from 32 kHz up to 80 MHz (with the exact values available for dynamic control dependent on the configuration used, as described above). When running at 80 MHz, the proprietary interpreted Spin programming language executes approximately 80,000 instruction-tokens per second on each core, giving 8 times 80,000 for 640,000 high level instructions per second. Most machine-language instructions take 4 clock-cycles to execute, resulting in 20 MIPS per cog, or 160 MIPS in total for an 8-cog Propeller.
In addition to lowering the clock rate to that actually required, power consumption can be reduced by turning off cogs (which then use very little power), and by reconfiguring I/O pins which are not needed, or can be safely placed in a high-impedance state ("tristated"), as inputs. Pins can be reconfigured dynamically, but again, the change applies to all cogs, so synchronization is important for certain designs. (Some protection is available for situations where one core attempts to use a pin as an output while another attempts to use it as an input; this is explained in Parallax's technical reference manual.)
Read more about this topic: Parallax Propeller
Famous quotes containing the words speed, power and/or management:
“Spig Wead: Ive been thinking what a heel Ive been about you and about my own kids. I dont know, when I do something, I go all the way. Living. Gambling. Flying. I tap myself out. I guess thats the way I want it to be. Maybe even the way I am.
Minne Wead: Star-spangled Spig. Damn the martinis, full speed ahead and dont give up the ship.”
—Frank Fenton, William Wister Haines, co-scenarist, and John Ford. Spig Wead (John Wayne)
“...every woman who has any margin of time or money to spare should adopt some one public interest, some philanthropic undertaking, or some social agitation of reform, and give to that cause whatever time and work she may be able to afford ...”
—Frances Power Cobbe (18221904)
“The management of fertility is one of the most important functions of adulthood.”
—Germaine Greer (b. 1939)