ATAVRSB202 Atmel, ATAVRSB202 Datasheet - Page 130

no-image

ATAVRSB202

Manufacturer Part Number
ATAVRSB202
Description
KIT BATT MGMT FOR ATMEGA32HVB
Manufacturer
Atmel
Datasheets

Specifications of ATAVRSB202

Main Purpose
*
Embedded
*
Utilized Ic / Part
*
Primary Attributes
*
Secondary Attributes
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
22.3
22.3.1
22.3.2
8042B–AVR–06/10
Operation
Device operating state
Interrupt logic
The Charger Detect module is supplied directly from the VFET pin. When operating, the Charger
Detect will monitor the voltage of the BATT pin and detect whether a charger is present or not.
When the voltage on the BATT pin is above the Charger Detect Threshold level V
Characteristics” on page
detected to generate interrupt when a charger is connected or disconnected.
The Charger Detect module will operate as long as the Discharge FET is disabled and is able to
detect a charger in all sleep modes including Power-off.
The Charger Detect module controls the operating state of the ATmega16HVB/32HVB by
enabling/disabling the Voltage Regulator, which supplies the rest of the internal logic on the
chip.
If the chip is in Power-off state the Charger Detect will keep the Voltage Regulator disabled
allowing only the Charger Detect module itself to operate. To be able to start from a Power-off
state a charge voltage above V
nected the Charger Detect module will automatically start the Voltage Regulator. When the
VREG voltage rises, a Power-on Reset (POR) is given and the chip enters normal operating
mode after a reset delay corresponding to T
Charger Connect” on page
When the ATmega16HVB/32HVB is running in normal operation mode software or hardware
could take the chip into Power-off state. For details on entering power-off by software, see
”Power-off Mode” on page
ATmega16HVB/32HVB has a Black-out Detector (BLOD). When a Black-out condition occurs
the Charger Detect will take the chip automatically into Power-off. For details on Black-out
Detection, see
Note that after a software power-off the BATT pin voltage has to fall below the Charger Detect
threshold limit, VPOT, before the chip is able to re-enable the Voltage Regulator and start-up the
device.
When the ATmega16HVB/32HVB is running in normal operation mode, the Charger Detect is
capable of giving an interrupt to the CPU if a charger is connected/disconnected or both. Inter-
rupt is enabled/disabled by writing to the CHGDIE bit in the
Control and Status Register” on page
Interrupt is given when a charger is connected, disconnected or both depending on interrupt
sense control settings. Selecting the correct interrupt sensing is done by writing to the CHGDISC
bits in the
Charger Detect interrupt works asynchronous and will wake the CPU from any sleep mode.
The Charger Detect is automatically disabled/enabled when changing the state of the Discharge
FET, and any interrupt that occurs when enabling or disabling the Discharge FET has to be
carefully interpreted.
When enabling the Discharge-FET the Charger Detect module is automatically disabled.
When disabling the charger detect module a charger appear to be disconnected even if a
charger is present.
”CHGDCSR – Charger Detect Control and Status Register” on page
”Voltage Regulator” on page
230) the CHARGER_PRESENT signal will be high. This signal is edge
43.
38. To protect the device against software malfunctions the
POT
has to be applied at the BATT pin. When a charger is con-
131.
TOUT
132.
. For details on POR, see
ATmega16HVB/32HVB
”CHGDCSR – Charger Detect
”Power-on Reset and
131.
POT
(”Electrical
130

Related parts for ATAVRSB202