Shop OBEX P1 Docs P2 Docs Learn Events
sharing a crystal — Parallax Forums

sharing a crystal

hinvhinv Posts: 1,255
edited 2009-05-24 22:45 in Propeller 1
Is it possible to have 1 prop ringing a 5-6MHz crystal like normal, and another one just taking xin from the others xin?
If so, how many props could hang off an xin without loading down the signal too much?

Thanks,
Doug

Comments

  • AleAle Posts: 2,363
    edited 2009-05-24 18:08
    You will connect the XO of the crystallized prop to the xi of the crystal-less one. I do not know how many you can drive though. But you can use a 1 gate ic as buffer.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Visit the home of pPropQL, pPropQL020 and OMU for the pPropQL/020 at omnibus.uni-freiburg.de/~rp92
  • LeonLeon Posts: 7,620
    edited 2009-05-24 18:13
    I'd use an oscillator module for several chips using the same clock. Using one crystal will probably add too much capacitance.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-05-24 19:05
    You can also use a counter output to drive the other Prop's Xin, if you don't mind sparing an I/O pin.

    -Phil
  • Bill HenningBill Henning Posts: 6,445
    edited 2009-05-24 20:03
    I tried this, and only had partial success - the "slave" propeller was unable to generate a VGA signal my monitor could lock to :-( otherwise it seemed to work, at the right frequency (measured by XINPUT+PLL16x, fed by a 5MHz square wave, and timing a blinking LED with a 10s cycle.)
    Phil Pilgrim (PhiPi) said...
    You can also use a counter output to drive the other Prop's Xin, if you don't mind sparing an I/O pin.

    -Phil
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Largos - a nano operating system for the Propeller
    www.mikronauts.com - a new blog about microcontrollers
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-05-24 20:25
    Bill,

    When you tried that, did you use _CLKMODE = XINPUT + PLL16X on the slave device?

    -Phil
  • Bill HenningBill Henning Posts: 6,445
    edited 2009-05-24 22:45
    Yep. And I tried several different counter modes as well. No joy on VGA,
    Phil Pilgrim (PhiPi) said...
    Bill,

    When you tried that, did you use _CLKMODE = XINPUT + PLL16X on the slave device?

    -Phil
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Largos - a nano operating system for the Propeller
    www.mikronauts.com - a new blog about microcontrollers
Sign In or Register to comment.