ATAVRSB202 Atmel, ATAVRSB202 Datasheet - Page 110

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
19.4
19.5
8042B–AVR–06/10
Regular Current Detection Operation
Offset Canceling by Polarity Switching
Figure 19-3. Accumulation Current Conversions
By setting the CADSE bit in CADCSRA the CC-ADC will enter a special Regular Current Detec-
tion Sampling Mode.
In this mode the CC-ADC will do one Instantaneous Current Conversion on regular sampling
intervals while updating of the Accumulation Current Register is automatically disabled. The
sampling interval is controlled by writing to the CADSI bits in CADCSRA.
Each time a conversion is completed the result is compared with Regular Charge/Discharge
Threshold levels specified in the CADRCC/CADRDC registers. If interrupt is enabled and the
voltage is above/below the specified limit a Regular Current Detection Interrupt will be issued.
Figure 19-4
Figure 19-4. Regular Current Detection Mode (CADSE=1)
Regular Current
Detection Operation
Regular Current
Detection Interupt
Regular Discharge
Current Threshold
The CC-ADC offers Polarity Switching for internal offset canceling. By switching the polarity of
the sampled input signal at selected time intervals, the internal voltage offset of the CC-ADC will
cancel at the output. This feature prevents the CC-ADC from accumulating an offset error over
time.
Enable
Accumulation
Interrupt
Accumulation
Data
Read byte 1
Read byte 2
Read byte 3
Read byte 4
Regular Charge
Current Threshold
illustrates the Regular Current Detection Mode.
Current through R
~250, 500, 1000, 2000ms
INVALID DATA
Turn-off
1, 2, 3, or 4s settling
SENSE
Measure
~12ms
125, 250, 500,
or 1000 ms
ATmega16HVB/32HVB
DATA 1
~250, 500, 1000, 2000ms
125, 250, 500,
or 1000 ms
DATA 2
Turn-off
1000, or 2000 ms
250, 500,
DATA 3
Measure
~12ms
DATA 5
110

Related parts for ATAVRSB202