easy2log© RT0005 Technical Information Manual
28
SAMPLES_NUM register (RO)
Register
Address
Op.
Default
SAMPLES_NUM
0x67
RO
0x0000
It represents the number of samples present inside the log memory. SAMPLES_NUM register is set to 0 after a reset
operation.
SHIPPING_DATE register (RO- 2 words)
Register
Address
Op.
Default
SHIPPING_DATE_L
0x6A
RO
0x0000
SHIPPING_DATE_H
0x6B
RO
0x0000
The Shipping Date register (expressed in the Unix time format) is used to store the time when logging was enabled (by
RF or, if enabled, by the button). Default value of SHIPPING_DATE register is 0. SHIPPING_DATE register is set to 0 after
a reset operation.
STOP_DATE register (RO- 2 words)
Register
Address
Op.
Default
STOP_DATE _L
0x6C
RO
0x0000
STOP_DATE _H
0x6D
RO
0x0000
The STOP_DATE register (expressed in the Unix time format) is used to store the time when logging was stopped (by RF
or, if enabled, by the button). Default value of STOP_DATE register is 0. STOP_DATE register is set to 0 after a reset
operation.
USER_AREA registers (RW - 28 words)
Register
Address
Op.
Default
USER_AREA_0
0x6E
RW
--
USER_AREA_1
0x6F
RW
--
...
..
..
--
USER_AREA_27
0x89
RW
--
User area is a set of 28 words registers for user defined data storage.
Registers use example
Let suppose that the user wants to configure the tag as described in the first example of the paragraph, in the table
below is presented again the scenario that shall be realized:
Bin
Low Limit
(°C)
High Limit
(°C)
Enabled
Threshold
Store
Samples
Sampling Interval (min.)
0
-20
-15
Yes
0
Yes
15
1
-15
-10
Yes
3
Yes
10
2
-10
0
Yes
2
Yes
5
3
0
70
Yes
1
Yes
1
First of all let’s set the upper limit of each histogram bin. The upper limits in the example are -15, -10, 0 and 70 °C. The
data need to be converted in fixed point 8.5 notation format using the formula (3):
T(°C)
T
fixed
Register
hex
-15
7712
HLIMIT[0] = 0x1E20
-10
7872
HLIMIT[1] = 0x1EC0
0
0
HLIMIT[2] = 0x0000
70
2240
HLIMIT[3] = 0x08C0
All the 4 Bins used in the example need to be enabled in the BIN_ENABLE register, the bits corresponding shall be set to
1: