Datasheet

135
8024A–AVR–04/08
ATmega8HVA/16HVA
24. FET Control
24.1 Overview
The FET control is used to enable and disable the Charge FET and Discharge FET. Normally,
the FETs are enabled and disabled by SW writing to the FET Control and Status Register
(FCSR). However, the autonomous Battery Protection circuitry will if necessary override SW set-
tings to protect the battery cells from too high Charge- or Discharge currents. Note that the CPU
is never allowed to enable a FET that is disabled by the battery protection circuitry. The FET
control is shown in Figure 24-1.
If Current Protection is activated by the Battery Protection circuitry both the Charge-FET and
Discharge FET will be disabled by hardware. When the protection disappears the Current Pro-
tection Timer will ensure a hold-off time of 1 second before software can re-enable the external
FETs.
If C-FET is disabled and D-FET enabled, discharge current will run through the body-drain diode
of the C-FET and vice versa. To avoid the potential heat problem from this situation, software
must ensure that D-FET is not disabled when a charge current is flowing, and that C-FET is not
disabled when a discharge current is flowing.
If charging deeply over-discharged cells, the FET driver must be operated in the Deep Under-
voltage Recovery mode. When the cell voltage raises to an acceptable level, Deep Under-volt-
age Recovery mode should be disabled by software by setting the FCSR (DUVRD bit). To avoid
that C-FET is opened while current protection is active, DUVR mode is automatically disabled by
hardware, in this case.
Figure 24-1. FET Control Block Diagram
24.1.1 FETs disabled during reset
During reset, both FETs will be disabled immediately and the chip will exit from DUVR mode. It is
important to notice that a reset will lead to an immediate disabling of the FETs regardless of the
Battery Protection parameter settings. A BOD reset may occur as a result of a short-circuit con-
dition. Depending on the selected Battery Protection Timing, actual current consumption and
dimensioning of CREG, a BOD reset may occur before the Battery Protection delay timing has
expired, causing the FETs to be disabled.
FET
Control
and
Status
Register
DFE
CFE
BATTERY_PROTECTION
Power-off Mode
8-BIT DATA BUS
CHARGE_E
N
DISCHARGE_E
N
DUVRD
DUVR_OF
F
Current Protection
Timer