Shop OBEX P1 Docs P2 Docs Learn Events
PLL Timer — Parallax Forums

PLL Timer

bbakerbbaker Posts: 16
edited 2008-01-24 08:59 in Propeller 1
I don't understand the PLL for each COG. Can a COG timer be PLL to an input pin?

Comments

  • mosquito56mosquito56 Posts: 387
    edited 2008-01-24 07:20
    Pll are freq multipliers. use pll:=4 to get 20mhz pll:=16 to get 80 mhz. This allows the prop to run at max speed. I don't think you can change other cogs to run at other speeds, haven't had the need for it.
    I can't think of freq changes for input. The chip will read the pulses at the speeds sent. Input is only a voltage binary high or low.
    Hope this helps

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ······· "What do you mean, it doesn't have any tubes?"

    ······· "No such thing as a dumb question" unless it's on the internet

    Technologically challenged individual, Please have pity.
  • deSilvadeSilva Posts: 2,967
    edited 2008-01-24 08:59
    @bbaker: In NCO mode - AND ONLY THERE - you can use the pin 31 to control a PLL, multiplying by 16.
    This x16 can be divided again by 2,4,8,...128.

    It is recommended by the data sheet to not use anything else but 4 to 8 MHz as control frequency (thus gving 128 MHz max), but the limits are wider...

    The main advantage is that the signak gets "smoothed" by the PLO, as the timer can give precise pulses only at binary factors. The "jitter" is mitigated by the PLL.

    I generally recommend studying the enclosed diagram. It shows ALL about the timer/counters smile.gif

    ---
    Edit: Sorry. had to change some badly remembered constants smile.gif

    Post Edited (deSilva) : 1/24/2008 9:41:27 AM GMT
    650 x 586 - 33K
Sign In or Register to comment.