122-32000 Parallax Inc, 122-32000 Datasheet - Page 108

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Figure 3-10 illustrates this. The Propeller loads the Spin Interpreter into Cog 0 to execute the
application (the two leftmost arrows in the figure). Then the application requests a new cog
to activate, via the
into the next available cog, Cog 1, to execute a smaller portion of Spin code from the
application, the
its code completely independently of the other; true parallel processing. Note that towards
the end of the application both cogs are executing the same piece of Spin code, the
method, but each is using its own workspace and its own values for
Page 108 · Propeller Manual v1.0
Toggle
COGNEW
method (the two rightmost arrows in the figure). Each cog executes
command, which causes the Propeller to load the Spin Interpreter
Interpreter
Application
Main RAM
Spin Code
ROM
...
Figure 3-10: Two
Cogs Running Output
Application and
Toggle method.
Notice that the Spin
Interpreter is loaded
into each Cog’s RAM.
The Spin Application,
Output, resides in
Main RAM interpreted
by Cog 0 and it
launches Cog 1 to run
just the Toggle
method.
Pin
,
Delay
and
Count
Toggle
.

Related parts for 122-32000