Propeller architecture and instantaneously changing methods in a cog.
RichardF
Posts: 168
I am just starting to learn about the the Propeller. It is my understanding that in order to send a new method to a cog that is alreading processing a method, I must first stop the cog then send the new method.·Can someone tell me how many clock cycles are "lost" (no processing taking place) during the stop cog then ·start new method process?·Us humans can stop and start a new process with essentially no lost time, I am interested in how close the Propeller chip can come to emulating the human process of listening to a command simultaneously while carrying out a process, then shifting to a new process based on that command with no lost time. For example, if·I am·reading out loud·at 100·words per minute and you tell me to slow to 50, I can do that instantaneously. I don't think the Propeller can do that, am I wrong?
Thank you,
Richard
Thank you,
Richard
Comments
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies
Thank you for your reply. My interest is in robotics, which I have some experience in using the Basic Stamp 2. The BS2 is so slow that many of the robot actions are unrealistic. In most cases changing any programmed motions causes a noticeable stop/start delay, because with the BS2 only one process at a time can be carried out. So, if I want my robot to process new information from say an IR return, I can't send motion information to the wheels at the same time; old robot just stops until the IR info is assimulated and a new course of action is determined. I think with the Propeller I can have one cog sending signals to the drive motor controllers while another cog is getting new navigation info, and another cog is using that new nav info to determine a new course of action. When all that is determined the motor controller cog need only receive a new set of wheel drive instructions, and that will occur so fast that it will be undetectable to the eye. Am I correct in these assumptions?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://forums.parallax.com/showthread.php?p=650217
meow, i have my own topic now? (sorta)