DS2745 Low-Cost I
2
C Battery Monitor
10 of 15
CURRENT BLANKING
The Current Blanking feature modifies current measurement result prior to being accumulated in the ACR. Current
Blanking occurs conditionally when a current measurement (raw current + COBR) falls in one of two defined
ranges. The first range prevents charge currents less than 100V from being accumulated. The second range
prevents discharge currents less than 25V in magnitude from being accumulated. Charge current blanking is
always performed, however, discharge current blanking must be enabled by setting the NBEN bit in the
Status/Config register. See the register description for additional information.
ACCUMULATION BIAS
The Accumulation Bias register (ABR) allows a programmable offset value to be added to the current accumulation
process. The new ACR value results from the addition of the Current register value plus ABR plus the previous
ACR value. ABR can be used to intentionally skew the current accumulation to estimate system stand-by currents
that are too small to measure. ABR value is not subject to the Current Blanking thresholds.
Read and write access is allowed to the ABR. Whenever the ABR is written, the new value is applied to all
subsequent current measurements. ABR can be set to any value between +198.1V and -199.7V in 1.56V
steps. The ABR value is stored as a two’s complement value in volatile memory, and must be initialized via the
interface on power-up. Figure 9 describes the ABR address, format, and resolution.
Figure 9. ACCUMULATION BIAS REGISTER FORMAT
Address 62
S 2
6
2
5
2
4
2
3
2
2
2
1
2
0
MSb LSb
“S”: sign bit Units: 1.56V/Rsns
MEMORY
The DS2745 has memory space with registers for instrumentation, status, and control. When the MSB of a two-
byte register is read, both the MSB and LSB are latched and held for the duration of the read data command to
prevent updates during the read and ensure synchronization between the two register bytes. For consistent results,
always read the MSB and the LSB of a two-byte register during the same read data command sequence.
DS2745 Low-Cost I
2
C Battery Monitor
11 of 15
Table 5. MEMORY MAP
ADDRESS (HEX) DESCRIPTION READ/WRITE POR DEFAULT
00 Reserved
01 Status/Config Register R/W
11000000b
02 to 08 Reserved
09 to 0D Reserved
0A Temperature Register MSB R
0B Temperature Register LSB R
0C Voltage Register MSB R
0D Voltage Register LSB R
0E Current Register MSB R
0F Current Register LSB R
10 Accumulated Current Register MSB R/W
No Change
11 Accumulated Current Register LSB R/W
No Change
12 to 61 Reserved
61 Offset Bias Register R/W
00h
62 Accumulation Bias Register R/W
00h
63 to FF Reserved
STATUS/CONFIG REGISTER
The Status/Config register is read/write with individual bits designated as read only. Bit values indicate status as
well as program or select device functionality.
Figure 10. STATUS/CONFIG REGISTER FORMAT
ADDRESS 01
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
X PORF SMOD NBEN PIO A2 A1 A0
X — Reserved.
PORF — The Power-On-Reset Flag is set to indicate initial power-up. PORF is not cleared internally. The user
must write this flag value to a 0 in order to use it to indicate subsequent power-up events. If PORF indicates a
power-on-reset, the ACR could be misaligned with the actual battery state of charge. The system can request a
charge to full in order to synchronize the ACR with the battery charge state. PORF is read/write-to-zero.
SMOD — SLEEP Mode Enable. A value of 1 allows the DS2745 to enter sleep mode when both SDA and SCL
pins is low for 2s. A value of 0 disables the transition to sleep mode. The power-up default of SMOD = 0.
NBEN — Negative Blanking Enable. A value of 1 enables blanking of negative current values up to 25V. A value
of 0 disables blanking of negative currents. The power-up default of NBEN = 0.
PIO — Programmable Input/Output. PIO provides both control of the PIO open-drain output driver and readback of
the PIO pin logic level. Writing a 0 to PIO drives PIO pin low. Writing a 1 deactivates the PIO output and allows
readback of an external signal. Reading PIO returns the logic state on the pin. PIO is RESET on POR.
A2:A0 — I
2
C Slave Address bits. A2:A0 set the lower 3 bits of the I
2
C slave address. When modified from the
power-up default slave address of 1001000b, accessing the DS2745 requires the modified slave address following
a start or repeated start.
DS2745 Low-Cost I
2
C Battery Monitor
12 of 15
2-WIRE BUS SYSTEM
The 2-Wire bus system supports operation as a slave only device in a single or multi-slave, and single or multi-
master system. Up to 128 slave devices may share the bus by uniquely setting the 7-bit slave address. The 2-wire
interface consists of a serial data line (SDA) and serial clock line (SCL). SDA and SCL provide bidirectional
communication between the DS2745 slave device and a master device at speeds up to 400kHz. The DS2745’s
SDA pin operates bidirectionally, that is, when the DS2745 receives data, SDA operates as an input, and when the
DS2745 returns data, SDA operates as an open-drain output, with the host system providing a resistive pull-up.
The DS2745 always operates as a slave device, receiving and transmitting data under the control of a master
device. The master initiates all transactions on the bus and generates the SCL signal as well as the START and
STOP bits which begin and end each transaction.
Bit Transfer
One data bit is transferred during each SCL clock cycle, with the cycle defined by SCL transitioning low-to-high and
then high-to-low. The SDA logic level must remain stable during the high period of the SCL clock pulse. Any
change in SDA when SCL is high is interpreted as a START or STOP control signal.
Bus Idle
The bus is defined to be idle, or not busy, when no master device has control. Both SDA and SCL remain high
when the bus is idle. The STOP condition is the proper method to return the bus to the idle state.
START and STOP Conditions
The master initiates transactions with a START condition (S), by forcing a high-to-low transition on SDA while SCL
is high. The master terminates a transaction with a STOP condition (P), a low-to-high transition on SDA while SCL
is high. A Repeated START condition (Sr) can be used in place of a STOP then START sequence to terminate one
transaction and begin another without returning the bus to the idle state. In multimaster systems, a Repeated
START allows the master to retain control of the bus. The START and STOP conditions are the only bus activities
in which the SDA transitions when SCL is high.
Acknowledge Bits
Each byte of a data transfer is acknowledged with an Acknowledge bit (A) or a No Acknowledge bit (N). Both the
master and the DS2745 slave generate acknowledge bits. To generate an Acknowledge, the receiving device must
pull SDA low before the rising edge of the acknowledge-related clock pulse (ninth pulse) and keep it low until SCL
returns low. To generate a No Acknowledge (also called NAK), the receiver releases SDA before the rising edge of
the acknowledge-related clock pulse and leaves SDA high until SCL returns low. Monitoring the acknowledge bits
allows for detection of unsuccessful data transfers. An unsuccessful data transfer can occur if a receiving device is
busy or if a system fault has occurred. In the event of an unsuccessful data transfer, the bus master should re-
attempt communication.
Data Order
A byte of data consists of 8 bits ordered most significant bit (msb) first. The least significant bit (lsb) of each byte is
followed by the Acknowledge bit. DS2745 registers composed of multi-byte values are ordered most significant
byte (MSB) first. The MSB of multi-byte registers is stored on even data memory addresses.
Slave Address
A bus master initiates communication with a slave device by issuing a START condition followed by a Slave
Address (SAddr) and the read/write (R/W) bit. When the bus is idle, the DS2745 continuously monitors for a
START condition followed by its slave address. When the DS2745 receives a slave address that matches the value
in its Status/Config register, it responds with an Acknowledge bit during the clock period following the R/W bit. The
default Slave Address at power-up is 1001000. The lower three bits of the slave address can be re-programmed,
refer to the Status/Config register description for details.

DS2745U+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Battery Management I2C Battery Monitor Fuel Gauge
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet