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
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