.newpll Method


Sets new state of the PLL.


sys.newpll(newpllstate as off_on)



See Also:





Specifies what state the PLL will be in after the device emerges from internal reset:

0 — OFF: PLL will be off, the device will emerge from reset at low speed with reduced power consumption

1 — ON: PLL will be on, the device will emerge from reset at maximum speed, x8 faster than low speed


Actual PLL mode change only takes place after you "self-reset" the device using sys.reboot method or the device self-resets due to some other reason (for instance, there is a self reset after a new BASIC application upload, or when you hit "restart" button in TIDE). External resets — power-up and RST pin reset (reset button reset) — set the PLL to default state (typically ON). On some devices there is a hardware jumper that defines the post-external reset state of the PLL.

Not all Tibbo devices have PLL — to find out if yours does, refer to its platform documentation (for example, EM1000's is here).


Notice that PLL mode affects other objects- for example, baudrates of serial ports (this is why there is a ser.div9600 property) and frequency generated by the beep object.