TS-7970 ADC: Difference between revisions

From embeddedTS Manuals
No edit summary
No edit summary
Line 24: Line 24:
</pre>
</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.  The terminal block ADC values are returned with SILAB_Pnn and SILAB_Pnn_UA.  These include both raw and microamp  values.

Revision as of 16:33, 10 February 2017

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. The terminal block ADC values are returned with SILAB_Pnn and SILAB_Pnn_UA. These include both raw and microamp values.