Parallax P2 Edge Module - Datasheet
Table Of Contents
- FEATURES
- HARDWARE
- Pin Descriptions
- Hardware Connections
- Minimal Connections
- External Crystal
- Reset Switch
- SPI Flash Boot Memory
- MicroSD Boot Memory
- Dual Boot Memory
- OPERATION
- SYSTEM ORGANIZATION
- Cogs
- Cog RAM
- Register RAM
- Lookup RAM
- Execution
- Hub
- Hub RAM
- Cog-to-Hub RAM Interface
- System Clock
- CORDIC Solver
- Smart I/O Pins
- Pin Modes
- I/O Pin Circuit
- Equivalent Schematics
- Smart Modes
- PASM2 LANGUAGE IN BRIEF
- Math and Logic
- Pin & Smart Pin
- Branch
- Hub Control, FIFO, & RAM
- Event
- Interrupt
- Register Indirection
- CORDIC Solver
- Color Space Converter and Pixel Mixer
- Lookup Table, Streamer, and Misc
- SYSTEM CHARACTERISTICS
- Absolute Maximum Electrical Ratings
- DC Characteristics
- AC Characteristics
- PACKAGING
- CHANGE LOG
- PARALLAX INCORPORATED
SYSTEM ORGANIZATION
The Propeller 2 includes the following subsystems.
● Cogs (processors) - independent 32-bit processing units
○ Register RAM - private memory for cog to execute code and swiftly manipulate data
○ Lookup RAM - semi-private memory for cog to execute code and manipulate data tables/streams
● Hub - access manager for exclusive shared resources
○ Hub RAM - shared memory for all cogs to execute code and manipulate data
○ System Clock - clock source for all internal components
○ Locks - 16 semaphore bits to coordinate exclusive access of shared resources
○ CORDIC Solver - pipelined calculator for math functions
● Smart I/O Pins - I/O pins with optional Smart circuit for autonomous functions
Cogs
The Propeller contains multiple processors, called cogs. Each cog has its own RAM and can start, stop, and
execute instructions independently of one another. All active cogs share the same System Clock, Hub RAM, and
I/O pins.
Cog RAM
Each cog's RAM is made of two blocks of 512 longs (512 x 32), called Register RAM and Lookup RAM, organized
as shown here.
Register RAM
Each cog's primary 512 x 32-bit dual-port Register RAM (Reg RAM for short) provides for code execution, fast
direct register access, and special use. It is read and written as longs (4 bytes) and contains general purpose,
dual-purpose, and special-purpose registers.
General Purpose Registers
RAM registers $000 through $1EF are general-purpose registers for code and data usage.
Copyright © Parallax Inc. 2021/05/27 ▪ Parallax Propeller 2 (P2X8C4M64P) Datasheet ▪ Page 11