Utilities
59
LEC-BTS
Main Current
The BMC of the LEC-BTS 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 time. The access to the BMC 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
TS#-Events
TS# is activated by a temperature sensor when a device reaches its critical temperature and
released when the device is back in its normal temperature range. This counter gives the user
information about temperature or cooling issues. This counter is cleared when the system is
removed from power. The LEC-BTS only monitors the board temperature and does not support
TS#-Events.
Exception Blink Codes
In the case of an error, the BMC shows a blink code on the STATUS-LED (LED1). This error
code is also reported by the BMC Flags register. The Exception Code is not stored in the Flash
storage and is cleared when the power is removed. Therefore, the “Clear Exception Code”-
Command is not supported.
BMC Flags
The BMC Flags register returns the last detected exception code since power up.
Table 4-45: Blink Codes
Exception Blink
Code
Error Message
0
NOERROR
2
NO_SUSCLK
3
NO_SLP_S5
4
NO_SLP_S3
5
RESET_FAIL
6
7
POWER_FAIL
8
LOW_VIN
9
NO_PWRGD_ATX
10
NO_PWRGD_1V0S
11
NO_PWRGD_1V2S
13
NO_PWRGD_1V8S
14
NO_PWRGD_3V3S
15
NO_PWRGD_1V5S