Time between outa and subsequent outa ?
RogerInHawaii
Posts: 87
If I do two outa operations, as in
outa[noparse][[/noparse]pin1]~~
outa[noparse][[/noparse]pin2]~~
how much time is there between the two operations? That is, how long between the setting of pin 1 and the setting of pin2?
Post Edited (RogerInHawaii) : 5/8/2009 8:36:49 PM GMT
outa[noparse][[/noparse]pin1]~~
outa[noparse][[/noparse]pin2]~~
how much time is there between the two operations? That is, how long between the setting of pin 1 and the setting of pin2?
Post Edited (RogerInHawaii) : 5/8/2009 8:36:49 PM GMT
Comments
Actually, you could used jazzed's tool or viewport to see it....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Update: Also look at the new announcement PST Lite - not sure if this will do the count or not.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: Micros eg Altair, and Terminals eg VT100 (Index)
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
Post Edited (Cluso99) : 5/8/2009 9:31:44 PM GMT
do the two statements, and look at the counter register. All in Spin, of course.
8 µs. Thank you. That's what I was looking for.
The device that I'm trying to control needs the second pin to go high within 1.8µs, so if it takes 8µs in SPIN I clearly can't handle it in SPIN.
Is it even conceivable to do it within that time constraint by doing it in assembly?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
Propalyzer: Propeller PC Logic Analyzer
http://forums.parallax.com/showthread.php?p=788230
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
With this scheme, you can get a granularity of about 6ns.
Here's the output it produces:
-Phil
Excellent advice!
Yes, my situation is that I've got this device that has two input pins. One pin needs a rising edge, followed by a rising edge on the second pin, with the second pin's rising edge occurring not more than 4ms after the first rising edge.
I'll give that ctra, ctrb approach a try
Thank you!
m trying to get working.