Board specific sema functions, Voltages, Main current – ADLINK CM3-GF User Manual
Page 49
TME-104P-CMx-GF-1V7
Rev 1.7
41 (81)
Board Specific SEMA functions
Voltages
The SMC of the CMx-GF implements a Voltage Monitor and samples several On-board Voltages. The Voltages
can be read by calling the SEMA function “Get Voltages”. The function returns a 16-Bit value divided in Hi-Byte
(MSB) and Lo-Byte (LSB).
ADC
Channel
Voltage
Name
Voltage
Formula [V]
0
---
---
1
---
---
2
---
---
3
+V3.3PCI
(MSB<<8 + LSB) * 1.100 * 3.3 / 1024
4
+V3.3IN
(MSB<<8 + LSB) * 1.100 * 3.3 / 1024
5
+V5S
(MSB<<8 + LSB) * 1.833 * 3.3 / 1024
6
+V5SBY
(MSB<<8 + LSB) * 1.833 * 3.3 / 1024
7
(MAINCURRENT)
Use Main Current Function
Main Current
The SMC of the CMx-GF implements a Current Monitor. The current can be read by calling the SEMA function
“Get Main Current”. The function returns four 16-Bit values divided in Hi-Byte (MSB) and Lo-Byte (LSB). These
four values represent the last four currents drawn by the board. The values are sampled every 250ms. The
order of the four values is NOT in relationship to the time. The access to the SMC may increase the drawn
current of the whole system. In this case, you still have three samples without the influence of the read access.
Main Current = (MSB_n<<8 + LSB_n) * 8.06mA