Can cogs be synchronized?
K2
Posts: 693
Can assembly language routines in each cog be synchronized so as to allow each cog to read the same external port in evenly spaced intervals?
Dave
Dave
Comments
It is also possible to do this using a "pin", waiting by WAINTPEQ...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I had to get some help to do this very thing. Have a look at this thread for some code examples:
http://forums.parallax.com/forums/default.aspx?f=25&m=231571&g=231636#m231636
Scroll down to Ariba's first post. He makes it pretty clear how to do this. If you have questions about the code I posted, don't hesitate to ask.
Good luck.
p
There are several discussions on this subject... here is another example of Syncing more than one COG together on one Propeller and even Syncing more than one COG between two different Propellers together...
http://forums.parallax.com/showthread.php?p=689451
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.