0x17 CycleCount()
130
SLUUBD3D – September 2015 – Revised September 2018
Copyright © 2015–2018, Texas Instruments Incorporated
SBS Commands
FC (Bit 5)
: Fully Charged
1 = Battery is fully charged.
0 = Battery is not fully charged.
FD (Bit 4)
: Fully Discharged
1 = Battery is fully discharged.
0 = Battery is ok.
EC3:0 (Bits 3–0)
: Error Code
0x0 = OK
0x1 = Busy
0x2 = Reserved Command
0x3 = Unsupported Command
0x4 = AccessDenied
0x5 = Overflow/Underflow
0x6 = BadSize
0x7 = UnknownError
17.25 0x17 CycleCount()
This read-word function returns the number of discharge cycles the battery has experienced. The value of
CycleCount()
increments when an accumulated discharge is more than
Cycle Count Percentage
of
FullChargeCapacity()
(if
[CCT]
= 1) or
Design Capacity
(if
[CCT]
= 0).
NOTE:
A minimum of 10% of
Design Capacity
change of the accumulated discharge is required
for cycle count increment. This prevents an erroneous cycle count increment due to
extremely low
FullChargeCapacity()
.
SBS
Cmd
Name
Access
Protocol
Type
Min
Max
Unit
SE
US
FA
0x17
CycleCount()
R
R/W
R/W
Word
U2
0
65535
cycles
Class
Subclass
Name
Format
Min
Max
Default
Unit
Description
Fuel
Gauging
Cycle
Cycle Count
Percentage
Unsigned
Integer
0
100
90
%
Cycle Count Percentage
17.26 0x18 DesignCapacity()
This read-word function returns the theoretical pack capacity. The default value is stored in the data flash
value
Design Capacity mAh
or
Design Capacity cWh.
The data should be entered in the same units as
configured by
SpecificationInfo() [IPSCALE]
.
NOTE:
If
BatteryMode()[CAPM]
= 0, then the data reports in mAh.
If
BatteryMode()[CAPM]
= 1, then the data reports in 10 mWh.
SBS
Cmd
Name
Access
Protocol
Type
Min
Max
Unit
SE
US
FA
0x18
DesignCapacity()
R
R/W
R/W
Word
Unsigned
Integer
0
65535
mAh
10 mWh