Shop OBEX P1 Docs P2 Docs Learn Events
My Spin Stamp doesn't like the pll16x multiplier — Parallax Forums

My Spin Stamp doesn't like the pll16x multiplier

Capt. QuirkCapt. Quirk Posts: 872
edited 2007-06-12 04:01 in Propeller 1
I am currently doing the exersise "PE I/O Timming Basics" and whenever I use "pll16x" the Propeller fails to do anything. I tried it with all the other multiples 4x - 8x and they work fine. I also tried it with xtal2 & 3 and that didn't work either.

Is this just a QUIRK of the Spin Stamp or an error within the PE I/O Timming Basics code?

Thank you

Comments

  • Paul BakerPaul Baker Posts: 6,351
    edited 2007-06-12 03:59
    Thats because it's a 10MHz crystal, you're asking it to run at 160MHz which it cannot do. It's listed as item 4 of programming in the docs for the SpinStamp.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Paul Baker
    Propeller Applications Engineer

    Parallax, Inc.

    Post Edited (Paul Baker (Parallax)) : 6/12/2007 4:06:28 AM GMT
  • Mike GreenMike Green Posts: 23,101
    edited 2007-06-12 04:01
    The Spin Stamp uses a 10MHz crystal (for space reasons) and the normal multiplier is PLL8X to yield a clock frequency of 80MHz. The Propeller is incapable of working with a system clock much beyond 100MHz and PLL16X would otherwise yield a clock frequency of 160MHz. The PE examples are based on the use of a 5MHz crystal, so use 1/2 of the PLL factor (use PLL8X instead of PLL16X, PLL4X instead of PLL8X, etc.)
Sign In or Register to comment.