
UM0497 Running the evaluation board
11/21
2.3 Battery charging status monitoring
There are two LEDS available (D8 and D9) on the evaluation board. Table 1 explains the
behavior of these status LEDs according to the charging status.
Note: An error condition occurs for following reasons:
Temperature (heat or cold condition)
Short-circuit
Bad battery when the impedance of the battery becomes very low.
Note: For the condition due to a bad battery, if impedance of the battery becomes very high, then
current does not flow through the battery. In this case charging is stopped and the status
LED shows that charging is done.
2.4 Controlling/changing the charging parameters
The variables inTable 2 are used to control different charging parameters.
Table 1. Charging LED status
SL NO Charging status Red LED (D8) Green LED (D9)
1 Battery not present / Idle OFF OFF
2 Charging ongoing ON OFF
3 Charging done OFF ON
4 Error in charging ON ON
Table 2. Controlling/ changing the charging parameters
File name: Bc.h
Sl No Parameter
name Function Formulae Comments
1LION_VF_H To define constant voltage
threshold to fix the constant
voltage level.
For example:
X = 597 for 4.2 V
threshold.
2 LION_VFAST Voltage to switch from pre-charge
level
For example:
X = 469 for 3.3V pre-
charge threshold.
3 LION_VFAIL Not used
4 LION_VF_L Not used
5LION_VSC
Used along with LION_TFAIL to
define bad battery condition
For example:
X = 213 for 1.5V threshold.
6 LION_VSAT Voltage to switch from pre-charge
level
For example:
X = 469 for 3.3V pre-
charge threshold.
Xthreshold
23.6}⋅{
----------------------------
⎝⎠
⎛⎞
1024⋅=
)
]
Xthreshold
23.6}⋅{
----------------------------
⎝⎠
⎛⎞
1024⋅=
)
]
Xthreshold
23.6}⋅{
----------------------------
⎝⎠
⎛⎞
1024⋅=
)
]
Xthreshold
23.6}⋅{
----------------------------
⎝⎠
⎛⎞
1024⋅=
)
]