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-dac:ad5421 [16 Nov 2012 12:25] – add cns Lars-Peter Clausen | resources:tools-software:linux-drivers:iio-dac:ad5421 [11 Feb 2016 19:52] (current) – [Status] Lars-Peter Clausen | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ==== Reference Circuits | ==== Reference Circuits | ||
| + | * [[adi> | ||
| * [[adi> | * [[adi> | ||
| + | * [[adi> | ||
| ===== Evaluation Boards ===== | ===== Evaluation Boards ===== | ||
| Line 23: | Line 24: | ||
| ===== Status ===== | ===== Status ===== | ||
| - | ^ Source | + | ^ Source ^ Mainlined ^ |
| | [[git.linux.org> | | [[git.linux.org> | ||
| ===== Files ===== | ===== Files ===== | ||
| Line 108: | Line 109: | ||
| "make qconfig" | "make qconfig" | ||
| - | <note> | + | <WRAP round help> |
| The ad5421 Driver depends on **CONFIG_SPI** | The ad5421 Driver depends on **CONFIG_SPI** | ||
| - | </note> | + | </WRAP> |
| < | < | ||
| Linux Kernel Configuration | Linux Kernel Configuration | ||
| - | Device Drivers | + | |
| - | [*] Staging drivers | + | ... |
| - | < | + | < |
| - | | + | --- Industrial I/O support |
| - | -*- | + | ... |
| - | -*- | + | Digital to analog |
| - | -*- | + | ... |
| - | + | < | |
| - | *** Digital to analog | + | ... |
| - | [--snip--] | + | ... |
| - | + | ... | |
| - | | + | |
| - | + | ||
| - | [--snip--] | + | |
| </ | </ | ||
| - | |||
| ====== Hardware configuration ====== | ====== Hardware configuration ====== | ||
| Line 137: | Line 133: | ||
| {{page> | {{page> | ||
| - | < | + | <WRAP box bggreen>< |
| < | < | ||
| root:/> **cd / | root:/> **cd / | ||
| Line 156: | Line 152: | ||
| lrwxrwxrwx | lrwxrwxrwx | ||
| -rw-r--r-- | -rw-r--r-- | ||
| - | </ | + | </ |
| === Show device name === | === Show device name === | ||
| - | < | + | <WRAP box bggreen>< |
| < | < | ||
| root:/ | root:/ | ||
| ad5421 | ad5421 | ||
| - | </ | + | </ |
| === Show scale === | === Show scale === | ||
| Line 172: | Line 168: | ||
| scale to be applied to out_current0_raw in order to obtain the outputted current in milliampere. | scale to be applied to out_current0_raw in order to obtain the outputted current in milliampere. | ||
| - | < | + | <WRAP box bggreen>< |
| < | < | ||
| root:/ | root:/ | ||
| 0.000244 | 0.000244 | ||
| - | </ | + | </ |
| === Show offset === | === Show offset === | ||
| Line 184: | Line 180: | ||
| offset to be applied to out_current0_raw in order to obtain the outputted current in milliampere. | offset to be applied to out_current0_raw in order to obtain the outputted current in milliampere. | ||
| - | < | + | <WRAP box bggreen>< |
| < | < | ||
| root:/ | root:/ | ||
| 16384 | 16384 | ||
| - | </ | + | </ |
| === Set channel Y output current === | === Set channel Y output current === | ||
| Line 198: | Line 194: | ||
| channel Y. | channel Y. | ||
| - | < | + | <WRAP box bggreen>< |
| < | < | ||
| root:/ | root:/ | ||
| - | </ | + | </ |
| **I** = //( out_current0_raw + out_current_offset ) * out_current_scale// | **I** = //( out_current0_raw + out_current_offset ) * out_current_scale// | ||