STMicroelectronics Multiple-device temperature sensor and RTC demonstration board based on the STM32 STEVAL-IFS017V1 STEVAL-IFS017V1 Ficha De Dados

Códigos do produto
STEVAL-IFS017V1
Página de 46
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 I
2
C communication along 
with the delay in between.
12. I
2
C 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