Comprehensive documentation and resources for the Parallax Propeller 2 (P2) multicore microcontroller
β BOOTSTRAP (Quick Setup) One-command setup for AI assistants. Single entry point for both Unix/macOS and Windows. Downloads everything automatically.
β COMPLETE GUIDE Comprehensive guide on using this knowledge base with AI systems, including example prompts and usage patterns.
β PRIVACY GUIDE FOR DEVELOPERS π Essential reading before using AI tools! Learn how to protect your intellectual property and follow best practices for AI-assisted P2 development.
β Generated Documents P2 Assembly Language Reference Manual and P2 Assembly Programming tutorial available for community technical review.
β AI Reference Documentation (Work in progress) Complete P2 instruction set, architecture details, and code patterns optimized for LLM consumption. Structured for accurate code generation with comprehensive examples and constraints.
β Developer Documentation
Intended to be Quick-start guides, programming patterns, and practical examples. Everything needed to begin P2 development, from basic concepts to advanced multicore techniques.
β Learning Paths
Intended to be Structured tutorials progressing from fundamentals to expertise. Includes migration guides for P1 developers and hands-on exercises for mastering P2 capabilities.
β Technical Reference
Intended to be QAuthoritative instruction set documentation, hardware specifications, and architectural details. The definitive source for P2 technical information.
The Propeller 2 (P2X8C4M64P) is a symmetric multicore microcontroller featuring 8 identical 32-bit processors (COGs) that execute independently while sharing resources. Unlike traditional microcontrollers, the P2 provides true parallel processing with deterministic timing, making it ideal for real-time applications.
- 8 Independent COGs: 90 MIPS each (720 MIPS total @ 180 MHz), true parallel execution
- Dual Memory Model: Each COG has 4KB private RAM; all share 512KB Hub RAM
- Execute from Anywhere: COGs can run code from COG RAM, LUT RAM, or Hub RAM
- No Resource Contention: Each COG has dedicated registers, no cache misses or pipeline stalls
- 64 Autonomous I/O Pins: Each pin independently handles complex operations
- Built-in Protocols: UART, SPI, IΒ²C, USB, quadrature decoding without CPU overhead
- Analog & Digital: 14-bit ADC, 16-bit DAC, PWM, and video generation per pin
- Offload Everything: Smart Pins run autonomously, freeing COGs for application logic
- Deterministic Timing: Count cycles exactly, no interrupt latency
- Hardware Parallelism: No RTOS needed - hardware handles multiprocessing
- CORDIC Math Engine: Hardware multiply, divide, trig, and logarithms
- Mixed Languages: Spin2 (high-level), PASM2 (assembly), C/C++, Python
The P2 Knowledge Base provides comprehensive, AI-optimized documentation for the Propeller 2. Our goal is enabling both human developers and AI systems to effectively utilize the P2's unique parallel processing capabilities through accurate, structured documentation.
We welcome contributions! See CONTRIBUTING.md for guidelines.
This project uses dual licensing:
- Code and Data (YAML, Python, scripts): MIT License
- Documentation (manuals, PDFs, guides): CC BY-SA 4.0
Copyright Β© 2025 Iron Sheep Productions, LLC and Parallax Inc.
See individual files for specific licensing. Propeller 2, P2, and Parallax are trademarks of Parallax Inc.
Built with intention for the P2 community