Technical Description
miriac MPX-LX2160A User Manual
V1.4
16/73
© MicroSys Electronics GmbH 2020
4.4.3
XML Configuration
The ME is setting and monitoring the various sensors in the System based on an
XML configuration file. This XML file is parsed and included in the Firmware during
compilation - this saves memory that would otherwise be consumed in the µC. In a
future version of Firmware, it is planned to have an upload option for an externally
generated configuration.
Example for setting the SoC Temperature Sensor limits:
<!-- Temp Sensor. Local Chip Sensor -->
<
sensor
name
=
"MON_CPU_L"
number
=
"21"
interval
=
"1000"
flags
=
"dont_check"
record
=
"analog"
bus
=
"I2C0"
address
=
"0x48"
device
=
"sa56004"
>
<
formula
raw
=
"(value/0.125)*32.0"
cooked
=
"(value/32.0)*0.125"
/
>
<!-- The limits are set to the ALERT Temperature if mux==0xFF
T_CRIT will be set 15.0C above ALERT if mux==0xFF
Otherwise set by Format B mux value -->
<
limits
mode
=
"cooked"
lower
=
"-20.0"
upper
=
"85.0"
/
>
<
port
instance
=
"A"
>
<!-- Format A = read temp -->
<
pin
number
=
"0x00"
/
>
<!-- Local Temp High Register -->
<
pin
number
=
"0x22"
/
>
<!-- Local Temp Low Register -->
<
pin
number
=
"0x02"
/
>
<!-- Status Register -->
<
/
port
>
<
port
instance
=
"B"
>
<!-- Format B = setpoint write register -->
<
pin
number
=
"0x0B"
mux
=
"0xFF"
/
>
<!-- Local High Setpoint Register = upper -->
<
pin
number
=
"0x0C"
mux
=
"0xFF"
/
>
<!-- Local Low Setpoint Register = lower -->
<
pin
number
=
"0x20"
mux
=
"0xFF"
/
>
<!-- Local T_CRIT Setpoint Register = upper+15 -->
<
/
port
>
<
/
sensor
>
The sensor MON_CPU_L will be read every 1000msec from the I²C device
SA56004 at 0x48. The above example sets the Warning temperature to 85°C and
Critical Alert to 85+15°C = 100°C. The user can modify these values depending on
the chosen cooling solution.