Prop Timing diagram?
Rayman
Posts: 14,826
I'm looking for the exact timing for the Props Input pins with regard to the clock...
Thought this would be in the datasheet, but I don't see it.
I don't even see any mention of whether the input is sampled on the rising edge or falling edge...
Nothing about a required hold time either...
Thought this would be in the datasheet, but I don't see it.
I don't even see any mention of whether the input is sampled on the rising edge or falling edge...
Nothing about a required hold time either...
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
And, how do they relate to the rising edge of the clock?
Perhaps if you provide a little more background on your question, I can understand why the polarity is important. The IIRC statement of my previous post is that I think the latch is in phase with the pipeline.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 11/11/2008 7:35:36 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Here is the code I used to determine the answer,
The slave simply copies whatever it sees on pin 0 to pin 1 (which is connected to an LED). The master starts a counter running P0 at 5MHz·which is connected to Xin of the slave, then it toggles P1 in a 5MHz 25% duty cycle. Waitcnt is used to align the second signal to the first, the current offset value aligns the second signal so that it's high period·spans the rising edge of the first signal. When run, the slave's·LED lights up. Setting offset to 21 places the second signal's high period to span the falling edge of the first signal, with this offset the LED remains off. Therefore ina is sampled on the rising edge of the clock.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.