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:tools-software:linux-drivers:iio-dac:ad5064 [19 Jun 2012 09:11] – [Supported Devices] Add AD5629R and AD5669R Lars-Peter Clausenresources:tools-software:linux-drivers:iio-dac:ad5064 [29 Dec 2020 06:06] (current) – fix links Robin Getz
Line 8: Line 8:
   * [[adi>AD5045]]   * [[adi>AD5045]]
   * [[adi>AD5064]]   * [[adi>AD5064]]
-  * [[adi>AD5064-1]]+  * [[adi>AD5064|AD5064-1]]
   * [[adi>AD5065]]   * [[adi>AD5065]]
 +  * [[adi>AD5625]], (Upstream v4.6+)
 +  * [[adi>AD5625R]], (Upstream v4.6+)
 +  * [[adi>AD5627]], (Upstream v4.6+)
 +  * [[adi>AD5627R]], (Upstream v4.6+)
   * [[adi>AD5628]]   * [[adi>AD5628]]
   * [[adi>AD5629R]]   * [[adi>AD5629R]]
 +  * [[adi>AD5645R]], (Upstream v4.6+)
 +  * [[adi>AD5647R]], (Upstream v4.6+)
   * [[adi>AD5648]]   * [[adi>AD5648]]
 +  * [[adi>AD5665]], (Upstream v4.6+)
 +  * [[adi>AD5665R]], (Upstream v4.6+)
   * [[adi>AD5666]]   * [[adi>AD5666]]
 +  * [[adi>AD5667]], (Upstream v4.6+)
 +  * [[adi>AD5667R]], (Upstream v4.6+)
   * [[adi>AD5668]]   * [[adi>AD5668]]
   * [[adi>AD5669R]]   * [[adi>AD5669R]]
 +  * [[adi>LTC2606]], (Upstream v4.5+)
 +  * [[adi>LTC2607]], (Upstream v4.5+)
 +  * [[adi>LTC2609]], (Upstream v4.5+)
 +  * [[adi>LTC2616]], (Upstream v4.5+)
 +  * [[adi>LTC2617]], (Upstream v4.5+)
 +  * [[adi>LTC2619]], (Upstream v4.5+)
 +  * [[adi>LTC2626]], (Upstream v4.5+)
 +  * [[adi>LTC2627]], (Upstream v4.5+)
 +  * [[adi>LTC2629]], (Upstream v4.5+)
 +
 +===== Reference Circuits =====
 +
 +  * [[adi>CN0182]]
 +  * [[adi>CN0183]]
 +
 ===== Evaluation Boards ===== ===== Evaluation Boards =====
  
   * [[adi>EVAL-AD5064EBZ]]   * [[adi>EVAL-AD5064EBZ]]
   * [[adi>EVAL-AD5064-1EBZ]]   * [[adi>EVAL-AD5064-1EBZ]]
 +  * [[adi>EVAL-AD5629RSDZ]]
   * [[adi>EVAL-AD5666EBZ]]   * [[adi>EVAL-AD5666EBZ]]
   * [[adi>EVAL-AD5668SDRZ]]   * [[adi>EVAL-AD5668SDRZ]]
   * [[adi>EVAL-AD5668SDCZ]]   * [[adi>EVAL-AD5668SDCZ]]
 +  * [[adi>EVAL-AD5669RSDZ]]
   * PMOD-DA4   * PMOD-DA4
- 
 ===== Description ===== ===== Description =====
  
Line 35: Line 61:
 ===== Status ===== ===== Status =====
  
- Source   Mainlined?  +^ Source ^ Mainlined? ^ 
-| [[bfgit>linux-kernel?drivers/staging/iio/dac/ad5064.c|git]] |  [[git.linux.org>drivers/staging/iio/dac/ad5064.c|git]]  |+| [[git.linux.org>drivers/iio/dac/ad5064.c|git]] | [[git.linux.org>drivers/iio/dac/ad5064.c|Yes]] |
 ===== Files ===== ===== Files =====
  
 ^ Function ^ File ^ ^ Function ^ File ^
-| driver  | [[git.linux.org>drivers/staging/iio/dac/ad5064.c]] |+| driver  | [[git.linux.org>drivers/iio/dac/ad5064.c]] |
  
 ====== Example platform device initialization ====== ====== Example platform device initialization ======
Line 148: Line 174:
 "make qconfig") "make qconfig")
  
-<note>+<WRAP round help>
 The AD5064 Driver depends on **CONFIG_SPI** The AD5064 Driver depends on **CONFIG_SPI**
-</note>+</WRAP>
  
 <code> <code>
 Linux Kernel Configuration Linux Kernel Configuration
