Document number
205065
Version
Rev. N
Issue date
2019-02-04
Sirius OBC and TCM User Manual
Page
88
of
174
5.10. ADC
5.10.1. Description
This section describes the driver for accessing the ADC device.
The following ADC channels are available for the Sirius OBC:
Parameter
Abbreviation
ADC channel
Analog input
ADC in 0
0
Analog input
ADC in 1
1
Analog input
ADC in 2
2
Analog input
ADC in 3
3
Analog input
ADC in 4
4
Analog input
ADC in 5
5
Analog input
ADC in 6
6
Analog input
ADC in 7
7
Regulated 1.2V
1V2
8
Regulated 2.5V
2V5
9
Regulated 3.3V
3V3
10
Input voltage
Vin
11
Input current
Iin
12
Temperature
Temp
13
The following ADC channels are available for the Sirius TCM:
Parameter
Abbreviation
ADC channel
Regulated 1.2V
1V2
8
Regulated 2.5V
2V5
9
Regulated 3.3V
3V3
10
Input voltage
Vin
11
Input current
Iin
12
Temperature
Temp
13
The TCM-S FM board does not contain any input ADC channels.
When data is read from a channel, the lower 8 bits contains the channel status information,
and the upper 24 bits contains the raw ADC data.
To convert the ADC value into mV, mA or m°C, the formulas specified in the table below
shall be used. Note that this assumes a 24 bit ADC value which is what the ADC IP returns
on read. Should the raw bit value be truncated or scaled down, the scale factor (2^24) in the
equations need to be adjusted as well. Note also that the temperature equation require the
3V3 [mV] value.