Shop OBEX P1 Docs P2 Docs Learn Events
Clock Signal — Parallax Forums

Clock Signal

metron9metron9 Posts: 1,100
edited 2006-08-21 20:43 in General Discussion
I plan on using 6 tiny13 atmel chips and an SX chip in a project. I would like to generate the clock signal for the tiny13's from the SX chip. I want the tiny13's at 10MHZ and I am running the SX at 50MH
Can a background 10MHZ clock signal be generated by the SX via hardware or should I just use an interrupt timer to generate the signal?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think outside the BOX!

Comments

  • BeanBean Posts: 8,129
    edited 2006-08-21 20:43
    You cannot create an even (50% duty cycle) 10MHz waveform from a 50Mhz clock. You would need to make the pin high for 2.5 clocks, then low for 2.5 clocks.
    You could try making it high for 2 cycles, then low for 3 cycles (40% duty cycle). I'm not sure what the atmel chips require for a clock duty cycle.

    You can't use interrupt, because there is too much overhead in the interrupt call and return.
    You MIGHT be able to do it with the SX48 with the hardware timers. I've never tried to make an output switch that fast.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com

    "You're braver than you believe, stronger than you seem, and smarter than you think" Christopher Robin to Pooh
    ·
Sign In or Register to comment.