ST STEVAL-IFS017V1 User manual

November 2012 Doc ID 023106 Rev 1 1/46
UM1539
User manual
STEVAL-IFS017V1 multi device temperature
sensor and RTC demo
Introduction
This document explains the functioning of the multiple temperature sensors and RTC demo
which is based on a motherboard and daughter card approach. The complete system
consists of one motherboard having an STM32F102xx microcontroller and different
daughter cards having a temperature sensor and RTC. The temperature sensors supported
by this system are:
■STLM20
■STTS424E02
■STTS75
■STDS75
■STLM75
■STCN75
■STTS751
■STTS2002
RTCs supported by this system are:
■M41T82SM6
■M41T83SQA6
■M41T83SMY6
This board operates in USB powered mode with a graphical user interface (GUI). The
graphical user interface is used to access the registers and demonstrate the features of
temperature sensors and RTCs.
Figure 1. STM32F102xx based motherboard for temperature sensor and RTC
AM12154v1
Te m p e r ature sensor
address selection switches
Status LED`s
CN5 and CN6 for selecting
daughter card power supply
3.3V
Therm O/P for STTS751
GND
USB connector
Daughter card
connector
www.st.com

Contents UM1539
2/46 Doc ID 023106 Rev 1
Contents
1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1 Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 System setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2.1 Power supply unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2.2 Power for motherboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2.3 Power for temperature sensor and RTC daughter cards . . . . . . . . . . . . . 7
1.2.4 Address selection of sensor daughter cards . . . . . . . . . . . . . . . . . . . . . . 7
1.2.5 Address configuration for STTS75, STDS75, STLM75 and STCN75
temperature sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2.6 Address configuration for STTS2002 and STTS424E02 temperature
sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.2.7 Address configuration for STLM20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.2.8 Address configuration for STTS751 temperature sensor . . . . . . . . . . . . . 9
1.2.9 Temperature sensor features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2.10 GUI window for STTS75, STDS75, STLM75 and STCN75 sensors . . . 11
1.2.11 GUI window for STTS424E02 temperature sensor . . . . . . . . . . . . . . . . 13
1.2.12 GUI window for EEPROM section of the STTS424E02 temperature
sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2.13 GUI window for the STLM20 temperature sensor . . . . . . . . . . . . . . . . . 16
1.2.14 GUI window for the STTS751 temperature sensor . . . . . . . . . . . . . . . . 17
1.2.15 GUI window for the STTS2002 temperature sensor . . . . . . . . . . . . . . . 18
1.2.16 GUI window for STTS2002 temperature sensor EEPROM . . . . . . . . . . 20
1.2.17 RTC features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
1.2.18 GUI window for M41T82SM6 RTC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1.2.19 M41T82 RTC date and time setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1.2.20 M41T82 RTC alarm setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
1.2.21 M41T82 RTC watchdog configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1.2.22 M41T82 RTC timer configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1.2.23 M41T82 RTC digital calibration configuration . . . . . . . . . . . . . . . . . . . . 25
1.2.24 M41T82 RTC analog calibration configuration . . . . . . . . . . . . . . . . . . . . 25
1.2.25 M41T82 RTC HT bit configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1.2.26 M41T82 RTC FT bit configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
1.2.27 GUI window for M41T83SQA6E(QFN) RTC . . . . . . . . . . . . . . . . . . . . . 26
1.2.28 M41T83_QFN date and time setting . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

UM1539 Contents
Doc ID 023106 Rev 1 3/46
1.2.29 M41T83_QFN RTC alarm setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1.2.30 M41T83_QFN RTC watchdog configuration . . . . . . . . . . . . . . . . . . . . . 28
1.2.31 M41T83_QFN RTC timer configuration . . . . . . . . . . . . . . . . . . . . . . . . . 28
1.2.32 M41T83_QFN RTC digital calibration configuration . . . . . . . . . . . . . . . 28
1.2.33 M41T83_QFN RTC analog calibration configuration . . . . . . . . . . . . . . . 29
1.2.34 M41T83_QFN RTC HT bit configuration . . . . . . . . . . . . . . . . . . . . . . . . 29
1.2.35 M41T83_QFN RTC FT bit configuration . . . . . . . . . . . . . . . . . . . . . . . . 29
1.2.36 M41T83_QFN RTC square wave configuration . . . . . . . . . . . . . . . . . . . 29
1.2.37 GUI window for M41T83SMY6E(SOX18 package) RTC . . . . . . . . . . . . 29
1.2.38 M41T83_SOX18 RTC date and time setting . . . . . . . . . . . . . . . . . . . . . 30
1.2.39 M41T83_SOX18 RTC alarm settings . . . . . . . . . . . . . . . . . . . . . . . . . . 31
1.2.40 M41T83_SOX18 RTC watchdog configuration . . . . . . . . . . . . . . . . . . . 31
1.2.41 M41T83_SOX18 RTC timer configuration . . . . . . . . . . . . . . . . . . . . . . . 32
1.2.42 M41T83_SOX18 RTC digital calibration configuration . . . . . . . . . . . . . . 32
1.2.43 M41T83_SOX18 RTC analog calibration configuration . . . . . . . . . . . . . 32
1.2.44 M41T83_SOX18 RTC HT bit configuration . . . . . . . . . . . . . . . . . . . . . . 32
1.2.45 M41T83_SOX18 RTC FT bit configuration . . . . . . . . . . . . . . . . . . . . . . 33
1.2.46 M41T83_SOX18 RTC square wave configuration . . . . . . . . . . . . . . . . . 33
1.2.47 Plotter window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
1.2.48 Application LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2 System overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.1 Hardware design description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.1.1 STEVAL-IFS017V1-STM32F102xx based motherboard . . . . . . . . . . . . 36
2.2 Hardware layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3 Hardware schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4 Bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Appendix A Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

List of tables UM1539
4/46 Doc ID 023106 Rev 1
List of tables
Table 1. Power selection for daughter cards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 2. Switch settings for selecting different addresses of STT75/STLM75/STDS75/STCN75 on-
board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Table 3. Switch settings for selecting different addresses of the STTS424E02 . . . . . . . . . . . . . . . . . 9
Table 4. Address selection for STTS751 sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 5. BOM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Table 6. Definitions for acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Table 7. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

UM1539 List of figures
Doc ID 023106 Rev 1 5/46
List of figures
Figure 1. STM32F102xx based motherboard for temperature sensor and RTC . . . . . . . . . . . . . . . . . 1
Figure 2. Temperature sensor GUI connected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Figure 3. Logic level and position of switch for address selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 4. List of temperature sensors in the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 5. GUI window for STTS75, STDS75, STLM75, STCN75 temperature sensors . . . . . . . . . . 12
Figure 6. Wrong address message on GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 7. GUI window for STTS424E02 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 8. EEPROM GUI window for the STTS424E02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 9. GUI window for the STLM20 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 10. STTS751 sensor address selection connector CN5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 11. GUI window for the STTS751 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 12. GUI Window for STTS2002 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 13. GUI window for EEPROM section of STTS2002 temperature sensor . . . . . . . . . . . . . . . . 21
Figure 14. PSWP for permanent write protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 15. RTC selection window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 16. GUI Window for M41T82 RTC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Figure 17. GUI window for M41T83_QFN RTC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 18. GUI window for M41T83_SOX18 RTC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Figure 19. Plotter selection window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 20. Plotter window for STDS75 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 21. Tool bar of plotter window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 22. Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Figure 23. Hardware layout: motherboard top . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Figure 24. Hardware layout: motherboard bottom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Figure 25. Schematics (part 1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Figure 26. Schematics (part 2). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

Getting started UM1539
6/46 Doc ID 023106 Rev 1
1 Getting started
1.1 Package
The contents of the complete package are as follows:
1. Hardware content:
– Demonstration board: STEVAL-IFS017V1
2. Documentation:
– User manual (this document)
– Schematics, Gerber files, BOM
3. Firmware:
– Already programmed STM32F102xx device soldered on the demo board
4. GUI installation file.
1.2 System setup
The steps for starting the demo board are as follows:
1. Install the GUI .exe in the computer. The user should have administrator rights for the
computer to install the GUI.
2. Connect the USB cable between the computer and USB connector on the STEVAL-
IFS017V1 (CN4).
3. LED D3 should glow on the motherboard.
4. Opening the GUI shows the connected status in the bottom left corner of the window.
The daughter card power selection and feature demonstration is discussed in the following
sections.
Figure 2. Temperature sensor GUI connected
AM12155v1
GUI selection button

UM1539 Getting started
Doc ID 023106 Rev 1 7/46
1.2.1 Power supply unit
There are two power sections in this system:
1. Power for motherboard.
2. Power for temperature sensor daughter cards.
1.2.2 Power for motherboard
The motherboard input power is 5 V from a USB connection. This 5 V is converted to 3.3 V
using the LD39080DT33 voltage regulator. The STM32F102xx microcontroller is operated
at 3.3 V.
1.2.3 Power for temperature sensor and RTC daughter cards
Connector CN5 and CN6 are used to configure the supply voltage for the daughter cards.
Ta bl e 1 shows the pin connections and their respective voltages generated for daughter
cards.
1.2.4 Address selection of sensor daughter cards
This demo board supports different temperature sensors and RTCs present on different
daughter cards. For digital temperature sensors, the address lines are configured using the
switches (SW2, SW3, and SW4) present on the motherboard. Logic level is assigned to the
address line using the address selection switches. Figure 3 shows the position of the switch
and the respective logic level assigned by that switch.
Table 1. Power selection for daughter cards
Connector CN5 on
motherboard Connector CN6 on motherboard Daughter card supply
voltage
Short Pin1(5 V) and
Pin2(VDD_D) DON’T CARE 5.0 V
Short Pin2(VDD_D)
and Pin3(VCC_SEL) Short Pin1 and Pin2 (2.3 V) 2.3 V
Short Pin2(VDD_D)
and Pin3(VCC_SEL) Short Pin3 and Pin4 (2.7 V) 2.7 V
Short Pin2(VDD_D)
and Pin3(VCC_SEL) Short Pin5 and Pin6 (3.0 V) 3.0 V
Short Pin2(VDD_D)
and Pin3(VCC_SEL) Short Pin7 and Pin8 (2.3 V) 3.3 V
Short Pin2(VDD_D)
and Pin3(VCC_SEL) Short Pin9 and Pin10 (2.3 V) 3.6 V

Getting started UM1539
8/46 Doc ID 023106 Rev 1
Figure 3. Logic level and position of switch for address selection
1.2.5 Address configuration for STTS75, STDS75, STLM75 and STCN75
temperature sensors
The STTS75, STDS75, STLM75 and STCN75 all are digital temperature sensors with 3
address lines. There are 8 possible addresses for these sensors. SW2 corresponds to A0,
SW3 corresponds to A1 and SW4 corresponds to A2 address lines of the sensors. Below
are the allowed addresses and their settings for STTS75, STDS75, STLM75 and STCN75:
●Address 1 = 0x90, => SW4 = 0, SW3 = 0, SW2 = 0
●Address 2 = 0x92, => SW4 = 0, SW3 = 0, SW2 = 1
●Address 3 = 0x94, => SW4 = 0, SW3 = 1, SW2 = 0
●Address 4 = 0x96, => SW4 = 0, SW3 = 1, SW2 = 1
●Address 5 = 0x98, => SW4 = 1, SW3 = 0, SW2 = 0
●Address 6 = 0x9A, => SW4 = 1, SW3 = 0, SW2 = 1
●Address 7 = 0x9C, => SW4 = 1, SW3 = 1, SW2 = 0
●Address 8 = 0x9E, => SW4 = 1, SW3 = 1, SW2 = 1
!-V
3WITCHPOSITIONFORADDRESSLINES ,OGICLEVELAT
ADDRESSLINES
,/7
LOGIC
()'(
LOGIC
Table 2. Switch settings for selecting different addresses of STT75/STLM75/STDS75/STCN75
onboard
Address
line
Address
(0x9E)
Address
(0x9C)
Address
(0x9A)
Address
(0x98)
Address
(0x96)
Address
(0x94)
Address
(0x92)
Address
(0x90)
SW2 (A0)
SW3 (A1)
SW4 (A2)

UM1539 Getting started
Doc ID 023106 Rev 1 9/46
1.2.6 Address configuration for STTS2002 and STTS424E02 temperature
sensors
The STTS2002 and STTS424E02 are digital temperature sensors with 3 address lines.
There are 8 possible addresses for these sensors. SW2 corresponds to A0, SW3
corresponds to A1 and SW4 corresponds to A2 address lines of the sensor.
Below are the allowed addresses and their settings for these sensors:
●Address 1 = 0x30, => SW4 = 0, SW3 = 0, SW2 = 0
●Address 2 = 0x32, => SW4 = 0, SW3 = 0, SW2 = 1
●Address 3 = 0x34, => SW4 = 0, SW3 = 1, SW2 = 0
●Address 4 = 0x36, => SW4 = 0, SW3 = 1, SW2 = 1
●Address 5 = 0x38, => SW4 = 1, SW3 = 0, SW2 = 0
●Address 6 = 0x3A, => SW4 = 1, SW3 = 0, SW2 = 1
●Address 7 = 0x3C, => SW4 = 1, SW3 = 1, SW2 = 0
●Address 8 = 0x3E, => SW4 = 1, SW3 = 1, SW2 = 1
1.2.7 Address configuration for STLM20
The STLM20 is an analog temperature sensor with no address lines.
1.2.8 Address configuration for STTS751 temperature sensor
The STTS751 is available in 2 different device types:
1. STTS751-0
2. STTS751-1
Address selection for STTS751 sensor is not done by SW2/SW3/SW4 but is done using a
jumper on the connector CN5 present on the daughter card itself.
Table 3. Switch settings for selecting different addresses of the STTS424E02
Address
line
Address
(0x3E)
Address
(0x3C)
Address
(0x3A)
Address
(0x38)
Address
(0x36)
Address
(0x34)
Address
(0x32)
Address
(0x30)
SW2 (A0)
SW3 (A1)
SW4 (A2)

Getting started UM1539
10/46 Doc ID 023106 Rev 1
Below is the table for selecting the address of the STTS751 temperature sensor:
1.2.9 Temperature sensor features
The steps for starting with the temperature sensor daughter cards and the GUI are as
follows:
1. Place the temperature sensor daughter card on the motherboard. Take note of the
notch on the daughter card connector and motherboard connector.
2. Select the power supply of the daughter card as mentioned in Section 1.2.3.
3. Connect the USB cable to the computer and motherboard, LED D3 glows on the
motherboard.
4. Open the GUI in the computer, the GUI window shows as connected in the bottom right
corner, as shown in Figure 2.
5. Press the “Temperature Sensor Mode Select” button in the GUI, as shown in Figure 2.
6. The list of temperature sensors appears in the GUI, as shown in Figure 4. Select the
sensor which is mounted on the motherboard. If the sensor selected in the GUI is not
the one mounted on the motherboard, an error message pops up in the GUI. In the
case of an error message, re-select the correct sensor in the GUI.
7. The GUI window for the sensor present on the motherboard opens.
8. A total of 5 sensors are supported by the demo:
●STTS7/STDS75/STLM75/STCN75
●STTS424E02
●STLM20
●STTS751
●STTS2002.
Table 4. Address selection for STTS751 sensor
Device type Connector CN5 on daughter
card Sensor address
STTS751-0
Short Pin1 and Pin2 0x90
Short Pin3 and Pin4 0x92
Short Pin5 and Pin6 0x70
Short Pin7 and Pin8 0x72
STTS751-1
Short Pin1 and Pin2 0x94
Short Pin3 and Pin4 0x96
Short Pin5 and Pin6 0x74
Short Pin7 and Pin8 0x76

UM1539 Getting started
Doc ID 023106 Rev 1 11/46
Figure 4. List of temperature sensors in the GUI
1.2.10 GUI window for STTS75, STDS75, STLM75 and STCN75 sensors
The STTS75, STLM75, STDS75, and STCN75 sensors are supported by a single GUI
window, as shown in Figure 5. There are radio buttons for selecting one of four possible
sensors (STTS75, STLM75, STDS75, and STCN75).
Below are the steps for operating these sensors using the GUI:
1. Select one of the radio buttons present in the “Select the temperature sensor” area in
the GUI. This enables the GUI for one of the selected sensors
(STTS75/STLM75/STDS75/STCN75).
2. Choose the address from the dropdown menu of the “Choose Address” block. If the
address selected from the GUI is the same as configured onboard (as described in
Section 1.2.4), the remaining part of the GUI is enabled; or else an error message
appears in the GUI, as shown in Figure 6. In the case of an error message, check the
correct address from the GUI.
3. Configure the different registers of the sensor and observe the behavior in the GUI and
on the board. The bits of the configuration register can be selected in the GUI and can
be written by pressing the ‘Write’ button.
4. The slider for over-limit and hysteresis can be used to select the values for
oversaturation and hysteresis registers of the sensor.
5. The “Once” button is used to read the instantaneous value of the temperature value
from the sensor.
6. The “Loop” button is used to continuously read the temperature value from the sensor
and display the same in the GUI.
7. ALARMS is seen in the GUI only when the Once or Loop button is pressed. Pressing
Once reads the instantaneous temperature value and latches the instantaneous
ALARM condition in the GUI. Pressing the Loop button continuously monitors the
temperature and the ALARM condition and displays the same in the GUI. Stopping the
Loop button latches the last measured value of temperature and the last ALARM
condition in the GUI. This alarm is used to indicate the behavior of the OS pin output of
the temperature sensor.

Getting started UM1539
12/46 Doc ID 023106 Rev 1
a) Default state: alarm OFF
b) Temperature reaches above the over-limit temperature (Tos): alarm GLOWS
c) Temperature reaches below Thys: alarm OFF
On the motherboard there is an LED D5 which shows the alarm signal from the
#ALERT pin of the temperature sensor. In the case of alert, D5 glows, and as soon as
the alert signal goes OFF, D5 switches off.
8. There is a One-shot mode button present in the GUI which functions only for the
STTS75 sensor. One-shot mode puts the sensor into Shutdown mode and then goes
for a one-shot read of temperature. After One-shot mode, the shutdown pin of the
configuration register sets to '1'. To bring the sensor to Normal mode, write the
shutdown bit to '0'.
9. Frequency for I2C communication between the sensor and microcontroller can be set
either to 100 kHz or 400 kHz using the Radio button selection and Write button.
Figure 5. GUI window for STTS75, STDS75, STLM75, STCN75 temperature sensors

UM1539 Getting started
Doc ID 023106 Rev 1 13/46
Figure 6. Wrong address message on GUI
1.2.11 GUI window for STTS424E02 temperature sensor
The STTS424E02 is a simple digital temperature sensor with an on-chip 2 Kb EEPROM.
Below are the steps to operate the STTS424E02 sensor in GUI mode:
1. Plug the daughter card of the STTS424E02 on the motherboard.
2. Select the sensor option for the STTS424E02 from the GUI, as shown in Figure 4.
3. Select the STTS424E02 sensor Radio button from sensor options in the “Select the
Temperature Sensor” area in the GUI. On selecting the STTS424E02 sensor, the “Edit
EEPROM” option also gets enabled in the GUI.
4. Check the address from the “Choose Address” area. If the address configured on the
board (explained in Section 1.2.6) is different from the address selected from the GUI,
an error message appears on the GUI. In the case of an error, re-check the address
with the correct option.
5. All the registers show the default readings at first selection.
6. Press the Loop button to continuously read the temperature in the GUI.
7. Configure the different registers through the GUI and observe the behavior of the
sensor. The bits of the configuration register can be individually selected using the GUI.
8. Sliders for “Upper Temp Register”, “Lower Temp Register” and “Critical Temp Register”
can be used to separately configure the upper boundary, lower boundary and critical
limit for temperatures. Press the Write button individually for all the three limits to write
the value inside the sensor registers.
9. The Once button is used to read the instantaneous value of temperature value from the
sensor.
10. The Loop button is used to continuously read the temperature value from the sensor
and display the same in the GUI.
11. There are 3 different alarms supported by this sensor:
a) Below alarm window (BAW):
This alarm occurs when the measured temperature goes below the temperature
setting performed in the alarm temperature lower boundary register (lower temp

Getting started UM1539
14/46 Doc ID 023106 Rev 1
register). This alarm glows as the BAW alarm in the GUI. As the measured
temperature becomes greater than the BAW setting, the alarm switches off.
b) Above alarm window (AAW):
This alarm occurs when the measured temperature goes above the temperature
setting performed in the alarm temperature upper boundary register (upper temp
register). This alarm glows as the AAW alarm in the GUI. As the measured
temperature becomes lower than the AAW setting, the alarm switches off.
c) Above critical temperature (ACI):
This alarm occurs when the measured temperature goes above the temperature
setting performed in the critical temperature register. This alarm glows as the ACI
alarm in the GUI. As the measured temperature becomes lower than the critical
alarm setting, the alarm switches off.
The “Alarm” icon also glows in the GUI only when the O/P control bit is enabled in the
configuration register and one of the above mentioned alarms has occurred, and then only
the alarm LED onboard (D5) glows.
BAW, AAW, and ACI alarm statuses can be seen in the GUI either in Once or Loop mode.
Pressing of the Once button shows the instantaneous alarm conditions and latches the
same in the GUI. This condition is refreshed on again pressing the Once button. Pressing
the Loop button continuously monitors the alarm conditions and displays them in the GUI.
Stopping the Loop button latches the last alarm conditions in the GUI. These are refreshed
either by again using the Once or Loop read buttons.
For the first time address check, the default state of the upper temp register, lower temp
register and critical temp register, is 0x00, therefore alarm conditions for AAW and ACI are
met and so these are seen as glowing in the GUI.
Figure 7. GUI window for STTS424E02 temperature sensor

UM1539 Getting started
Doc ID 023106 Rev 1 15/46
1.2.12 GUI window for EEPROM section of the STTS424E02 temperature
sensor
The STTS424E02 sensor has an on-chip 2 Kb EEPROM. For the STTS424E02 sensor
selected in the GUI, the “Edit EEPROM” button gets enabled. The EEPROM window opens
on clicking this Edit EEPROM button.
The steps for using the EEPROM of the STTS424E02 sensor are as follows:
1. Check the address of the EEPROM. The last 3 bits of the EEPROM address are
derived from the last 3 bits of the temperature sensor address.
2. For the correct address checked, the GUI for the EEPROM gets enabled with an
editable area for 256 bytes.
3. To read the data byte at any specific location, select the location on the editable window
and press the Read byte button; it reads the selected location data from the sensor
EEPROM and displays it at the location in the editable area in the GUI.
4. The Read All button reads all 256 bytes from the sensor EEPROM and displays them in
the editable area.
5. To write a single byte at a specific location, change the byte value and press the Enter
button on the computer. Then press Write Byte to write the data into the EEPROM.
6. To write all 256 bytes of EEPROM, press the Write All button in the GUI. This writes the
bytes as seen in the editable box. To change the bytes in the editable box, type the new
value and press Enter, and then go to type a new value to another location. After all
values are changed according to requirements, press Write All to program the values in
the EEPROM.
7. Fill buffer is used to fill the area of the EEPROM with the same data byte. Type the
memory location from where the data is to be written and also the destination memory
location address. Then enter the data byte in the ‘Fill With’ area. Pressing the Fill Buffer
button programs the EEPROM selected area with the selected data byte. This data
byte can be seen in the GUI by pressing the Read All button.
8. Copy Block is used to copy the data from memory location 0x00 -0x7F to the location
0x80-0xFF. Therefore, both upper and lower 1 Kbit data is similar after the Copy Block
command.
9. Settings for the EEPROM of the STTS424E02 sensor are shown in Figure 8.

Getting started UM1539
16/46 Doc ID 023106 Rev 1
Figure 8. EEPROM GUI window for the STTS424E02
1.2.13 GUI window for the STLM20 temperature sensor
The STLM20 is an analog temperature sensor. The steps for using the GUI for the STLM20
are as follows:
1. Plug the STLM20 daughter card on the motherboard.
2. Select the STLM20 sensor in the GUI and the GUI window for the STLM20 opens, as
shown in Figure 9.
3. The Read button reads the sensor value and voltage output value, at that moment,
from the sensor.
4. The Loop button continuously reads the temperature and voltage from the STLM20.
Figure 9. GUI window for the STLM20 temperature sensor

UM1539 Getting started
Doc ID 023106 Rev 1 17/46
1.2.14 GUI window for the STTS751 temperature sensor
The STTS751 temperature sensor is available in two versions:
●STTS751-0
●STTS751-1.
Address configuration for this sensor is done using the jumper CN5 present on the daughter
card (explained in Section 1.2.8).
The steps to operate the STTS751 sensor in GUI mode are as follows:
1. Place the daughter card on the motherboard.
2. Select the address of the daughter card using CN6/CN5 on the daughter card (refer to
Section 1.2.8), as shown in Figure 10.
3. Power up the motherboard using USB power.
4. Select the STTS751 sensor in the GUI and then select either STTS751-0 or STTS751-
1 from the Radio button in the GUI, as shown in Figure 11. Then select the address
from the dropdown menu of the GUI.
5. Configuration register bits can be individually configured using the GUI.
6. Sliders can be used to configure the values inside the upper temp register, lower temp
register, therm limit, therm hysteresis and conversion rate registers. The Write button is
to be used for each value to be written inside the sensor registers.
7. The Once button is used to read the instantaneous value of the temperature value from
the sensor.
8. The Loop button is used to continuously read the temperature value from the sensor
and display the same in the GUI.
9. There is one alarm output in the STTS751 by the name EVENT. When the temperature
is above the value configured inside the upper temp register or is equal to or lower than
the value inside the lower temp register, the EVENT signal is asserted and is seen as
D5 LED glowing on the motherboard. In the GUI, the status of the EVENT pin is seen
on pressing the One-shot or Loop button.
10. If the EVENT condition exists, then pressing the ARA button returns the sensor
address.
11. One-shot write is used to read the temperature once when the sensor is in Standby
mode and then again return the sensor in Standby mode.
12. SMBus timeout is used to demonstrate the timeout feature of the STTS751. Checking
the “TimeOut Test Enable” checkbox enables the timeout feature of the STTS751 by
writing inside the “SMBus timeout enable” register of the sensor. The slider can be
used to select the timeout delay in milliseconds. If the delay is between 20-30 msec, the
device does not time out and returns ACK to communication and is seen as ACK
glowing in the GUI. For timeout delay greater than 30 msec, the device returns NACK
to communication and is seen as NACK glowing in the GUI. This ACK and NACK is the
response from the sensor to I2C communication along with the delay in between.
13. The I2C speed can be selected to be one of 100 kHz or 400 kHz using the Radio button
and Write button.

Getting started UM1539
18/46 Doc ID 023106 Rev 1
Figure 10. STTS751 sensor address selection connector CN5
Figure 11. GUI window for the STTS751
1.2.15 GUI window for the STTS2002 temperature sensor
The STTS2002 is a digital temperature sensor with an on-chip 2 Kb EEPROM.
Below are the steps to operate the STTS2002 sensor in GUI mode:
1. Plug the daughter card of the STTS2002 on the motherboard.
2. Select the sensor option for the STTS2002 from the GUI, as shown in Figure 12.
3. Check the address from the “Choose Address” area. If the address configured onboard
(explained in Section 1.2.5) is different from the address selected from the GUI, an
AM12164v1
STTS751 sensor address selection
connector CN6

UM1539 Getting started
Doc ID 023106 Rev 1 19/46
error message appears in the GUI. In the case of an error, re-check the address with
the correct option.
4. All the registers show the default readings at first selection.
5. Press the Loop button to continuously read the temperature in the GUI.
6. Configure the different registers through the GUI and observe the behavior of the
sensor. The bits of the configuration register can be individually selected using the GUI.
7. Sliders for “Alarm Temp Upper Boundary”, “Alarm Temp Lower Boundary” and “Critical
Temp Register” can be used to separately configure the upper boundary, lower
boundary and critical limit for temperatures. Press the Write button individually for all
three limits to write the value inside the sensor registers.
8. The Once button is used to read the instantaneous value of the temperature value from
the sensor.
9. The Loop button is used to continuously read the temperature value from the sensor
and display the same in the GUI.
10. There are 3 different alarms supported by this sensor:
a) Below alarm window (BAW):
This alarm occurs when the measured temperature goes below the temperature
setting performed in the alarm temperature lower boundary register (lower temp
register). This alarm glows as BAW alarm in the GUI. As the measured
temperature becomes greater than the below alarm window setting, the alarm
switches off.
b) Above alarm window(AAW):
This alarm occurs when the measured temperature goes above the temperature
setting performed in the alarm temperature upper boundary register (upper temp
register). This alarm glows as AAW alarm in the GUI. As the measured
temperature becomes lower than the above alarm window setting, the alarm
switches off.
c) Above critical temperature(ACI):
This alarm occurs when the measured temperature goes above the temperature
setting performed in the critical temperature register. This alarm glows as ACI
alarm in the GUI. As the measured temperature becomes lower than the critical
alarm setting, the alarm switches off.
The Alarm icon also glows in the GUI only when the O/P control bit is enabled in the
configuration register and one of the above mentioned alarms has occurred, and then only
the alarm LED onboard (D5) also glows.
The BAW, AAW, ACI alarm statuses can be seen in the GUI either in Once or Loop mode.
Pressing the Once button shows the instantaneous alarm conditions and latches the same
in the GUI. This condition is refreshed on again pressing the Once button. The Loop button,
pressed continuously, monitors the alarm conditions and displays them in the GUI. Stopping
the Loop button latches the last conditions of alarms in the GUI. These are refreshed either
by again using the Loop or Once read button.
For the first time address check, the default state of the upper temp register, lower temp
register and critical temp register is 0x00, therefore alarm conditions for AAW and ACI are
met and so these are seen as glowing in the GUI.
11. SMBus timeout is used to demonstrate the timeout feature of the STTS2002. Checking
the “TimeOut Test Enable” checkbox enables the slider for entering the timeout delay.
The slider can be used to select the timeout delay in milliseconds. If the delay is
between 20-29 msec, the device does not time out and returns ACK to communication

Getting started UM1539
20/46 Doc ID 023106 Rev 1
and is seen as ACK glowing in the GUI. For timeout delay greater than 29 milliseconds,
the device returns NACK to communication and is seen as NACK glowing in the GUI.
This ACK and NACK is the response from the sensor to the I2C communication along
with the delay in between.
12. I2C speed can be selected to be either 100 kHz or 400 kHz using the Radio buttons
and Write button.
Figure 12. GUI Window for STTS2002
1.2.16 GUI window for STTS2002 temperature sensor EEPROM
The STTS2002 sensor has an on-chip 2 Kb EEPROM. For the STTS2002 sensor selected
in the GUI, the “Edit EEPROM” button gets enabled. The EEPROM window opens on
clicking this Edit EEPROM button.
The steps for using the EEPROM of the STTS2002 sensor are as follows:
1. Check the address of the EEPROM. The last 3 bits of the EEPROM address are
derived from the last 3 bits of the temperature sensor address.
2. For the correct address checked, the GUI for the EEPROM gets enabled with editable
area for 256 bytes.
3. The EEPROM area of the STTS2002 is divided into 2 sections:
a) Lower half between 0x00 - 0x7F (first 128 bytes)
b) Upper half between 0x80 - 0XFF (last 128 bytes)
The EEPROM supports permanent write protection for the data written inside the lower
half of memory using the PSWP command. The EEPROM window has a READ PSWP
Table of contents
Other ST Security Sensor manuals