Datasheet
Propeller™ P8X32A Datasheet www.parallax.com
Copyright © Parallax Inc. Page 2 of 37 Rev 1.1 9/12/2008
Table of Contents
1.0 Product Overview.........................................................1
1.1. Introduction ................................................................................1
1.2. Stock Codes...............................................................................1
1.3. Key Features..............................................................................3
1.4. Programming Advantages..........................................................3
1.5. Applications................................................................................3
1.6. Programming Platform Support..................................................3
1.7. Corporate and Community Support............................................3
2.0 Connection Diagrams ..................................................4
2.1. Pin Assignments ........................................................................4
2.2. Pin Descriptions .........................................................................4
2.3. Typical Connection Diagrams ....................................................5
2.3.1. Propeller Clip or Propeller Plug Connection - Recommended...............5
2.3.2. Alternative Serial Port Connection.........................................................5
3.0 Operating Procedures .................................................6
3.1. Boot-Up Procedure ....................................................................6
3.2. Run-Time Procedure..................................................................6
3.3. Shutdown Procedure..................................................................6
4.0 System Organization ...................................................6
4.1. Shared Resources .....................................................................6
4.2. System Clock.............................................................................6
4.3. Cogs (processors)......................................................................7
4.4. Hub ............................................................................................7
4.5. I/O Pins......................................................................................8
4.6. System Counter .........................................................................8
4.7. Locks .........................................................................................8
4.8. Assembly Instruction Execution Stages .....................................9
4.9. Cog Counters...........................................................................10
4.9.1. CTRA / CTRB – Control register .........................................................10
4.9.2. FRQA / FRQB – Frequency register....................................................10
4.9.3. PHSA / PHSB – Phase register...........................................................10
4.10. Video Generator.......................................................................11
4.10.1. VCFG – Video Configuration Register.................................................11
4.10.2. VSCL – Video Scale Register..............................................................12
4.10.3. WAITVID Command/Instruction ..........................................................12
4.11. CLK Register............................................................................14
5.0 Memory Organization ................................................15
5.1. Main Memory ...........................................................................15
5.1.1. Main RAM............................................................................................15
5.1.2. Main ROM ...........................................................................................15
5.1.3. Character Definitions...........................................................................15
5.1.4. Math Function Tables..........................................................................16
5.2. Cog RAM................................................................................. 16
6.0 Programming Languages ..........................................17
6.1. Reserved Word List ................................................................. 17
6.1.1. Words Reserved for Future Use ......................................................... 17
6.2. Math and Logic Operators ....................................................... 18
6.3. Spin Language Summary Table .............................................. 19
6.3.1. Constants ........................................................................................... 21
6.4. Propeller Assembly Instruction Table....................................... 22
6.4.1. Assembly Conditions .......................................................................... 24
6.4.2. Assembly Directives ........................................................................... 24
6.4.3. Assembly Effects ................................................................................ 24
6.4.4. Assembly Operators ........................................................................... 24
7.0 Propeller Demo Board Schematic.............................25
8.0 Electrical Characteristics...........................................26
8.1. Absolute Maximum Ratings ..................................................... 26
8.2. DC Characteristics................................................................... 26
8.3. AC Characteristics................................................................... 26
9.0 Current Consumption Characteristics .....................27
9.1. Typical Current Consumption of 8 Cogs .................................. 27
9.2. Typical Current of a Cog vs. Operating Frequency .................. 28
9.3. Typical PLL Current vs. VCO Frequency ................................. 28
9.4. Typical Crystal Drive Current................................................... 29
9.5. Cog and I/O Pin Relationship................................................... 29
9.6. Current Profile at Various Startup Conditions .......................... 30
10.0 Temperature Characteristics.....................................31
10.1. Internal Oscillator Frequency as a Function of Temperature.... 31
10.2. Fastest Operating Frequency as a Function of Temperature... 32
10.3. Current Consumption as a Function of Temperature ............... 33
11.0 Package Dimensions..................................................34
11.1. P8X32A-D40 (40-pin DIP)........................................................ 34
11.2. P8X32A-Q44 (44-pin LQFP).................................................... 35
11.3. P8X32A-M44 (44-pin QFN)...................................................... 35
12.0 Manufacturing Info .....................................................37
12.1. Reflow Peak Temperature ....................................................... 37
12.2. Green/RoHS Compliance ........................................................ 37
13.0 Revision History .........................................................37
13.1.1. Changes for Version 1.1:.................................................................... 37