p8x32a Parallax, Inc., p8x32a Datasheet - Page 11

no-image

p8x32a

Manufacturer Part Number
p8x32a
Description
8-cog Multiprocessor Microcontroller
Manufacturer
Parallax, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
p8x32a-D40
Manufacturer:
ParallaxInc
Quantity:
4 096
Part Number:
p8x32a-M44
Quantity:
4 328
Part Number:
p8x32a-M44
Manufacturer:
PARADE
Quantity:
20 000
Part Number:
p8x32a-Q44
Manufacturer:
Parallax Inc
Quantity:
1 901
Part Number:
p8x32a-Q44
Manufacturer:
MAX
Quantity:
40
Part Number:
p8x32a-Q44
Manufacturer:
Parallax Inc
Quantity:
10 000
Part Number:
p8x32a-Q44
Manufacturer:
PARALLA
Quantity:
20 000
Propeller™ P8X32A Datasheet
The 2-bit VMode (video mode) field selects the type and
orientation of video output, if any, according to Table 8.
The CMode (color mode) field selects two or four color
mode. 0 = two-color mode; pixel data is 32 bits by 1 bit
and only colors 0 or 1 are used. 1 = four-color mode;
pixel data is 16 bits by 2 bits, and colors 0 through 3 are
used.
The Chroma1 (broadcast chroma) bit enables or disables
chroma (color) on the broadcast signal. 0 = disabled, 1 =
enabled.
The Chroma0 (baseband chroma) bit enables or disables
chroma (color) on the baseband signal. 0 = disabled, 1 =
enabled.
The AuralSub (aural sub-carrier) field selects the source
of the FM aural (audio) sub-carrier frequency to be
modulated on. The source is the PLLA of one of the
cogs, identified by AuralSub’s value. This audio must
already be modulated onto the 4.5 MHz sub-carrier by the
source PLLA.
The VGroup (video output pin group) field selects which
group of 8 I/O pins to output video on.
Copyright © Parallax Inc.
VMode Video Mode
00
01
10
11
VGroup
AuralSub
100-111
000
001
010
011
Disabled, no video generated.
VGA mode; 8-bit parallel output on VPins 7:0
Composite Mode 1; broadcast on VPins 7:4, baseband
on VPins 3:0
Composite Mode 2; baseband on VPins 7:4, broadcast
on VPins 3:0
000
001
010
011
100
101
110
111
Table 8: The Video Mode Field
Table 9: The AuralSub Field
Table 10: The VGroup Field
Pin Group
Group 0: P7..P0
Group 1: P15..P8
Group 2: P23..P16
Group 3: P31..P24
<reserved for future use>
Sub-Carrier Frequency Source
Cog 0’s PLLA
Cog 1’s PLLA
Cog 2’s PLLA
Cog 3’s PLLA
Cog 4’s PLLA
Cog 5’s PLLA
Cog 6’s PLLA
Cog 7’s PLLA
Page 11 of 36
The VPins (video output pins) field is a mask applied to
the pins of VGroup that indicates which pins to output
video signals on.
4.9.2.
The Video Scale Register sets the rate at which video data
is generated, and is shown in Table 12.
The 8-bit PixelClocks field indicates the number of clocks
per pixel; the number of clocks that should elapse before
each pixel is shifted out by the video generator module.
These clocks are the PLLA clocks, not the System Clock.
A value of 0 for this field is interpreted as 256.
The 12-bit FrameClocks field indicates the number of
clocks per frame; the number of clocks that will elapse
before each frame is shifted out by the video generator
module.
System Clock.
(delivered via the WAITVID command). Since the pixel
data is either 16 bits by 2 bits, or 32 bits by 1 bit (meaning
16 pixels wide with 4 colors, or 32 pixels wide with 2
colors, respectively), the FrameClocks is typically 16 or
32 times that of the PixelClocks value. A value of 0 for
this field is interpreted as 4096.
4.9.3.
The WAITVID instruction is the delivery mechanism for
data to the cog’s Video Generator hardware. Since the
Video Generator works independently from the cog itself,
the two must synchronize each time data is needed for the
display device. The frequency at which this occurs is
dictated by the frequency of PLLA and the Video Scale
Register. The cog must have new data available before the
moment the Video Generator needs it. The cog uses
WAITVID to wait for the right time and then “hand off”
this data to the Video Generator.
Two longs of data are passed to the Video Generator by
with the syntax WAITVID Colors, Pixels.
The Colors parameter is a 32-bit value containing either
four 8-bit color values (for 4 color mode) or two 8-bit
color values in the lower 16 bits (for 2 color mode). For
00001111
11110000
11111111
XXXXXXXX
VPins
31..20
VSCL – Video Scale Register
WAITVID Command/Instruction
These clocks are the PLLA clocks, not the
Table 11: The VPins Field
Table 12: VSCL Register
Effect
Drive Video on lower 4 pins only; composite
Drive Video on upper 4 pins only; composite
Drive video on all 8 pins; VGA
Any value is valid for this field; the above
values are the most common.
A frame is one long of pixel data
PixelClocks
19..12
VSCL Bits
Rev 1.0 11/14/2007
FrameClocks
www.parallax.com
11..0

Related parts for p8x32a