![ST STM32303C-EVAL Скачать руководство пользователя страница 52](http://html1.mh-extra.com/html/st/stm32303c-eval/stm32303c-eval_user-manual_1356057052.webp)
Running the demonstration
UM1590
Doc ID 023892 Rev 1
DataLogger application
This RF EEPROM application demonstrates a practical application of the M24LR64. It is
able to record and store 64 Kbits of temperature data using the M24LR64-R Dual interface
EEPROM (I
2
C and RF). The DataLogger microcontroller is an STM32F30x/31x. It
communicates with the M24LR64-R using its serial interface and controls an STTS751
digital temperature sensor.
Figure 67.
Communication block diagram
Table 5.
M24LR64 memory organization (ESL application)
RF block address
bits [31:24]
bits [23:16]
bits [15:8]
bits [7:0]
0x0000
Arrow
Icon
0x0001
Contains 0xXYYYYYYY
X = number of digits in price (max 7)
YYYYYYY = price value including decimal separator (.) coded in hexadecimal. For instance
0x512A99FF means 5 digits and price is 12.99
0x0002
Contains the ASCII codes of the string chain called ASCII TEXT LINE1 in M24LR64 ESL
demonstration software. The maximum size of this text line is 20 characters.
0x0003
0x0004
0x0005
0x0006
0x0007
Contains the ASCII codes of the string chain called ASCII TEXT LINE2 in M24LR64 ESL
demonstration software. The maximum size of this text line is 20 characters.
0x0008
0x0009
0x000A
0x000B
0x000C
XXXX XX is the checksum of bytes from address 0x0000 to 0x000B.
YY = Reserved
ZZ = Reserved
ESL
RF EERPOM
MS31113V2
STM32 microcontroller
I2C
TS751
temperature
sensor
M24LR64 dual
interface EEPROM
I2C
I2C
Master
Slave
Slave