MAX17047/MAX17050
ModelGauge m3 Fuel Gauge
Both these registers are signed two’s complement. These
registers allow for accurate temperature conversions when
using a variety of external NTC thermistors (see Table 4).
Figure 61 shows the TGAIN register format and Figure 62
shows the TOFF register format.
MaxMinTemperature Register (1Ah)
The MaxMinTemperature register maintains the maxi-
mum and minimum Temperature register values since
the last fuel-gauge reset or until cleared by host software.
Each time the Temperature register updates, it is com-
pared against these values. If the reading is larger than
the maximum or less than the minimum, the correspond-
ing values are replaced with the new reading. At power-
up, the MaxTemperature value is set to 80h (minimum)
and the MinTemperature value is set to 7Fh (maximum).
Therefore, both values are changed to the Temperature
register reading after the first update. Host software can
reset this register by writing it to its power-up value of
807Fh. The maximum and minimum temperatures are
each stored as two’s complement 8-bit values with 1NC
resolution. Figure 60 shows the MaxMinTemperature
register format.
IC Memory Map
The device has a 256-word linear memory space con-
taining all user-accessible registers. All registers are
16 bits wide and are read and written as 2-byte values.
When the MSB of a register is read, the MSB and LSB
are latched simultaneously and held for the duration of
the Read Data command. This prevents updates to the
LSB during the read, ensuring synchronization between
the 2 register bytes.
All locations are volatile RAM and lose their data in the
event of power loss. Data is retained during device
shutdown. Each register has a power-on-reset value that
it defaults to at power-up. Word addresses designated
as reserved return an undetermined when read. These
locations should not be written.
TGAIN Register (2Ch)/TOFF Register (2Dh)
The TGAIN and TOFF registers adjust the gain and offset
of the temperature measurement A/D on the AIN pin to
convert the result to a temperature value by the following
equation:
Temperature Register = (AIN Register O
TGAIN Register/16384) + (TOFF Register O 2)
MSB—ADDRESS 1Ah
LSB—ADDRESS 1Ah
6
5
4
3
2
1
0
6
5
4
3
2
1
0
S
MAX MAX MAX MAX MAX MAX MAX
S
MIN MIN MIN MIN MIN MIN MIN
MSb
LSb
MSb
LSb
UNITS: +1NC
Figure 60. MaxMinTemperature Register Format (Output)
MSB—ADDRESS 2Ch
LSB—ADDRESS 2Ch
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
S
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
MSb
LSb
MSb
0
LSb
2 UNITS: +1NC/64
Figure 61. TGAIN Register Format (Input)
���������������������������������������������������������������� Maxim Integrated Products 41