
M
Advanced Chemistry-Independent, Level 2
Battery Charger with Input Current Limiting
20
______________________________________________________________________________________
Table 4. ChargingCurrent()*
*Command: 0x14
BIT
NAME
FUNCTION
0
1
2
3
4
5
—
—
—
—
—
—
Not used. Normally a 0.05mV (1mA x 50m
) weight.
Not used. Normally a 0.1mV (2mA x 50m
) weight.
Not used. Normally a 0.2mV (4mA x 50m
) weight.
Not used. Normally a 0.4mV (8mA x 50m
) weight.
Not used. Normally a 0.8mV (16mA x 50m
) weight.
Not used. Normally a 1.6mV (32mA x 50m
) weight.
6
Charge Current, DACI 0
0 = Adds 0mV of charge current-sense voltage.
1 = Adds 3.2mV (64mA x 50m
) charge current-sense voltage.
6.4mV (min) (128mA x 50mA) sense voltage.
7
Charge Current, DACI 1
0 = Adds 0mV of charge current-sense voltage.
1 = Adds 6.4mV (128mA x 50m
) charge current-sense voltage.
8
Charge Current, DACI 2
0 = Adds 0mV of charge current-sense voltage.
1 = Adds 12.8mV (256mA x 50m
) charge current-sense voltage.
9
Charge Current, DACI 3
0 = Adds 0mV of charge current-sense voltage.
1 = Adds 25.6mV (512mA x 50m
) charge current-sense voltage.
10
Charge Current, DACI 4
0 = Adds 0mV of charge current-sense voltage.
1 = Adds 51.2mV (1024mA x 50m
) charge current-sense voltage.
11
Charge Current, DACI 5
0 = Adds 0mV of charge current-sense voltage.
1 = Adds 102.4mV (2048mA x 50m
) charge current-sense voltage.
150.4mV (max) (3008mA x 50mA) sense voltage.
12
–
15
—
0 = Adds 0mV of charge current-sense voltage.
1 = Sets charge current-sense voltage into overrange.
150.4mV (max) (3008mA x 50mA) sense voltage.
ChargingCurrent() (POR: 0x0080)
The ChargingCurrent() command uses the write-word
protocol (Figure 3a). The command code for
ChargingCurrent() is 0x14 (0b00010100). The 16-bit
binary number formed by D15
–
D0 represents the cur-
rent-limit set point (I0) in milliamps. However, since the
MAX1645B has 64mA resolution in setting I0, the D0
–
D5
bits are ignored as shown in Table 4. Figure 6 shows the
mapping between I0 (the current-regulation-loop set
point) and the ChargingCurrent() code. All codes above
0b00 1011 1100 0000 (3008mA) result in a current over-
range, limiting the charger current to 3.008A. All codes
below 0b0000 0000 1000 0000 (128mA) turn the charg-
ing current off. A 50m
sense resistor (R2 in Figure 1) is
required to achieve the correct CODE/current scaling.
The power-on reset value for the ChargingCurrent() reg-
ister is 0x0080; thus, the first time a MAX1645B is pow-
ered on, the BATT current regulates to 128mA. Any time
6.4
0x0080
0x0800
0XFFFF
0x0BC0
0x0400
51.2
150.4
A
I
102.4
Figure 6. Average Voltage Between CSIP and CSIN vs.
ChargingCurrent() Code