wm9715l Wolfson Microelectronics plc, wm9715l Datasheet - Page 48
![no-image](/images/no-image-200.jpg)
wm9715l
Manufacturer Part Number
wm9715l
Description
Ac?97 Audio And Touchpanel Codec
Manufacturer
Wolfson Microelectronics plc
Datasheet
1.WM9715L.pdf
(77 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
wm9715lGEFL
Manufacturer:
WOLFSON
Quantity:
20 000
Company:
Part Number:
wm9715lGEFL/RV
Manufacturer:
WOLFSON
Quantity:
358
Part Number:
wm9715lGEFL/RV
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm9715lGEFL/V
Manufacturer:
WOLFSON
Quantity:
20 000
WM9715L
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
c
[Hz] = 1/ (2π C × (R1 || (R2+R3)))
n
/ f
c
)
BATT
BATT
BATT
gets close to the low battery threshold, spurious
< VREF × (R1+R2+R3) / R3
< VREF × (R1+R2+R3) / (R2+R3)
BATT
PD Rev 4.0 December 2007
. This is achieved simply
Production Data
ALARM
= V
BATT
48
n
/
,