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
 
(4 intermediate revisions by 3 users not shown)
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 3x 10-bit 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:~/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.  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.

Latest revision as of 15:38, 30 January 2024

The TS-7970 includes 3x 10-bit 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.