Syncronising Multiple Props
Brian Fairchild
Posts: 549
I have a need to sync two or more Props together or to be accurate 16 or more COGs.
Assuming they are running off a single external clock, would tying them together on a common line and getting each COG to wait on a WAITPEQ work? I could drive the line from one COG or even from a monostable delay kicked by a COG.
The end requirement is that one COG generates a clock signal for an external device but multiple COGs, including the one generating the clock, read the data which comes back. This could, by way of example, be something like an SPI memory.
Assuming they are running off a single external clock, would tying them together on a common line and getting each COG to wait on a WAITPEQ work? I could drive the line from one COG or even from a monostable delay kicked by a COG.
The end requirement is that one COG generates a clock signal for an external device but multiple COGs, including the one generating the clock, read the data which comes back. This could, by way of example, be something like an SPI memory.
Comments
Also you can add sub slaves. Each slave continues to be exactly sync's with its master.
In the propforth download, look in
Propforth-V.5.x\kernels\doc\tutorials
at
tutorial-3.3 MCS Loopack.txt
tutorial-7.2 NoROM.txt