- Why Register?
- Download development tools
- Create and track support tickets
- Subscribe to resource updates
- Access latest developer news
XS1-L Clock Frequency Control
XS1-L Clock Frequency Control
Version 1.0
Publication Date: 2010/02/22
Copyright © 2010 XMOS Ltd. All Rights Reserved.
XS1-L Clock Frequency Control (1.0)
2/10
1
PLL and Clock Divider Overview
A low frequency external clock is used to drive the internal phase locked loop (PLL)
of XS1-L devices and obtain the system clock. A number of system clock dividers are
then used on the system clock to derive the clocks for the XCores, the switch and
the reference clock (Figure 1).
Divider
CLK
Multiplier
Divider
Switch
Switch
Stage 1
Stage
Stage 2
Divider
Clk
÷(R+1)
*((F+1)÷2)
÷(OD+1)
Reference
Ref
Divider
Clk
Comparator
VCO
System
Freq
Freq
Freq
XCore
Divider
XCore
System Clock Dividers
Clk
Standby
Mode
Figure 1: PLL and Clock Dividers
The PLL's initial settings are determined by the state of mode pins on the XS1-L
device. The standard configuration allows a 20MHz external clock to be used to
operate the XCores and the switch at 400MHz, and the reference clock at 100MHz.
In many applications this configuration will be selected, requiring no reprogramming
of the PLL or dividers. If the application requires a different input frequency or
system frequency then the PLL must be reprogrammed. This results in the XS1-L
device being reset to use the new PLL configuration. The XMOS Tools can be used to
reprogram the PLL automatically by specifying the application's configuration in the
XN file.
When the system clock dividers are reprogrammed to change the frequency to the
XCores, the switch or the reference clock, no reset will occur.
The XCore system clock divider can be bypassed so that the system clock is used as
the XCore clock. This allows the XCore to be switched between ACTIVE and STANDBY
modes. See the XS1-L System Specification (Power Control section) for further details.
www.xmos.com
XS1-L Clock Frequency Control (1.0)
3/10
2
Constraints
There are a number of constraints on the frequencies of clocks at different points on
the XS1-L devices. These constraints must be met for the initial boot sequence, and
if the PLL is reprogrammed, for the reprogrammed values too.
Clock
Constraint
CLK
4.22Â100.0 MHz
Comparator frequency 1.59 kHzÂ1300 MHz
VCO frequency
260Â1300 MHz
System clock
Maximum operating frequency--see XS1_L device datasheet
XCore clock
System clock maximum
Switch clock
System clock maximum
Reference clock
System clock maximum
Table 1: Clock Frequency Constraints
3
PLL Settings
There are three dividers within the PLL. R divides the input clock down. The next
divider divides the output of the voltage controlled oscillator (VCO) stage down to
the same frequency as the output of the R divider. Therefore this divider sets the
multiplication factor (F) of the PLL. The OD divider divides the output clock of the
VCO.
There is a constraint on the frequency of the clock at the comparator--the output of
R. There is another constraint placed on the output of the VCO.
4
Configuring the XS1-L Device
The mode pins are used to determine the initial PLL settings used after reset. This
configuration must be such that all of the constraints are met for the input clock
driven onto CLK.
www.xmos.com
XS1-L Clock Frequency Control (1.0)
4/10
Mode[1:0] CLK Range (MHz) XCore Clock (MHz) R
F
OD System Clock= CLK*
00
4.22Â13.0
130.0Â399.75
0 122
1
30.75
01
21.66Â100.0
86.66Â400.0
0 23
2
4
10
10.4Â48.0
86.66Â400.0
0 49
2
8.333
11
4.33Â20.0
86.66Â400.0
0 119
2
20
Table 2: Mode Pins and Boot Configuration
If a different PLL configuration is required from that used to boot the application, the
new settings should be written to the PLL_CTRL register. This will cause the XS1-L
device to reset using the new PLL settings, and the same boot code will execute
again. It is important, therefore, that the boot code should read the value of the
PLL_CTRL register and compare it to the reconfigured value. If there is a difference,
then this is the first time the boot code has executed and the new PLL settings should
be written to PLL_CTRL, causing a reset. The second time the boot code executes,
the value read back from the PLL_CTRL register will be the reconfigured value and
the boot process can continue.
The easiest way to reprogram the PLL is to specify the application's frequency
requirements in the XN file and use the XMOS Tools to reprogram the PLL--see
Section 8.
The application may require the reprogramming of the system clock dividers. These
can be programmed without causing a reset.
5
Frequency Control Registers
To access the frequency control registers on the SSwitch and PSwitch, packets of
data must be constructed and communicated to the switches through a channel end.
Global PLL settings are controlled through registers in the System Switch Control
(SSCTRL). From C or XC, use the write_sswitch_reg() and read_sswitch_reg() functions
defined in xs1.h.
www.xmos.com
XS1-L Clock Frequency Control (1.0)
5/10
Field
Register
Bitfield
Reset
Description
R
SSCTRL
[6:0]
See Table 2 PLL input divider stage = R+1
PLL_CTRL
(0x6)
F
SSCTRL
[20:8] See Table 2 Multiplier stage of the PLL = (F+1)/2
PLL_CTRL
(0x6)
OD
SSCTRL
[25:23] See Table 2 PLL output divider stage = OD+1
PLL_CTRL
(0x6)
SSDIV
SSCTRL
[15:0]
0
System switch clock divider = SSDIV+1
SSWITCH_
Reset value produces 400MHz for a 400MHz
CLK_DIVIDER
system clock
(0x7)
REFDIV
SSCTRL
[15:0]
3
Reference clock divider = REFDIV+1
SW_REF_
Reset value produces 100MHz for a 400MHz
CLK_DIVIDER
system clock.
(0x8)
Table 3: SSCTRL Registers
IMPORTANT: Writing to the PLL_CTRL register (0x6) will cause an internal chip reset.
Settings on an individual XCore basis are controlled through registers in the Pro-
cessor Switch Control (PSCTRL). From C or XC, use the write_pswitch_reg() and
read_pswitch_reg() functions defined in xs1.h.
Field
Register
Bitfield Reset Description
XCDIV
PSCTRL
[15:0]
0
XCore clock divider = XCDIV+1
PROC_CONTROL
Reset value produces 400MHz for an
(0x6)
400MHz system clock
Table 4: PSCTRL Registers
www.xmos.com
XS1-L Clock Frequency Control (1.0)
6/10
6
Example PLL Configurations
6.1
Standard Configuration: 20MHz Oscillator
Use MODE[1:0] = 11. The PLL will configure to the standard 400MHz, with the XCore
and SSwitch running at 400MHz, with a 100MHz reference clock.
6.2
25MHz Oscillator
Use MODE[1:0] = 01. For the initial boot, the system clock will be 100.0MHz, with
the XCore also running at 100.0MHz. The following are required: R = 0, F = 95, OD
= 2. Write 0x01005F00 to SSCTRL, PLL_CTRL (0x6) register to bring the PLL output
up to 400MHz, with code similar to the following:
#define PLL_CTRL_REGNUM 6
#define PLL_CTRL_25MHz 0x01005F00
{
unsigned pllCtrlReadData;
read_sswitch_reg(get_core_id(), PLL_CTRL_REGNUM, pllCtrlReadData);
if (pllCtrlReadData != PLL_CTRL_25MHz)
{
write_sswitch_reg(get_core_id(), PLL_CTRL_REGNUM, PLL_CTRL_25MHz);
}
}
6.3
15MHz Oscillator
Use MODE[1:0] = 10. For the initial boot, the system clock will be 125MHz, with the
XCore also running at 125MHz. The following are required: R = 0, F = 159, OD = 2.
Write 0x01009F00 to SSCTRL, PLL_CTRL (0x6) register to bring the PLL output up
to 400MHz, with code similar to the following:
#define PLL_CTRL_REGNUM 6
#define PLL_CTRL_15MHz 0x01009F00
{
unsigned pllCtrlReadData;
read_sswitch_reg(get_core_id(), PLL_CTRL_REGNUM, pllCtrlReadData);
if (pllCtrlReadData != PLL_CTRL_15MHz)
{
write_sswitch_reg(get_core_id(), PLL_CTRL_REGNUM, PLL_CTRL_15MHz);
}
}
www.xmos.com
XS1-L Clock Frequency Control (1.0)
7/10
7
Example System Clock Divider Configurations
7.1
133MHz Reference Clock
To adjust the Reference Clock to 133MHz with a 400MHz System Clock, set REFDIV
to 2 using the following code:
#define REFDIV_REGNUM 8
write_sswitch_reg(get_core_id(), REFDIV_REGNUM, 0x02);
This will adjust all timers and clock-blocks to run at 133.3MHz, and allow ports to be
configured at 66MHz, 33MHz and so on.
7.2
Slow Switch Clock
For applications where only a single XS1-L device is used, the SSwitch is only used
for configuration purposes. Once the system is configured, the SSwitch clock can be
substantially reduced to save on dynamic power. 1MHz is a good option for a low
power SSwitch clock because the SSwitch power is dominated by the static power at
this frequency.
To reduce the SSwitch clock to 1MHz with a system clock of 400MHz, set SSDIV to
399 using the following code:
#define SSDIV_REGNUM 8
write_sswitch_reg(get_core_id(), SSDIV_REGNUM, 399);
7.3
XCore Clock 200MHz
If your application does not need to run the XCore at full speed to work, dynamic
power can be saved by running the XCore at a slower rate and entering STANDBY
mode.
To run an XCore at 200MHz from a system frequency of 400MHz, set XCDIV to 1
and enter STANDBY mode by writing 0x10 to XCORE_CTRL0.
#define XCDIV_REGNUM 6
write_pswitch_reg(get_core_id(), XCDIV_REGNUM, 1);
#define
PS_XCORE_CTRL0_REGNUM 2
setps(PS_XCORE_CTRL0_REGNUM,0x10);
www.xmos.com
XS1-L Clock Frequency Control (1.0)
8/10
8
Configuring the Clock System Through the XN File
The PLL and the reference clock frequency can be programmed automatically for an
application by using the XMOS Tools. The application's input oscillator frequency,
system frequency and reference frequency can be specified in the XN file. When the
application code is written to a flash device with XFLASH, the code to reprogram the
PLL to the desired system and reference frequencies will be added. When run with
XRUN or XGDB the PLL is reprogrammed via JTAG.
Attribute
Description
Default Value
Oscillator
Input frequency on the CLK pin. If this Uses boot configura-
attribute is specified, the system fre- tion
quency and the reference frequency are
programmed using their specified (or de-
fault) values. If this attribute is not spec-
ified, the boot configuration for the sys-
tem and reference frequencies are used
for the application.
SystemFrequency
The desired system frequency. The Os- 400MHz
cillator attribute must be specified if this
attribute is specified.
ReferenceFrequency
The desired reference frequency. The Os- 100MHz
cillator attribute must be specified if this
attribute is specified.
Table 5: XN File Frequency Control Attributes
The frequency control attributes should be added to the Node node within the XN
file. Frequencies should be specified with their unit of MHz, kHz or Hz, (for example
500MHz, 24576kHz or 6745800Hz). If the frequency control attributes are not
specified in the XN file, then the XMOS Tools will not modify the frequency control
registers.
If the target frequency specified in the XN file for either the system or reference
frequency cannot be met exactly for the application's input frequency, a frequency
close to the target frequency will be selected by the tools and a warning will be
issued. XFLASH always issues the warning when it occurs, as does XGDB. XRUN
only issues the warning if it has been run with the --verbose switch. XGDB issues
the warning when the connect command is issued. Within the XMOS Development
Environment, the XFLASH warning is issued to the Console view, but the XGDB or
XRUN warning is not available to the user.
www.xmos.com
XS1-L Clock Frequency Control (1.0)
9/10
8.1
Example XN file using Frequency Control Attributes
<?xml version="1.0" encoding="UTF-8"?>
<Network xmlns="http://www.xmos.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.xmos.com http://www.xmos.com">
<Type>Board</Type>
<Declarations>
<Declaration>core stdcore[1]</Declaration>
</Declarations>
<Nodes>
<Node Id="0" Type="XS1-L1A-TQ128" Oscillator="20MHz"
SystemFrequency="500MHz" ReferenceFrequency="250MHz">
<Core Number="0" Reference="stdcore[0]">
<Port Location="XS1_PORT_1I" Name="PORT_UART_RX"/>
<Port Location="XS1_PORT_1J" Name="PORT_UART_TX"/>
</Core>
</Node>
</Nodes>
<JTAGChain>
<JTAGDevice NodeId="0"/>
</JTAGChain>
</Network>
9
Document History
Date
Release
Comment
2010-02-22
1.0
First release
www.xmos.com
XS1-L Clock Frequency Control (1.0)
10/10
Disclaimer
XMOS Ltd. is the owner or licensee of this design, code, or Information (collectively,
the "Information") and is providing it to you "AS IS" with no warranty of any kind,
express or implied and shall have no liability in relation to its use. XMOS Ltd. makes
no representation that the Information, or any particular implementation thereof, is
or will be free from any claims of infringement and again, shall have no liability in
relation to any such claims.
Copyright ©2009-10 XMOS Ltd. All Rights Reserved. XMOS and the XMOS logo
are registered trademarks of XMOS Ltd in the United Kingdom and other countries,
and may not be used without written permission. Company and product names
mentioned in this document are the trademarks or registered trademarks of their
respective owners. Where those designations appear in this document, and XMOS
was aware of a trademark claim, the designations have been printed with initial
capital letters or in all capitals.
www.xmos.com
Version 1.0
Publication Date: 2010/02/22
Copyright © 2010 XMOS Ltd. All Rights Reserved.
XS1-L Clock Frequency Control (1.0)
2/10
1
PLL and Clock Divider Overview
A low frequency external clock is used to drive the internal phase locked loop (PLL)
of XS1-L devices and obtain the system clock. A number of system clock dividers are
then used on the system clock to derive the clocks for the XCores, the switch and
the reference clock (Figure 1).
Divider
CLK
Multiplier
Divider
Switch
Switch
Stage 1
Stage
Stage 2
Divider
Clk
÷(R+1)
*((F+1)÷2)
÷(OD+1)
Reference
Ref
Divider
Clk
Comparator
VCO
System
Freq
Freq
Freq
XCore
Divider
XCore
System Clock Dividers
Clk
Standby
Mode
Figure 1: PLL and Clock Dividers
The PLL's initial settings are determined by the state of mode pins on the XS1-L
device. The standard configuration allows a 20MHz external clock to be used to
operate the XCores and the switch at 400MHz, and the reference clock at 100MHz.
In many applications this configuration will be selected, requiring no reprogramming
of the PLL or dividers. If the application requires a different input frequency or
system frequency then the PLL must be reprogrammed. This results in the XS1-L
device being reset to use the new PLL configuration. The XMOS Tools can be used to
reprogram the PLL automatically by specifying the application's configuration in the
XN file.
When the system clock dividers are reprogrammed to change the frequency to the
XCores, the switch or the reference clock, no reset will occur.
The XCore system clock divider can be bypassed so that the system clock is used as
the XCore clock. This allows the XCore to be switched between ACTIVE and STANDBY
modes. See the XS1-L System Specification (Power Control section) for further details.
www.xmos.com
XS1-L Clock Frequency Control (1.0)
3/10
2
Constraints
There are a number of constraints on the frequencies of clocks at different points on
the XS1-L devices. These constraints must be met for the initial boot sequence, and
if the PLL is reprogrammed, for the reprogrammed values too.
Clock
Constraint
CLK
4.22Â100.0 MHz
Comparator frequency 1.59 kHzÂ1300 MHz
VCO frequency
260Â1300 MHz
System clock
Maximum operating frequency--see XS1_L device datasheet
XCore clock
System clock maximum
Switch clock
System clock maximum
Reference clock
System clock maximum
Table 1: Clock Frequency Constraints
3
PLL Settings
There are three dividers within the PLL. R divides the input clock down. The next
divider divides the output of the voltage controlled oscillator (VCO) stage down to
the same frequency as the output of the R divider. Therefore this divider sets the
multiplication factor (F) of the PLL. The OD divider divides the output clock of the
VCO.
There is a constraint on the frequency of the clock at the comparator--the output of
R. There is another constraint placed on the output of the VCO.
4
Configuring the XS1-L Device
The mode pins are used to determine the initial PLL settings used after reset. This
configuration must be such that all of the constraints are met for the input clock
driven onto CLK.
www.xmos.com
XS1-L Clock Frequency Control (1.0)
4/10
Mode[1:0] CLK Range (MHz) XCore Clock (MHz) R
F
OD System Clock= CLK*
00
4.22Â13.0
130.0Â399.75
0 122
1
30.75
01
21.66Â100.0
86.66Â400.0
0 23
2
4
10
10.4Â48.0
86.66Â400.0
0 49
2
8.333
11
4.33Â20.0
86.66Â400.0
0 119
2
20
Table 2: Mode Pins and Boot Configuration
If a different PLL configuration is required from that used to boot the application, the
new settings should be written to the PLL_CTRL register. This will cause the XS1-L
device to reset using the new PLL settings, and the same boot code will execute
again. It is important, therefore, that the boot code should read the value of the
PLL_CTRL register and compare it to the reconfigured value. If there is a difference,
then this is the first time the boot code has executed and the new PLL settings should
be written to PLL_CTRL, causing a reset. The second time the boot code executes,
the value read back from the PLL_CTRL register will be the reconfigured value and
the boot process can continue.
The easiest way to reprogram the PLL is to specify the application's frequency
requirements in the XN file and use the XMOS Tools to reprogram the PLL--see
Section 8.
The application may require the reprogramming of the system clock dividers. These
can be programmed without causing a reset.
5
Frequency Control Registers
To access the frequency control registers on the SSwitch and PSwitch, packets of
data must be constructed and communicated to the switches through a channel end.
Global PLL settings are controlled through registers in the System Switch Control
(SSCTRL). From C or XC, use the write_sswitch_reg() and read_sswitch_reg() functions
defined in xs1.h.
www.xmos.com
XS1-L Clock Frequency Control (1.0)
5/10
Field
Register
Bitfield
Reset
Description
R
SSCTRL
[6:0]
See Table 2 PLL input divider stage = R+1
PLL_CTRL
(0x6)
F
SSCTRL
[20:8] See Table 2 Multiplier stage of the PLL = (F+1)/2
PLL_CTRL
(0x6)
OD
SSCTRL
[25:23] See Table 2 PLL output divider stage = OD+1
PLL_CTRL
(0x6)
SSDIV
SSCTRL
[15:0]
0
System switch clock divider = SSDIV+1
SSWITCH_
Reset value produces 400MHz for a 400MHz
CLK_DIVIDER
system clock
(0x7)
REFDIV
SSCTRL
[15:0]
3
Reference clock divider = REFDIV+1
SW_REF_
Reset value produces 100MHz for a 400MHz
CLK_DIVIDER
system clock.
(0x8)
Table 3: SSCTRL Registers
IMPORTANT: Writing to the PLL_CTRL register (0x6) will cause an internal chip reset.
Settings on an individual XCore basis are controlled through registers in the Pro-
cessor Switch Control (PSCTRL). From C or XC, use the write_pswitch_reg() and
read_pswitch_reg() functions defined in xs1.h.
Field
Register
Bitfield Reset Description
XCDIV
PSCTRL
[15:0]
0
XCore clock divider = XCDIV+1
PROC_CONTROL
Reset value produces 400MHz for an
(0x6)
400MHz system clock
Table 4: PSCTRL Registers
www.xmos.com
XS1-L Clock Frequency Control (1.0)
6/10
6
Example PLL Configurations
6.1
Standard Configuration: 20MHz Oscillator
Use MODE[1:0] = 11. The PLL will configure to the standard 400MHz, with the XCore
and SSwitch running at 400MHz, with a 100MHz reference clock.
6.2
25MHz Oscillator
Use MODE[1:0] = 01. For the initial boot, the system clock will be 100.0MHz, with
the XCore also running at 100.0MHz. The following are required: R = 0, F = 95, OD
= 2. Write 0x01005F00 to SSCTRL, PLL_CTRL (0x6) register to bring the PLL output
up to 400MHz, with code similar to the following:
#define PLL_CTRL_REGNUM 6
#define PLL_CTRL_25MHz 0x01005F00
{
unsigned pllCtrlReadData;
read_sswitch_reg(get_core_id(), PLL_CTRL_REGNUM, pllCtrlReadData);
if (pllCtrlReadData != PLL_CTRL_25MHz)
{
write_sswitch_reg(get_core_id(), PLL_CTRL_REGNUM, PLL_CTRL_25MHz);
}
}
6.3
15MHz Oscillator
Use MODE[1:0] = 10. For the initial boot, the system clock will be 125MHz, with the
XCore also running at 125MHz. The following are required: R = 0, F = 159, OD = 2.
Write 0x01009F00 to SSCTRL, PLL_CTRL (0x6) register to bring the PLL output up
to 400MHz, with code similar to the following:
#define PLL_CTRL_REGNUM 6
#define PLL_CTRL_15MHz 0x01009F00
{
unsigned pllCtrlReadData;
read_sswitch_reg(get_core_id(), PLL_CTRL_REGNUM, pllCtrlReadData);
if (pllCtrlReadData != PLL_CTRL_15MHz)
{
write_sswitch_reg(get_core_id(), PLL_CTRL_REGNUM, PLL_CTRL_15MHz);
}
}
www.xmos.com
XS1-L Clock Frequency Control (1.0)
7/10
7
Example System Clock Divider Configurations
7.1
133MHz Reference Clock
To adjust the Reference Clock to 133MHz with a 400MHz System Clock, set REFDIV
to 2 using the following code:
#define REFDIV_REGNUM 8
write_sswitch_reg(get_core_id(), REFDIV_REGNUM, 0x02);
This will adjust all timers and clock-blocks to run at 133.3MHz, and allow ports to be
configured at 66MHz, 33MHz and so on.
7.2
Slow Switch Clock
For applications where only a single XS1-L device is used, the SSwitch is only used
for configuration purposes. Once the system is configured, the SSwitch clock can be
substantially reduced to save on dynamic power. 1MHz is a good option for a low
power SSwitch clock because the SSwitch power is dominated by the static power at
this frequency.
To reduce the SSwitch clock to 1MHz with a system clock of 400MHz, set SSDIV to
399 using the following code:
#define SSDIV_REGNUM 8
write_sswitch_reg(get_core_id(), SSDIV_REGNUM, 399);
7.3
XCore Clock 200MHz
If your application does not need to run the XCore at full speed to work, dynamic
power can be saved by running the XCore at a slower rate and entering STANDBY
mode.
To run an XCore at 200MHz from a system frequency of 400MHz, set XCDIV to 1
and enter STANDBY mode by writing 0x10 to XCORE_CTRL0.
#define XCDIV_REGNUM 6
write_pswitch_reg(get_core_id(), XCDIV_REGNUM, 1);
#define
PS_XCORE_CTRL0_REGNUM 2
setps(PS_XCORE_CTRL0_REGNUM,0x10);
www.xmos.com
XS1-L Clock Frequency Control (1.0)
8/10
8
Configuring the Clock System Through the XN File
The PLL and the reference clock frequency can be programmed automatically for an
application by using the XMOS Tools. The application's input oscillator frequency,
system frequency and reference frequency can be specified in the XN file. When the
application code is written to a flash device with XFLASH, the code to reprogram the
PLL to the desired system and reference frequencies will be added. When run with
XRUN or XGDB the PLL is reprogrammed via JTAG.
Attribute
Description
Default Value
Oscillator
Input frequency on the CLK pin. If this Uses boot configura-
attribute is specified, the system fre- tion
quency and the reference frequency are
programmed using their specified (or de-
fault) values. If this attribute is not spec-
ified, the boot configuration for the sys-
tem and reference frequencies are used
for the application.
SystemFrequency
The desired system frequency. The Os- 400MHz
cillator attribute must be specified if this
attribute is specified.
ReferenceFrequency
The desired reference frequency. The Os- 100MHz
cillator attribute must be specified if this
attribute is specified.
Table 5: XN File Frequency Control Attributes
The frequency control attributes should be added to the Node node within the XN
file. Frequencies should be specified with their unit of MHz, kHz or Hz, (for example
500MHz, 24576kHz or 6745800Hz). If the frequency control attributes are not
specified in the XN file, then the XMOS Tools will not modify the frequency control
registers.
If the target frequency specified in the XN file for either the system or reference
frequency cannot be met exactly for the application's input frequency, a frequency
close to the target frequency will be selected by the tools and a warning will be
issued. XFLASH always issues the warning when it occurs, as does XGDB. XRUN
only issues the warning if it has been run with the --verbose switch. XGDB issues
the warning when the connect command is issued. Within the XMOS Development
Environment, the XFLASH warning is issued to the Console view, but the XGDB or
XRUN warning is not available to the user.
www.xmos.com
XS1-L Clock Frequency Control (1.0)
9/10
8.1
Example XN file using Frequency Control Attributes
<?xml version="1.0" encoding="UTF-8"?>
<Network xmlns="http://www.xmos.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.xmos.com http://www.xmos.com">
<Type>Board</Type>
<Declarations>
<Declaration>core stdcore[1]</Declaration>
</Declarations>
<Nodes>
<Node Id="0" Type="XS1-L1A-TQ128" Oscillator="20MHz"
SystemFrequency="500MHz" ReferenceFrequency="250MHz">
<Core Number="0" Reference="stdcore[0]">
<Port Location="XS1_PORT_1I" Name="PORT_UART_RX"/>
<Port Location="XS1_PORT_1J" Name="PORT_UART_TX"/>
</Core>
</Node>
</Nodes>
<JTAGChain>
<JTAGDevice NodeId="0"/>
</JTAGChain>
</Network>
9
Document History
Date
Release
Comment
2010-02-22
1.0
First release
www.xmos.com
XS1-L Clock Frequency Control (1.0)
10/10
Disclaimer
XMOS Ltd. is the owner or licensee of this design, code, or Information (collectively,
the "Information") and is providing it to you "AS IS" with no warranty of any kind,
express or implied and shall have no liability in relation to its use. XMOS Ltd. makes
no representation that the Information, or any particular implementation thereof, is
or will be free from any claims of infringement and again, shall have no liability in
relation to any such claims.
Copyright ©2009-10 XMOS Ltd. All Rights Reserved. XMOS and the XMOS logo
are registered trademarks of XMOS Ltd in the United Kingdom and other countries,
and may not be used without written permission. Company and product names
mentioned in this document are the trademarks or registered trademarks of their
respective owners. Where those designations appear in this document, and XMOS
was aware of a trademark claim, the designations have been printed with initial
capital letters or in all capitals.
www.xmos.com
Document Outline
- PLL and Clock Divider Overview
- Constraints
- PLL Settings
- Configuring the XS1-L Device
- Frequency Control Registers
- Example PLL Configurations
- Example System Clock Divider Configurations
- Confi
Revision History
| Revision | Released | Formats | Supported Tools |
|---|---|---|---|
| X1433A | September 15, 2010 | download | N/A |
