 |
 |
|
 |
|
 |
 |
Most interesting software and hardware info is to be found here
(and maybe later posted to Object Exchange)!
|
 |
There's a good index
here.
|
|
 |
|
 |
|
 |
The Propeller is exciting because one can easily:
 |
Drive a VGA monitor (or NTSC/PAL video monitor) to display text
utilizing built-in font or graphics. |
 |
Generate complex sounds, even human speech. |
 |
Take user input from standard computer keyboard and mouse.
|
 |
Control I/O ports with 50-ns (20 MHz) precision (12.5 ns
possible using internal counters). |
 |
Utilize multiple internal CPUs to control multiple, independent
processes. |
 |
Interface via RS232, I2C, SPI |
 |
Interface with keyboard, mouse, ADCs |
|
 |
Timing Pulse Generation (This is my
initial interest regarding Propeller) |
 |
|
 |
|
 |
|
|
 |
|
 |
A "Hub" controls the cogs
 |
Hub has 32-kB RAM and 32-kB ROM

|
 |
Hub controls and all cogs have access to a system counter that
increments at the clock frequency |
 |
Cogs interface hub memory with 16-bit address bus and 32-bit data bus.
|
 |
Hub maintains "Locks", a special 8-bit register accessed by special
instructions.
 |
Programs that wish to use multiple
cogs that may interfere with each other by attempt to access the same
resources simultaneously, may wish to use these locks to ensure that
only one cog has access at any given time. |
|
|
 |
All cogs share the same 32 I/O Pins, P0-P31 and 32 direction bits
|
 |
|
|
 |
There are two boards available from Parallax, Demo and Proto:
|
 |
Parallax also offers the Hydra game development
kit (so you can make your own 80's style arcade games)
|
 |
 |
|
 |
Programming done via serial connection (normal or USB) with
Parallax's "Propeller Tool" Windows program.
 | A program can consist of high-level "Spin" language code "objects"
and low-level assembly code. |
 | Assembly code is optional, but some Spin code is required in all
apps. |
 | The Propeller Tool comes with many examples. |
 | One key point is that you must select a "top" Spin object in the
software, which defines the main procedure that runs first. |
 | Then, you can either "Run->Compile Top->Load RAM" or "->Load EEPROM".
If you load RAM the program runs, but is erased by power loss or reset.
If you load EEPROM the program is retained even after power loss and
restarts after reset or restoration of power. |
|
 | Parallax maintains an "Object
Exchange" library of copyright free user contributed code objects.
|
 | A great deal of code can be found by digging through the
user forum.
|
 | Debugging can be difficult. Many people seem to be using a
terminal window on the PC and the "FullDuplexSerial" object to send messages
to the PC. |
|
|