Datasheet

71M6543F/71M6543G Data Sheet
v2 55
If TEMP_PWR selects VBAT_RTC when the battery is nearly discharged, the temperature measurement
may not finish. In this case, firmware may complete the measurement by selecting V3P3D
(TEMP_PWR = 1).
Table 45: I/O RAM Registers for Temperature and Battery Measurement
Name Location Rst Wk Dir Description
TBYTE_BUSY
28A0[3] 0 0 R
Indicates that hardware is still writing the 0x28A0
byte. Additional writes to this byte are locked out
while it is one. Write duration could be as long as 6 ms.
TEMP_PER[2:0]
28A0[2:0] 0 R/W
Sets the period between temperature measurements.
Automatic measurements can be enabled in any
mode (MSN, BRN, LCD, or SLP).
TEMP_PER
Time
0
Manual updates (see TEMP_START)
1-6
2 ^ (3+TEMP_PER) (seconds)
7
Continuous
TEMP_BAT
28A0[4] 0 R/W
Causes VBAT to be measured whenever a
temperature measurement is performed.
TEMP_START
28B4[6] 0 R/W
TEMP_PER[2:0] must be zero in order for TEMP_START
to function. If TEMP_PER[2:0] = 0, then setting
TEMP_START starts a temperature measurement.
Ignored in SLP and LCD modes. Hardware clears
TEMP_START when the temperature measurement is
complete.
TEMP_PWR
28A0[6] 0 R/W
Selects the power source for the temperature sensor:
1 = V3P3D, 0 = VBAT_RTC. This bit is ignored in
SLP and LCD modes, where the temperature sensor is
always powered by VBAT_RTC.
TEMP_BSEL
28A0[7] 0 R/W
Selects which battery is monitored by the
temperature sensor: 1 = VBAT, 0 = VBAT_RTC
TEMP_TEST[1:0]
2500[1:0] 0 R/W
Test bits for the temperature monitor VCO.
TEMP_TEST must be 00 in regular operation. Any
other value causes the VCO to run continuously with
the control voltage described below.
TEMP_TEST
Function
00
Normal operation
01
Reserved for factory test
1X
Reserved for factory test
STEMP[10:3]
STEMP[2:0]
2881[7:0]
2882[7:5]
R
R
The result of the temperature measurement.
The STEMP[10:0] value may be obtained in C with a
single 16-bit read and divide by 32 operation as
follows:
volatile int16_t xdata STEMP _at_0x2881;
fa = (float)(STEMP/32);
BSENSE[7:0]
2885[7:0]
R
The result of the battery measurement.
BCURR
2704[3] 0 0 R/W
Connects a 100 µA load to the battery selected by
TEMP_BSEL.