TS-7970 ADC: Difference between revisions
From embeddedTS Manuals
No edit summary |
(Altered the description of functionality a little bit to highlight the surprising notion that this ADC can't do voltage sensing.) |
||
Line 1: | Line 1: | ||
The TS-7970 includes 3 channels of ADC that can sample a 4-20mA current loop at about 2/3 samples per second. These are accessed using the tsmicroctl utility: | The TS-7970 includes 3 channels of current-loop sensing ADC that can sample a 4-20mA current loop at about 2/3 samples per second. Note, these ADC cannot be used for voltage sensing. These are accessed using the tsmicroctl utility: | ||
<pre> | <pre> |
Revision as of 10:24, 23 June 2017
The TS-7970 includes 3 channels of current-loop sensing ADC that can sample a 4-20mA current loop at about 2/3 samples per second. Note, these ADC cannot be used for voltage sensing. These are accessed using the tsmicroctl utility:
root@ts-imx6:# tsmicroctl --info VDD_ARM_CAP=1216 VDD_HIGH_CAP=2618 VDD_SOC_CAP=1246 VDD_ARM=1456 SILAB_P10=0x39B SILAB_P11=0x0 SILAB_P12=0x0 VIN=12241 V5_A=5207 V3P1=3276 DDR_1P5V=1571 V1P8=1894 V1P2=1262 RAM_VREF=783 V3P3=3543 SILABREV=1 SILAB_P10_UA=21472 SILAB_P11_UA=0 SILAB_P12_UA=0
The other samples are the various voltages on the board. The terminal block ADC values are returned with SILAB_Pnn and SILAB_Pnn_UA. These include both raw and microamp values.