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
Cogs can access Hub RAM either via the sequential FIFO interface, or by waiting for RAM slices of interest, while
yielding to the FIFO. If the FIFO is not busy (which is soon the case if data is not being read from or written to it)
random accesses will have full opportunity to access the composite Hub RAM.
There are three ways the hub FIFO interface can be used, and it can only be used for one of these at a time:
● Hub execution (when the PC is $00400..$FFFFF)
● Streamer usage (background transfers from Hub RAM → pins/DACs, or from pins/ADCs → Hub RAM)
● Software usage (fast sequential-reading or sequential-writing instructions)
For streamer or software usage, FIFO operation must be established by a RDFAST or WRFAST instruction
executed from Cog RAM (Register/Lookup, $00000..$003FF). After that, and while remaining in Cog RAM, the
streamer can be enabled to begin moving data in the background, or the two-clock RFxxxx/WFxxxx instructions
can be used to manually read and write sequential data.
The FIFO contains (#cogs+11) stages. When in read mode, the FIFO loads continuously whenever less than
(#cogs+7) stages are filled, after which point, up to 5 more longs may stream in, potentially filling all stages.
These metrics ensure that the FIFO never underflows, under all potential reading scenarios.
Copyright © Parallax Inc. 2021/05/27 ▪ Parallax Propeller 2 (P2X8C4M64P) Datasheet ▪ Page 15