Comprehensive documentation and resources for the Parallax Propeller 2 (P2) multicore microcontroller
For Claude Code, Claude Desktop, and other agents that support the Model Context Protocol (the standard interface that lets AI agents call external services as native tools), install the P2 Knowledge Base MCP. The MCP gives your agent native tool calls to query the knowledge base directly β search by topic, fetch instructions by name, browse OBEX community objects β without downloading files or burning context on retrieval.
β 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.
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