wm9712l Wolfson Microelectronics plc, wm9712l Datasheet - Page 48

no-image

wm9712l

Manufacturer Part Number
wm9712l
Description
Ac?97 Audio And Touchpanel Codec
Manufacturer
Wolfson Microelectronics plc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
wm9712lEFL
Manufacturer:
WOLF
Quantity:
4 290
Part Number:
wm9712lEFL/RV
Manufacturer:
WM
Quantity:
20 000
Part Number:
wm9712lGEFL
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm9712lGEFL/RV
Manufacturer:
WM
Quantity:
20 000
Part Number:
wm9712lGEFL/V
Manufacturer:
VISHAY
Quantity:
1 000
WM9712L
w
BATTERY ALARM AND ANALOGUE COMPARATORS
The battery alarm function differs from battery measurement in that it does not actually measure the
battery voltage. Battery alarm only indicates “OK”, “Low” or “Dead”. The advantage of the battery
alarm function is that it does not require a clock and can therefore be used in low-power sleep or
standby modes.
Figure 13 Battery Alarm Example Schematic
The typical schematic for a dual threshold battery alarm is shown above. This alarm has two
thresholds, “dead battery” (COMP1) and “low battery” (COMP2). R1, R2 and R3 set the threshold
voltages. Their values can be up to about 1MΩ in order to keep the battery current [I
(R1+R2+R3)] to a minimum (higher resistor values may affect the accuracy of the system as leakage
currents into the input pins become significant).
A dead battery alarm is the highest priority of interrupt in the system. It should immediately save all
unsaved data and shut down the system. The GP15, GS15 and GW15 bits must be set to generate
this interrupt.
A low battery alarm has a lower priority than a dead battery alarm. Since the threshold voltage is
higher than for a dead battery alarm, there is enough power left in the battery to give the user a
warning and/or shut down “gracefully”. When V
alarms are filtered out by the COMP2 delay function.
The purpose of the capacitor C is to remove from the comparator inputs any high frequency noise or
glitches that may be present on the battery (for example, noise generated by a charge pump). It
forms a low pass filter with R1, R2 and R3.
Provided that the cutoff frequency is several orders of magnitude lower than the noise frequency f
this simple circuit can achieve excellent noise rejection.
The circuit shown above also allows for measuring the battery voltage V
by setting the touchpanel ADC input to be either COMP1 (ADCSEL = 100) or COMP2 (ADCSEL =
101) (see also Auxiliary ADC Inputs).
Dead battery alarm: COMP1 triggers when V
Low battery alarm: COMP2 triggers when V
Low pass cutoff f
Noise rejection [dB] = 20 log (f
V
BATT
REGULATOR
VOLTAGE
I
ALARM
c
[Hz] = 1/ (2π C × (R1 || (R2+R3)))
R1
AVDD, DCVDD, ...
R2
R3
n
/ f
C
COMP1
COMP2
c
)
AUX1/
AUX2/
BATT
BATT
BATT
gets close to the low battery threshold, spurious
< VREF × (R1+R2+R3) / R3
< VREF × (R1+R2+R3) / (R2+R3)
+
-
-
+
V
REF
DEAD
LOW
BAT
BAT
GPIO2/
IRQ
BATT
INTERRUPT
WM9712L
GPIO /
LOGIC
PD Rev 4.5 August 2006
. This is achieved simply
GPIO
PINS
Production Data
ALARM
= V
BATT
48
n
/
,

Related parts for wm9712l