TS-7970 ADC: Difference between revisions

From embeddedTS Manuals
(Altered the description of functionality a little bit to highlight the surprising notion that this ADC can't do voltage sensing.)
(Clarifications)
Line 1: Line 1:
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:
The TS-7970 includes 3 ADC channels designed for 4-20 mA current loop measurements; they are not able be configured for direct voltage measurement. These channels are updated roughly twice per second. These are accessed using the tsmicroctl utility:


<pre>
<pre>
Line 24: Line 24:
</pre>
</pre>


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.
The other samples are the various voltages on the board.  The current loop values measured by the ADC are "SILAB_P10", "SILAB_P11", and "SILAB_P12". Those are the raw ADC values whereas the channel names with "_UA" appended to them are the converted micro-amp reading of the current loop.

Revision as of 15:43, 5 March 2019

The TS-7970 includes 3 ADC channels designed for 4-20 mA current loop measurements; they are not able be configured for direct voltage measurement. These channels are updated roughly twice per second. 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 current loop values measured by the ADC are "SILAB_P10", "SILAB_P11", and "SILAB_P12". Those are the raw ADC values whereas the channel names with "_UA" appended to them are the converted micro-amp reading of the current loop.