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.
Page 4
List of tables UM1539 List of tables Table 1. Power selection for daughter cards ......... . . 7 Table 2.
Page 5
UM1539 List of figures List of figures Figure 1. STM32F102xx based motherboard for temperature sensor and RTC ....1 Figure 2. Temperature sensor GUI connected ......... . 6 Figure 3.
Getting started UM1539 Getting started Package The contents of the complete package are as follows: Hardware content: – Demonstration board: STEVAL-IFS017V1 Documentation: – User manual (this document) – Schematics, Gerber files, BOM Firmware: – Already programmed STM32F102xx device soldered on the demo board GUI installation file.
UM1539 Getting started 1.2.1 Power supply unit There are two power sections in this system: Power for motherboard. 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.
Getting started UM1539 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.
UM1539 Getting started 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: ●...
Getting started UM1539 Below is the table for selecting the address of the STTS751 temperature sensor: Table 4. Address selection for STTS751 sensor Connector CN5 on daughter Device type Sensor address card Short Pin1 and Pin2 0x90 Short Pin3 and Pin4 0x92 STTS751-0 Short Pin5 and Pin6...
UM1539 Getting started 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.
Getting started UM1539 Default state: alarm OFF Temperature reaches above the over-limit temperature (Tos): alarm GLOWS 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.
UM1539 Getting started 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: Plug the daughter card of the STTS424E02 on the motherboard.
Getting started UM1539 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. 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).
UM1539 Getting started 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.
Getting started UM1539 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: Plug the STLM20 daughter card on the motherboard. Select the STLM20 sensor in the GUI and the GUI window for the STLM20 opens, as shown in Figure...
UM1539 Getting started 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).
Getting started UM1539 Figure 10. STTS751 sensor address selection connector CN5 STTS751 sensor address selection connector CN6 AM12164v1 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: Plug the daughter card of the STTS2002 on the motherboard.
Page 19
UM1539 Getting started error message appears in the GUI. In the case of an error, re-check the address with the correct option. All the registers show the default readings at first selection. Press the Loop button to continuously read the temperature in the GUI. Configure the different registers through the GUI and observe the behavior of the sensor.
Getting started UM1539 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 I C communication along with the delay in between.
UM1539 Getting started button which returns the status of the memory being protected or not. Writing PSWP permanently protects the memory for read and write. Once the memory is permanently write protected then neither read nor write is possible for the lower half memory area. To read the data byte at any specific location, select the location in the editable window and press the Read Byte button, it reads the selected location data from the sensor EEPROM and displays at the location in the editable area in the GUI.
Getting started UM1539 Figure 14. PSWP for permanent write protection 1.2.17 RTC features The GUI supports the demonstration of three RTCs: M41T82 RTC mounted on separate daughter card. M41T83 (QFN package) mounted on separate daughter card. M41T83 (SOX18 package) mounted on separate daughter card. RTC mode of the GUI is selected through the RTC selection icon in the GUI.
UM1539 Getting started 1.2.18 GUI window for M41T82SM6 RTC M41T82 RTC is available in SO8 package and is mounted on a separate daughter card. The steps for selecting the M41T82 RTC are as follows: Select the supply for the RTC daughter card using jumper CN5 and CN6 on the motherboard.
Getting started UM1539 1.2.19 M41T82 RTC date and time setting Click on the RTC selection icon in the toolbar of the GUI. RTC selection Radio button appears in the GUI, as shown in Figure Select for RTC M41T82, it opens the RTC GUI window for the M41T82, as shown in Figure Press the Update button to enable the configuration of RTC.
UM1539 Getting started 1.2.21 M41T82 RTC watchdog configuration The watchdog of RTC is enabled by configuring the multiplier and resolution settings and pressing the Write button. The time period for watchdog is calculated by the resolution x multiplier value. This value is in seconds.
Getting started UM1539 HT bit set and reset option is selected from the dropdown menu. Setting the HT bit halts the clock display of RTC. Resetting the HT bit resumes the clock display of RTC. 1.2.26 M41T82 RTC FT bit configuration The FT bit is a checkbox;...
UM1539 Getting started 1.2.28 M41T83_QFN date and time setting Click on the RTC Selection icon in the toolbar of the GUI. the RTC selection Radio button appears in the GUI, as shown in Figure Select RTC M41T83 (QFN) and the RTC child window opens, as shown in Figure Press the Update button to enable the configuration of RTC.
Getting started UM1539 The alarm status can be seen in the GUI by pressing the Read Flags button. Pressing read flags again clears the alarm register of RTC and its new status is shown in the GUI. The Reset OF button is used to reset the OF bit in the alarm register and, correspondingly, the Oscillator bit alarm is also cleared by the Reset button.
UM1539 Getting started 1.2.33 M41T83_QFN RTC analog calibration configuration Check the FT bit checkbox. The slider for analog calibration gets enabled and LED D6 glows on the motherboard. This disables the remaining RTC window. Enter the calibration value using the slider and press the Write button to configure the value inside the RTC registers.
Getting started UM1539 Figure 18. GUI window for M41T83_SOX18 RTC 1.2.38 M41T83_SOX18 RTC date and time setting Click on the RTC Selection icon in the toolbar of the GUI. The RTC selection Radio button appears in the GUI, as shown in Figure Select RTC M41T83 and the RTC child window opens, as shown in Figure...
UM1539 Getting started 1.2.39 M41T83_SOX18 RTC alarm settings M41T83_SOX18 RTC has two alarm functions: ● Alarm one ● Alarm two Alarm one: Set the alarm date and time using the alarm one date and time section on the RTC GUI window.
Getting started UM1539 1.2.41 M41T83_SOX18 RTC timer configuration M41T83 RTC has an 8-bit countdown timer. This timer counts down from the user configured value (timer countdown value) to 1 and then again reloads the timer countdown value. Enter any value between 1 and 255 inside the value area of the timer. Select the timer ticking clock from the clock frequency dropdown menu of the timer.
UM1539 Getting started 1.2.45 M41T83_SOX18 RTC FT bit configuration The FT bit is a checkbox; if none of RTC interrupt functions (Alarm/WDG/SQW) are selected, then checking this box selects the frequency test function of RTC and it is displayed as a glow on D6 LED. Resetting the bit switches off the frequency test function. 1.2.46 M41T83_SOX18 RTC square wave configuration M41T83_SOX18 RTC has a square wave output option.
UM1539 Getting started Figure 21. Tool bar of plotter window Display the Save plotter saved file data in .xls Save plot window Plotter toolbar AM12175v1 1.2.48 Application LEDs There are 4 application specific LEDs on the board: C LED: This is a green LED (D4) which blinks whenever there is an I communication occurring in the application.
UM1539 System overview This demo is a generic system for evaluating the family of temperature sensors and RTC from ST. This demo has 2 main blocks: STM32F102xx microcontroller based motherboard. Temperature sensors and RTC based daughter cards. Hardware design description Figure 22.
UM1539 System overview Hardware layout Figure 23 below show the component layout to help the user to locate different components / sections on the board. Figure 23. Hardware layout: motherboard top Figure 24. Hardware layout: motherboard bottom Doc ID 023106 Rev 1 37/46...
Supplier designator description orderable part number ordering code or equivalent Microcontroller LQFP48 STM32F102C8T6 USB protection SOT-666 ESDAULC6-3BP6 device ST devices Adjustable voltage PPAK LD39080PT-R regulator Voltage regulator DPAK LD29080DT33 3M Electronic JTAG connector 10 x 2 header 30320-6002HB Mouser 517-30320-6002...
Page 41
Table 5. BOM (continued) Manufacturer’s Reference Component ordering code / Supplier Category Package Manuf. Supplier designator description orderable part number ordering code or equivalent AVX Corporation or C1,C2 20 pF SMD0805 08051A200JAT2A Digi-Key 478-3735-1-ND equivalent C3,C4,C5, Panasonic - ECG or ECJ-2VB1E104K or Capacitors C8,C15,C1...
Page 42
Table 5. BOM (continued) Manufacturer’s Reference Component ordering code / Supplier Category Package Manuf. Supplier designator description orderable part number ordering code or equivalent R1,R2,R14, Panasonic - ECG or 220 Ω R27,R34,R SMD0805 ERJ-6GEYJ221V Digi-Key P220ACT-ND equivalent Panasonic - ECG or 4.2 kΩ...
Page 43
Table 5. BOM (continued) Manufacturer’s Reference Component ordering code / Supplier Category Package Manuf. Supplier designator description orderable part number ordering code or equivalent Susumu or RR12P3.9KDCT- 3.9 kΩ SMD0805 RR1220P-392-D Digi-Key equivalent Susumu or RR12P5.6KDCT- 5.6 kΩ SMD0805 RR1220P-562-D Digi-Key equivalent Resistors...
UM1539 Revision history Revision history Table 7. Document revision history Date Revision Changes 16-Nov-2012 Initial release. Doc ID 023106 Rev 1 45/46...
Page 46
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
Need help?
Do you have a question about the STEVAL-IFS017V1 and is the answer not in the manual?
Questions and answers