This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources:tools-software:linux-drivers:iio-pll:ad9523 [16 Nov 2012 14:33] – [Evaluation Boards] Fix eval board link Lars-Peter Clausen | resources:tools-software:linux-drivers:iio-pll:ad9523 [11 Feb 2016 20:58] (current) – [Datasheets] Lars-Peter Clausen | ||
---|---|---|---|
Line 10: | Line 10: | ||
* [[adi> | * [[adi> | ||
- | {{scrape> | + | |
- | * [[adi> | + | |
- | * {{scrape> | + | |
===== Description ===== | ===== Description ===== | ||
Line 23: | Line 21: | ||
===== Status ===== | ===== Status ===== | ||
- | ^ Source | + | ^ Source ^ Mainlined? ^ |
- | | [[git.linux.org> | + | | [[git.linux.org> |
===== Files ===== | ===== Files ===== | ||
^ Function ^ File ^ | ^ Function ^ File ^ | ||
- | | driver | + | | driver |
- | | include | [[staging.kernel.org> | + | | include | [[git.linux.org> |
- | | Documentation | [[staging.kernel.org> | + | | Documentation | [[git.linux.org> |
====== Example platform device initialization ====== | ====== Example platform device initialization ====== | ||
Line 326: | Line 324: | ||
"make qconfig" | "make qconfig" | ||
- | <note> | + | <WRAP round help> |
The AD9523 Driver depends on **CONFIG_SPI** | The AD9523 Driver depends on **CONFIG_SPI** | ||
- | </note> | + | </WRAP> |
< | < | ||
Linux Kernel Configuration | Linux Kernel Configuration | ||
Device Drivers | Device Drivers | ||
- | [*] Staging drivers | + | < |
- | < | + | |
- | | + | Frequency Synthesizers DDS/ |
- | Frequency Synthesizers DDS/ | + | Clock Generator/ |
- | Clock Generator/ | + | |
- | | + | <*> Analog Devices AD9523 Low Jitter Clock Generator |
- | + | | |
- | <*> Analog Devices AD9523 Low Jitter Clock Generator | + | |
- | + | ||
- | | + | |
</ | </ | ||
Line 353: | Line 347: | ||
{{page> | {{page> | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/> **cd / | root:/> **cd / | ||
Line 402: | Line 396: | ||
-rw-r--r-- | -rw-r--r-- | ||
-r--r--r-- | -r--r--r-- | ||
- | </ | + | </ |
=== Show device name === | === Show device name === | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/> **cd / | root:/> **cd / | ||
root:/> **cat name** | root:/> **cat name** | ||
ad9523-lpc | ad9523-lpc | ||
- | </ | + | </ |
=== Set ChannelY Output Frequency === | === Set ChannelY Output Frequency === | ||
Line 422: | Line 416: | ||
channel. | channel. | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/> **cat out_altvoltage1_DAC_CLK_frequency** | root:/> **cat out_altvoltage1_DAC_CLK_frequency** | ||
Line 429: | Line 423: | ||
root:/> **cat out_altvoltage1_DAC_CLK_frequency** | root:/> **cat out_altvoltage1_DAC_CLK_frequency** | ||
245760000 | 245760000 | ||
- | </ | + | </ |
=== Set ChannelY Output Divider Phase === | === Set ChannelY Output Divider Phase === | ||
Line 441: | Line 435: | ||
channel. | channel. | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/> **cat out_altvoltage1_DAC_CLK_phase** | root:/> **cat out_altvoltage1_DAC_CLK_phase** | ||
Line 448: | Line 442: | ||
root:/> **cat out_altvoltage1_DAC_CLK_phase** | root:/> **cat out_altvoltage1_DAC_CLK_phase** | ||
3.1415920 | 3.1415920 | ||
- | </ | + | </ |
=== Disable / Power Down ChannelY === | === Disable / Power Down ChannelY === | ||
Line 457: | Line 451: | ||
any value > 0 enables the channel. | any value > 0 enables the channel. | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/> **cat out_altvoltage1_DAC_CLK_raw** | root:/> **cat out_altvoltage1_DAC_CLK_raw** | ||
Line 464: | Line 458: | ||
root:/> **cat out_altvoltage1_DAC_CLK_raw** | root:/> **cat out_altvoltage1_DAC_CLK_raw** | ||
0 | 0 | ||
- | </ | + | </ |
=== Query Device Status === | === Query Device Status === | ||
Line 481: | Line 475: | ||
means that the clock is missing or the pllY is unlocked. | means that the clock is missing or the pllY is unlocked. | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/> **cat pll1_locked** | root:/> **cat pll1_locked** | ||
Line 496: | Line 490: | ||
vcxo_clk_present: | vcxo_clk_present: | ||
- | </ | + | </ |
=== Save Current Device Config to EEPROM === | === Save Current Device Config to EEPROM === | ||
Line 506: | Line 500: | ||
automatically load the saved configuration. | automatically load the saved configuration. | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/> **echo 1 > store_eeprom** | root:/> **echo 1 > store_eeprom** | ||
- | </ | + | </ |
=== SYNC Device === | === SYNC Device === | ||
Line 521: | Line 515: | ||
/SYNC pin low. | /SYNC pin low. | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/> **echo 1 > sync_dividers** | root:/> **echo 1 > sync_dividers** | ||
- | </ | + | </ |
====== More Information ====== | ====== More Information ====== | ||
{{page> | {{page> |