- Device Drivers  ---> +    Device Drivers  ---> 
- [*] Staging drivers  ---> +        ... 
- <*>     Industrial I/O support ---> +        <*>     Industrial I/O support ---> 
-     --- Industrial I/O support +            --- Industrial I/O support 
-     -*-   Enable ring buffer support within IIO +            ... 
-     -*-     Industrial I/O lock free software ring +            Digital to analog converters  --- 
-     -*-   Enable triggered sampling support +                ... 
- +                <*>  Analog Devices AD5064 and similar multi-channel DAC driver 
-           *** Digital to analog convertors *** +                ... 
-     [--snip--] +            ... 
- +        ...
-     <*>   Analog Devices AD5064/64-1/44/24 DAC driver +
- +
-     [--snip--] +
 </code> </code>
- 
 ====== Hardware configuration ====== ====== Hardware configuration ======
  
Line 178: Line 199:
 {{page>software:linux:docs:iio:iio_snippets#iio device files&noheader&firstseconly&noeditbtn}} {{page>software:linux:docs:iio:iio_snippets#iio device files&noheader&firstseconly&noeditbtn}}
  
-<box 100% green|shell prompt running on the target>+<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap>
 <xterm> <xterm>
 root:/> **cd /sys/bus/iio/devices/** root:/> **cd /sys/bus/iio/devices/**
Line 209: Line 230:
 lrwxrwxrwx    1 root     root             0 Jan  3 16:50 subsystem -> ../../../../../bus/iio lrwxrwxrwx    1 root     root             0 Jan  3 16:50 subsystem -> ../../../../../bus/iio
 -rw-r--r--    1 root     root          4096 Jan  3 16:50 uevent -rw-r--r--    1 root     root          4096 Jan  3 16:50 uevent
-</xterm></box>+</xterm></WRAP>
  
 The number of channels depends on the chip model. The number of channels depends on the chip model.
Line 215: Line 236:
 === Show device name === === Show device name ===
  
-<box 100% green|shell prompt running on the target>+<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap>
 <xterm> <xterm>
 root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **cat name** root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **cat name**
 ad5064 ad5064
-</xterm></box>+</xterm></WRAP>
  
 === Show scale === === Show scale ===
Line 227: Line 248:
 scale to be applied to out_voltage0_raw in order to obtain the measured voltage in millivolts. scale to be applied to out_voltage0_raw in order to obtain the measured voltage in millivolts.
  
-<box 100% green|shell prompt running on the target>+<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap>
 <xterm> <xterm>
 root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **cat out_voltage0_scale** root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **cat out_voltage0_scale**
 0.038140 0.038140
-</xterm></box>+</xterm></WRAP>
  
 === Set channel Y output voltage === === Set channel Y output voltage ===
Line 241: Line 262:
 channel Y. channel Y.
  
-<box 100% green|shell prompt running on the target>+<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap>
 <xterm> <xterm>
 root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **echo 10000 > out_voltage0_raw** root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **echo 10000 > out_voltage0_raw**
-</xterm></box>+</xterm></WRAP>
  
 **U** = //out_voltage0_raw * out_voltage0_scale// = 10000 * 0,038140 //mV// = **381,14 //mV//** **U** = //out_voltage0_raw * out_voltage0_scale// = 10000 * 0,038140 //mV// = **381,14 //mV//**
Line 256: Line 277:
 Lists all available output power down modes. Lists all available output power down modes.
  
-<box 100% green|shell prompt running on the target>+<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap>
 <xterm> <xterm>
 root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **cat out_voltage_powerdown_mode_available** root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **cat out_voltage_powerdown_mode_available**
 1kohm_to_gnd 100kohm_to_gnd three_state 1kohm_to_gnd 100kohm_to_gnd three_state
-</xterm></box>+</xterm></WRAP>
  
 === Set power down mode === === Set power down mode ===
Line 278: Line 299:
  
  
-<box 100% green|shell prompt running on the target>+<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap>
 <xterm> <xterm>
 root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **echo three_state > out_voltage_powerdown_mode** root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **echo three_state > out_voltage_powerdown_mode**
 root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **cat out_voltage_powerdown_mode** root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **cat out_voltage_powerdown_mode**
 three_state three_state
-</xterm></box>+</xterm></WRAP>
  
 === Enable power down mode on output Y === === Enable power down mode on output Y ===
Line 294: Line 315:
 normal operation. normal operation.
  
-<box 100% green|shell prompt running on the target>+<WRAP box bggreen><wrap info>This specifies any shell prompt running on the target</wrap>
 <xterm> <xterm>
 root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **echo 1 > out_voltage0_powerdown** root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **echo 1 > out_voltage0_powerdown**
Line 302: Line 323:
 root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **cat out_voltage0_powerdown** root:/sys/devices/platform/bfin-spi.0/spi0.3/iio:device0> **cat out_voltage0_powerdown**
 0 0
-</xterm></box>+</xterm></WRAP>
  
 ===== PMOD-DA4 ===== ===== PMOD-DA4 =====
resources/tools-software/linux-drivers/iio-dac/ad5064.1340089904.txt.gz · Last modified: 19 Jun 2012 09:11 by Lars-Peter Clausen