Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:eval:user-guides:ad-fmcdaq2-ebz:clocking [12 Sep 2017 18:13] – [Overview] Lars-Peter Clausenresources:eval:user-guides:ad-fmcdaq2-ebz:clocking [19 Jan 2018 10:14] (current) – rename xcomm_zynq -> master Alexandru Ardelean
Line 102: Line 102:
 ''N2'' = ''4'' * ''B'' + ''A'' ''N2'' = ''4'' * ''B'' + ''A''
  
-Rearranging these formulas it is possible to compute the A and B counter settings from a know reference and a desired VCO frequency.+Rearranging these formulas it is possible to compute the A and B counter settings from a known reference and a desired VCO frequency.
  
 ''N2'' = ''fVCO'' / ''fPFD'' \\ ''N2'' = ''fVCO'' / ''fPFD'' \\
Line 128: Line 128:
 On Linux the default clock configuration is supplied through the [[https://www.devicetree.org/|devicetree]]. On Linux the default clock configuration is supplied through the [[https://www.devicetree.org/|devicetree]].
  
-The devicetree file that is used for the AD-FMCDAQ2-EBZ and contains the clock configuration is called [[linux.github>xcomm_zynq?arch/arm/boot/dts/adi-daq2.dtsi|adi-daq2.dtsi]]. This file contains nodes for the [[linux.github>xcomm_zynq?arch/arm/boot/dts/adi-daq2.dtsi#L8|AD9523-1]], the [[linux.github>xcomm_zynq?arch/arm/boot/dts/adi-daq2.dtsi#L105|AD9144]] and the [[linux.github>xcomm_zynq?arch/arm/boot/dts/adi-daq2.dtsi#L120|AD9680]]. Each node contains properties that describe the hardware setup and provide default configuration parameters. For information on how to edit devicetree please see [[:resources:eval:user-guides:ad-fmcomms2-ebz:software:linux:zynq_tips_tricks#customizing_the_device_tree_on_the_target|Tips & Tricks - Customizing the device tree on the target]].+The devicetree file that is used for the AD-FMCDAQ2-EBZ and contains the clock configuration is called [[linux.github>master?arch/arm/boot/dts/adi-daq2.dtsi|adi-daq2.dtsi]]. This file contains nodes for the [[linux.github>master?arch/arm/boot/dts/adi-daq2.dtsi#L8|AD9523-1]], the [[linux.github>master?arch/arm/boot/dts/adi-daq2.dtsi#L105|AD9144]] and the [[linux.github>master?arch/arm/boot/dts/adi-daq2.dtsi#L120|AD9680]]. Each node contains properties that describe the hardware setup and provide default configuration parameters. For information on how to edit devicetree please see [[:resources:eval:user-guides:ad-fmcomms2-ebz:software:linux:zynq_tips_tricks#customizing_the_device_tree_on_the_target|Tips & Tricks - Customizing the device tree on the target]].
  
 To change the clocking configuration the properties of the AD9523-1 node can be modified. The following lists the most important properties for the AD-FMCDAQ2-EBZ and their corresponding hardware setting. The function of each of these settings and how to choose their value has been discussed above. For more information refer to the [[:resources:tools-software:linux-drivers:iio-pll:ad9523|AD9523-1 driver documenation]]. To change the clocking configuration the properties of the AD9523-1 node can be modified. The following lists the most important properties for the AD-FMCDAQ2-EBZ and their corresponding hardware setting. The function of each of these settings and how to choose their value has been discussed above. For more information refer to the [[:resources:tools-software:linux-drivers:iio-pll:ad9523|AD9523-1 driver documenation]].
Line 135: Line 135:
 | Frequency of the external VCXO | ''adi,vcxo-freq'' | | Frequency of the external VCXO | ''adi,vcxo-freq'' |
 | PLL2 reference divider (R2) | ''adi,pll2-r2-div'' | | PLL2 reference divider (R2) | ''adi,pll2-r2-div'' |
-| PLL2 feedback divider | ''adi,pll2-ndiv-a-cnt''+| PLL2 feedback divider A counter | ''adi,pll2-ndiv-a-cnt''
-| PLL2 feedback divider | ''adi,pll2-ndiv-b-cnt'' |+| PLL2 feedback divider B counter | ''adi,pll2-ndiv-b-cnt'' |
 | PLL2 VCO output divider (M1) | ''adi,pll2-vco-diff-m1'' | | PLL2 VCO output divider (M1) | ''adi,pll2-vco-diff-m1'' |
  
resources/eval/user-guides/ad-fmcdaq2-ebz/clocking.1505232785.txt.gz · Last modified: 12 Sep 2017 18:13 by Lars-Peter Clausen