Shop OBEX P1 Docs P2 Docs Learn Events
Trying to make a 4/5 cycle waveform — Parallax Forums

Trying to make a 4/5 cycle waveform

BeanBean Posts: 8,129
edited 2015-08-03 13:46 in Propeller 1
I am trying to create a waveform that is high for 4 cycles (50nSec) then low for 5 cycles (62.5nSec).I haven't been able to think of a way to do it. Anyone have any ideas ?
It could also be low for 4 cycles then high for 5. It doesn't matter for my application.
I was thinking that maybe by using both counter together (the outputs get ORed) ?
P.S. I know that just using NCO or Duty mode will do it, but they create glitches. I need it to be ALWAYS 4/5...
Bean

Comments

Sign In or Register to comment.