This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
resources:tools-software:linux-drivers:iio-cdc:ad7745 [16 Sep 2011 16:39] – created Michael Hennerich | resources:tools-software:linux-drivers:iio-cdc:ad7745 [05 Jan 2021 16:09] (current) – Removed old references Ioana Chelaru | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Supported Devices ===== | ===== Supported Devices ===== | ||
- | This driver supports the\\ | + | * [[adi> |
- | [[adi> | + | |
- | [[adi> | + | |
- | [[adi> | + | |
+ | |||
+ | ===== Reference Circuits ===== | ||
+ | |||
+ | * [[adi> | ||
+ | |||
+ | ===== Evaluation Boards ===== | ||
+ | |||
+ | * [[adi> | ||
+ | * [[adi> | ||
===== Description ===== | ===== Description ===== | ||
Line 13: | Line 21: | ||
The industrial I/O subsystem provides a unified framework for drivers for many different types of converters and sensors using a number of different physical interfaces (i2c, spi, etc). | The industrial I/O subsystem provides a unified framework for drivers for many different types of converters and sensors using a number of different physical interfaces (i2c, spi, etc). | ||
See [[software: | See [[software: | ||
- | |||
- | ==== AD7747 ==== | ||
- | |||
- | {{scrape> | ||
- | |||
- | ==== AD7746 ==== | ||
- | |||
- | {{scrape> | ||
- | |||
- | ==== AD7745 ==== | ||
- | |||
- | {{scrape> | ||
====== Source Code ====== | ====== Source Code ====== | ||
Line 30: | Line 26: | ||
===== Status ===== | ===== Status ===== | ||
- | ^ Source | + | ^ Source ^ Mainlined? ^ |
- | | [[bfgit>linux-kernel?drivers/ | + | | [[git.linux.org>drivers/ |
===== Files ===== | ===== Files ===== | ||
^ Function ^ File ^ | ^ Function ^ File ^ | ||
- | | driver | + | | driver |
- | | include | + | | include |
{{page> | {{page> | ||
Line 76: | Line 72: | ||
"make qconfig" | "make qconfig" | ||
- | <note> | + | <WRAP round help> |
The driver depends on **CONFIG_I2C** | The driver depends on **CONFIG_I2C** | ||
- | </note> | + | </WRAP> |
< | < | ||
Line 87: | Line 83: | ||
--- Industrial I/O support | --- Industrial I/O support | ||
-*- | -*- | ||
- | -*- | + | -*- |
+ | ng | ||
-*- | -*- | ||
Line 106: | Line 103: | ||
{{page> | {{page> | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/> **cd / | root:/> **cd / | ||
Line 150: | Line 147: | ||
lrwxrwxrwx | lrwxrwxrwx | ||
-rw-r--r-- | -rw-r--r-- | ||
- | </ | + | </ |
=== Show device name === | === Show device name === | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/ | root:/ | ||
ad7746 | ad7746 | ||
- | </ | + | </ |
=== Show available sampling frequencies / update rates === | === Show available sampling frequencies / update rates === | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/ | root:/ | ||
Line 169: | Line 166: | ||
root:/ | root:/ | ||
50 31 16 8 | 50 31 16 8 | ||
- | root:/ | + | root:/ |
- | </ | + | </ |
=== Set sampling frequency / update rate === | === Set sampling frequency / update rate === | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/ | root:/ | ||
Line 183: | Line 180: | ||
root:/ | root:/ | ||
- | </ | + | </ |
=== Show scales for single and differential input channels === | === Show scales for single and differential input channels === | ||
Lists all available scales for the input and input pairs: | Lists all available scales for the input and input pairs: | ||
- | ^ ADC Input Pair ^ Channel name ^ | + | ^ ADC Input ^ Channel name ^ |
| CIN1(+) | in_capacitance_scale | | CIN1(+) | in_capacitance_scale | ||
| CIN2(+) | in_capacitance_scale | | CIN2(+) | in_capacitance_scale | ||
Line 196: | Line 193: | ||
| VIN_VDD_MON | in_voltage_supply_scale | | | VIN_VDD_MON | in_voltage_supply_scale | | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/ | root:/ | ||
- | 0.000000477 | + | 0.000000488 |
- | </ | + | </ |
=== Show channel CIN1(+) measurement === | === Show channel CIN1(+) measurement === | ||
Line 207: | Line 204: | ||
Raw unscaled capacitance measurement on channel in_capacitance0_raw | Raw unscaled capacitance measurement on channel in_capacitance0_raw | ||
- | ^ ADC Input Pair ^ Channel name ^ | + | ^ ADC Input ^ Channel name ^ |
| CIN1(+) | in_capacitance0_raw | | | CIN1(+) | in_capacitance0_raw | | ||
| CIN2(+) | in_capacitance1_raw | | | CIN2(+) | in_capacitance1_raw | | ||
Line 215: | Line 212: | ||
| VIN_VDD_MON | in_voltage1_supply_raw | | | VIN_VDD_MON | in_voltage1_supply_raw | | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/ | root:/ | ||
14914 | 14914 | ||
- | </ | + | </ |
- | **U** = // | + | **U** = // |
=== Show internal temperature measurement === | === Show internal temperature measurement === | ||
**Description: | **Description: | ||
- | Scaled temperature measurement on channel in_temp0_input. Results are in millidegrees Celsius. | + | Scaled temperature measurement on channel in_temp0_input. Results are in millidegrees Celsius. |
- | ^ ADC Input Pair ^ Channel name ^ | + | ^ ADC Input Channel |
| TEMP (internal sensor) | in_temp0_input | | | TEMP (internal sensor) | in_temp0_input | | ||
| TEMP (external sensor diode) | | TEMP (external sensor diode) | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/ | root:/ | ||
28756 | 28756 | ||
- | </ | + | </ |
**T** = // | **T** = // | ||
Line 248: | Line 245: | ||
< | < | ||
+ | ^ Input ^ CAPDAC ^ Channel name ^ | ||
| CIN1(+) | CAPDAC(+) | in_capacitance0_offset | | | CIN1(+) | CAPDAC(+) | in_capacitance0_offset | | ||
| CIN2(+) | CAPDAC(+) | in_capacitance1_offset | | | CIN2(+) | CAPDAC(+) | in_capacitance1_offset | | ||
Line 253: | Line 251: | ||
| CIN2(-) | CAPDAC(-) | in_capacitance0-capacitance2_offset | | | CIN2(-) | CAPDAC(-) | in_capacitance0-capacitance2_offset | | ||
- | <note> | + | <WRAP round help> |
The AD7745/ | The AD7745/ | ||
The part can accept a higher capacitance on the input and the | The part can accept a higher capacitance on the input and the | ||
common-mode or offset (not-changing component) capacitance | common-mode or offset (not-changing component) capacitance | ||
can be balanced by programmable on-chip CAPDACs. | can be balanced by programmable on-chip CAPDACs. | ||
- | </note> | + | </WRAP> |
- | **Example | + | **Example |
- | **in_capacitance0_offset** = //Offset / in_capacitance_scale// | + | **in_capacitance0_offset** = //Offset / in_capacitance_scale// |
- | < | + | <WRAP box bggreen>< |
< | < | ||
- | root:/ | + | root:/ |
root:/ | root:/ | ||
- | 8322552 | + | 8127504 |
- | </ | + | </ |
=== Perform channel gain calibration === | === Perform channel gain calibration === | ||
Line 275: | Line 273: | ||
Triggers gain calibration on channel in_capacitance0 or in_capacitance1 | Triggers gain calibration on channel in_capacitance0 or in_capacitance1 | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/ | root:/ | ||
root:/ | root:/ | ||
1.000000 | 1.000000 | ||
- | </ | + | </ |
=== Set channel gain coefficient === | === Set channel gain coefficient === | ||
Line 288: | Line 286: | ||
Valid range is between 1.0 and 1.99999999. | Valid range is between 1.0 and 1.99999999. | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/ | root:/ | ||
root:/ | root:/ | ||
1.500000 | 1.500000 | ||
- | </ | + | </ |
=== Perform channel offset calibration === | === Perform channel offset calibration === | ||
Line 300: | Line 298: | ||
Triggers offset calibration on channel in_capacitance0 or in_capacitance1 | Triggers offset calibration on channel in_capacitance0 or in_capacitance1 | ||
- | < | + | <WRAP box bggreen>< |
< | < | ||
root:/ | root:/ | ||
root:/ | root:/ | ||
0 | 0 | ||
- | </ | + | </ |
====== More Information ====== | ====== More Information ====== | ||
{{page> | {{page> |