Changing speeds in SPIN
william chan
Posts: 1,326
Hi,
What is the best way to change clock speed from PLL1X to PLL4X during run time in SPIN?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
What is the best way to change clock speed from PLL1X to PLL4X during run time in SPIN?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Comments
clkmode := xtal1 + pll4x
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If the crystal oscillator is not running, you have to start it while still running off one of the internal clocks and wait for a little while before switching to one of the PLL settings. See the description of the clock modes in the Propeller manual.