71m6541g-igtr/f Maxim Integrated Products, Inc., 71m6541g-igtr/f Datasheet - Page 53

no-image

71m6541g-igtr/f

Manufacturer Part Number
71m6541g-igtr/f
Description
71m6541d/71m6541f/71m6542f Energy Meter Ics
Manufacturer
Maxim Integrated Products, Inc.
Datasheet
Conversely, the amount of ppm shift for a given value of 4RTC_P+RTC_Q is:
For example, for a shift of -988 ppm, 4⋅RTC_P + RTC_Q = 262403 = 0x40103. RTC_P = 0x10040, and
RTC_Q = 0x03. The default values of RTC_P and RTC_Q, corresponding to zero adjustment, are 0x10000
and 0x0, respectively.
Two settings for the TMUX2OUT test pin, PULSE_1S and PULSE_4S, are available for measuring and
calibrating the RTC clock frequency. These are waveforms of approximately 25% duty cycle with 1s or 4s
period.
If the crystal temperature coefficient is known, the MPU can integrate temperature and correct the RTC
time as necessary. Alternatively, the characteristics can be loaded into an NV RAM and the OSC_COMP
bit (I/O RAM 0x28A0[5]) may be set. In this case, the oscillator is adjusted automatically, even in SLP
mode. See the Real Time RTC Temperature Compensation section for details.
2.5.4.4 RTC Temperature Compensation
The 71M6541D/F and 71M6542F can be configured to regularly measure die temperature, including in
SLP and LCD modes and while the MPU is halted. If enabled by the OSC_COMP bit, the temperature
information is automatically used to correct for the temperature variation of the crystal. A table look-up
method is used which generates the required digital compensation without involvement from the MPU.
Storage for the look-up table is in a dedicated 128 byte NV RAM.
Table 43
v1.1
Name
OSC_COMP
STEMP[10:3]
STEMP[2:0]
LKPADDR[6:0]
LKPAUTOI
LKPDAT[7:0]
LKP_RD
LKP_WR
Default values for RTCA_ADJ, RTC_P and RTC_Q should be nominal values, at the center of
the adjustment range. Un-calibrated extreme values (zero, for example) can cause incorrect
operation.
shows the I/O RAM registers involved in automatic RTC temperature compensation.
Table 43: I/O RAM Registers for RTC Temperature Compensation
Location
28A0[5]
2881[7:0]
2882[7:5]
2887[6:0]
2887[7]
2888[7:0]
2889[1]
2889[0]
© 2008–2011 Teridian Semiconductor Corporation
0
0
0
0
0
0
Rst
4
RTC_P
∆ (������) = �
Wk
0
0
0
0
0
0
+
R/W
R
R/W
R/W
R/W
R/W
R/W
Dir
RTC_Q
4 ∗ ������
Description
Enables the automatic update of RTC_P and RTC_Q
every time the temperature is measured.
The result of the temperature measurement (10-bits of
magnitude data plus a sign bit).
The complete STEMP[10:0] value can be read and
shifted right in a single 16-bit read operation as shown
in the following code fragment.
volatile int16_t xdata STEMP _at_0x2881;
fa = (float)(STEMP/32);
The address for reading and writing the RTC lookup RAM.
Auto-increment flag. When set, LKPADDR[6:0] auto
increments every time LKP_RD or LKP_WR is pulsed.
The incremented address can be read at
LKPADDR[6:0].
The data for reading and writing the RTC lookup RAM.
Strobe bits for the RTC lookup RAM read and write.
When set, the LKPADDR and LKPDAT registers are
used in a read or write operation. When a strobe is
set, it stays set until the operation completes, at which
time the strobe is cleared and LKPADDR is
incremented if LKPAUTOI is set.
32768 ∙ 8
=
��
+ ������
floor
��
1
32768
+
− 1� 10
⋅ ∆
10
8
6
6
+
0
5 .
53

Related parts for 71m6541g-igtr/f