![ST ST7260E2 Скачать руководство пользователя страница 11](http://html1.mh-extra.com/html/st/st7260e2/st7260e2_user-manual_1355962011.webp)
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.
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 in
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
1
LION_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
5
LION_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.
X
t
hreshold
2
3.6
}
⋅
{
----------------------------
⎝
⎠
⎛
⎞
1024
⋅
=
)
]
X
t
hreshold
2
3.6
}
⋅
{
----------------------------
⎝
⎠
⎛
⎞
1024
⋅
=
)
]
X
t
hreshold
2
3.6
}
⋅
{
----------------------------
⎝
⎠
⎛
⎞
1024
⋅
=
)
]
X
t
hreshold
2
3.6
}
⋅
{
----------------------------
⎝
⎠
⎛
⎞
1024
⋅
=
)
]