58
Utilities
4.2
SEMA functions
Under the management of the BMC chip (Board Management Controller), the SEMA utility
(Smart Embedded Management Agent) provides system control and failure protection—count-
ing, monitoring, and measuring hardware and software events, from which the SoC can trigger
corrective commands. The optional SEMA Cloud utility not only controls local events on the
module but system client events on the Internet of Things (IoT.) Refer to the following bullets for
a list of SEMA functions.
Total operating hours counter
Counts the time the module has been run in minutes.
On-time minutes counter
Counts the seconds since last system start.
Temperature monitoring of CPU and Board temperature
Minimum and maximum temperature values of CPU and board are stored in flash.
Power monitor
Reads the current drawn by the board and reports the nominal operating voltage.
Power cycles counter
Boot counter
Boot counter is increased after a HW- or SW-Reset or after a successful power-up.
Watchdog Timer
Set / Reset / Disable Watchdog Timer.
System Restart Cause
Power loss / Watchdog / External Reset.
Flash area
1kB Flash area for customer data
Protected Flash area
128 Bytes for Keys, ID's, etc. can be stored in a write- and clear-protectable region.
Board Identify
Vendor / Board / Serial number
The SEMA Tools are available for Windows and Linux. SEMA functionality can also be used in
applications. Refer to the SEMA software manual and technical manual on the ADLINK web site
for more information.
4.2.1
Board Specific SEMA functions
Voltages
The BMC of the LEC-BTS implements a Voltage Monitor and samples several Onboard Volt-
ages. 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).
Table 4-44: BMC Voltage Monitor Values
ADC
Channel
Voltage
Name
Voltage
Formula [V]
0
---
---
1
+V1.0S
(MSB<<8 + LSB) * 3.3 / 1024
2
+V1.2S
(MSB<<8 + LSB) * 3.3 / 1024
3
+V1.8S
(MSB<<8 + LSB) * 3.3 / 1024
4
+V3.3S
(MSB<<8 + LSB) * 1.100 * 3.3 / 1024
5
+V1.5S
(MSB<<8 + LSB) * 3.3 / 1024
6
+V5.0A
(MSB<<8 + LSB) * 1.833 * 3.3 / 1024
7
(MAINCURRENT)
Use Main Current Function