Download Print this page

XMOS xCORE-200 Quick Start Manual

Clock frequency control
Hide thumbs Also See for xCORE-200:

Advertisement

Quick Links

xCORE-200 Clock Frequency Control
IN TH I S D OCU MENT
PLL and Clock Divider Overview
Constraints
PLL Settings
Configuring the xCORE-200 Device
Frequency Control Registers
Example PLL Configurations
Example System Clock Divider Configurations
Configuring the Clock System Through the XN File
Document History
1 PLL and Clock Divider Overview
A low frequency external clock is used to drive the internal phase locked loop (PLL)
of xCORE-200 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 xCORE tiles,
the RGMII unit, the switch and the reference clock.
CLK
Figure 1:
PLL and Clock
Dividers
The PLL's initial settings are determined by the state of any mode pins on the
xCORE-200 device. The standard configuration allows a 25MHz external clock to
be used to operate the xCORE tiles and the switch at 400MHz, and the reference
Publication Date: 2016/10/3
XMOS © 2016, All Rights Reserved
Divider
Multiplier
Stage 1
Stage
÷(R+1)
*((F+1)÷2)
Comparator
Freq
USB
Clk
Divider
Stage 2
÷(OD+1)
VCO
System
Freq
Freq
Switch
Divider
Reference
Divider
xCORE Tile
Divider
xCORE Tile
Divider
RGMII
Divider
Document Number: XM010761A
Switch
Clk
Ref
Clk
XCore0
Tile
Clk
XCore1
Tile
Clk
RGMII
TX Clk

Advertisement

loading

Summary of Contents for XMOS xCORE-200

  • Page 1 A low frequency external clock is used to drive the internal phase locked loop (PLL) of xCORE-200 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 xCORE tiles, the RGMII unit, the switch and the reference clock.
  • Page 2: Pll Settings

    2 Constraints There are a number of constraints on the frequencies of clocks at different points on the xCORE-200 devices. These constraints must be met for the initial boot sequence, and if the PLL is reprogrammed, for the reprogrammed values too.
  • Page 3 Clock Frequency Control 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. The PLL_CTRL register comprises five fields (R, F, OD, LOCKN, RESETN), detailed in §5. That register contains a bit to instruct the PLL to hold the chip in reset, and a bit to pause the chip whilst the PLL is not locked.
  • Page 4 Clock Frequency Control Register Bitfield Reset Description XS1_SSWITCH_PLL_CTL_NUM [6:0] Mode Pins R; PLL input divider stage = XS1_SSWITCH_PLL_CTL_NUM [20:8] Mode Pins F; Multiplier stage of the PLL = (F+1)/2 XS1_SSWITCH_PLL_CTL_NUM [25:23] Mode Pins OD; PLL output divider stage = OD+1 XS1_SSWITCH_PLL_CTL_NUM LOCKN;...
  • Page 5 66MHz, 33MHz and so on. 7.2 Slow Switch Clock For applications where only a single xCORE-200 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.
  • Page 6 Clock Frequency Control Attribute Description Default Value Oscillator Input frequency on the CLK pin. If this Uses boot configu- attribute is specified, the system fre- ration quency and the reference frequency are programmed using their specified (or de- fault) values. If this attribute is not speci- fied, the boot configuration for the system...
  • Page 7 : xsi = " http :// www . w3 . org /2001/ XMLSchema - instance " xsi : schema Locati on = " http :// www . xmos . com http :// www . xmos . com " >...
  • Page 8: Document History

    Copyright © 2016, All Rights Reserved. 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.