122-32000 Parallax Inc, 122-32000 Datasheet - Page 181

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
The top object file in an application (the one where compilation starts from) can specify a
setting for
application and is the mode that the System Clock will switch to as soon as the application is
booted up and execution begins. The following examples assume that they are contained
within the top object file. Any
compiler. For example:
CON
This sets the clock mode for the internal, fast RC Clock/Oscillator circuit. The System Clock
would run at approximately 12 MHz with this setting. The
setting, so if no
that the Clock PLL can not be used with the internal RC Clock/Oscillator. Here’s an example
with an external clock:
CON
This sets the clock mode for an external low-speed crystal (
circuit and sets the System Clock to use the 8x tap from the Clock PLL (
external 4 MHz crystal was attached to XI and XO, for example, its signal would be
Valid Expression
RCFAST
RCSLOW
XINPUT
XTAL1
XTAL2
XTAL3
XINPUT + PLL1X
XINPUT + PLL2X
XINPUT + PLL4X
XINPUT + PLL8X
XINPUT + PLL16X
_CLKMODE = RCFAST
_CLKMODE = XTAL1 + PLL8X
Table 4-4: Valid Clock Mode Expressions and CLK Register Values
_CLKMODE
_CLKMODE
CLK Register Value
in its
0_0_0_00_000
0_0_0_00_001
0_0_0_00_010
0_0_1_01_010
0_0_1_10_010
0_0_1_11_010
0_1_1_00_011
0_1_1_00_100
0_1_1_00_101
0_1_1_00_110
0_1_1_00_111
was actually defined, this is the setting that would be used. Note
CON
block. This defines the initial clock mode setting for the
_CLKMODE
4: Spin Language Reference –
settings in child objects are simply ignored by the
Valid Expression
XTAL1 + PLL1X
XTAL1 + PLL2X
XTAL1 + PLL4X
XTAL1 + PLL8X
XTAL1 + PLL16X
XTAL2 + PLL1X
XTAL2 + PLL2X
XTAL2 + PLL4X
XTAL2 + PLL8X
XTAL2 + PLL16X
XTAL3 + PLL1X
XTAL3 + PLL2X
XTAL3 + PLL4X
XTAL3 + PLL8X
XTAL3 + PLL16X
XTAL1
Propeller Manual v1.0 · Page 181
RCFAST
), enables the Clock PLL
CLK Register Value
0_1_1_01_011
0_1_1_01_100
0_1_1_01_101
0_1_1_01_110
0_1_1_01_111
0_1_1_10_011
0_1_1_10_100
0_1_1_10_101
0_1_1_10_110
0_1_1_10_111
0_1_1_11_011
0_1_1_11_100
0_1_1_11_101
0_1_1_11_110
0_1_1_11_111
setting is the default
PLL8X
). If an

Related parts for 122-32000