TS-7970 ADC: Difference between revisions

From embeddedTS Manuals
(Created page with "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: root@ts-imx6:~...")
 
No edit summary
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 ADC that can sample a 4-20mA current loop at about 2/3 samples per second.  These are accessed using the tsmicroctl utility:


root@ts-imx6:~/ts4900-utils/src# ./tsmicroctl --info
<pre>
root@ts-imx6:# tsmicroctl --info
VDD_ARM_CAP=1216
VDD_ARM_CAP=1216
VDD_HIGH_CAP=2618
VDD_HIGH_CAP=2618
Line 21: Line 22:
SILAB_P11_UA=0
SILAB_P11_UA=0
SILAB_P12_UA=0
SILAB_P12_UA=0
</pre>


The other samples are the various voltages on the board, but SILAB_Pnn and SILAB_Pnn_UA include the raw values from the terminal block ADC, and one output in microamps.
The other samples are the various voltages on the board, but SILAB_Pnn and SILAB_Pnn_UA include the raw values from the terminal block ADC, and one output in microamps.

Revision as of 17:06, 28 October 2016

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:

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, but SILAB_Pnn and SILAB_Pnn_UA include the raw values from the terminal block ADC, and one output in microamps.