English
Language : 

WM8352 Datasheet, PDF (167/336 Pages) Wolfson Microelectronics plc – Wolfson AudioPlus™ Stereo CODEC with Power Management
Production Data
WM8352
17.7.8 INTERRUPTS AND FAULT PROTECTION
The battery charger can raise a first-level interrupt, CHG_INT (see Section 24) to report status and
fault conditions to the host processor. The CHG_INT interrupt is the logical OR of all the second-level
interrupts described in Table 111.
Note: If a battery is connected to the BATT pin, but the WM8352 is being powered from the Wall or
USB supplies, then disconnection of the Wall or USB supply will cause the
CHG_VBATT_LT_3P1_EINT and CHG_VBATT_LT_2P85_EINT interrupts to be set.
The CHG_VBATT_LT_3P1_EINT and CHG_VBATT_LT_2P85_EINT interrupts can be masked by
setting the associated mask bits defined in Table 111.
Alternatively, the EXT_USB_FB_EINT and/or EXT_WALL_FB_EINT interrupts (see Section 17.5)
can be used to validate the Battery Undervoltage interrupts - if one of the External Feedback
interrupts is set at the same time as the Battery Undervoltage interrupts, then the Battery
Undervoltage interrupts should be ignored.
ADDRESS
R25 (19h)
Interrupt
Status 1
BIT
LABEL
15 CHG_BATT_HOT_EINT
14 CHG_BATT_COLD_EINT
13 CHG_BATT_FAIL_EINT
12 CHG_TO_EINT
11 CHG_END_EINT
10 CHG_START_EINT
9
CHG_FAST_RDY_EINT
2
CHG_VBATT_LT_3P9_EINT
1
CHG_VBATT_LT_3P1_EINT
R33 (21h)
Interrupt
Status 1
mask
0
CHG_VBATT_LT_2P85_EIN
T
15:0 “IM_” + name of respective bit
in R25 (19h)
Table 111 Battery Charger Interrupts
DESCRIPTION
Battery temp too hot.
(Rising Edge triggered)
Note: This bit is cleared once read.
Battery temp too cold.
(Rising Edge triggered)
Note: This bit is cleared once read.
Battery fail.
(Rising Edge triggered)
Note: This bit is cleared once read.
Charger timeout.
(Rising Edge triggered)
Note: This bit is cleared once read.
Charging final stage.
(Rising Edge triggered)
Note: This bit is cleared once read.
Charging started.
(Rising Edge triggered)
Note: This bit is cleared once read.
Indicates that the charger is ready to go
into fast charge.
(Rising Edge triggered)
Note: This bit is cleared once read.
Battery Voltage < 3.9 interrupt.
(Rising Edge triggered)
Note: This bit is cleared once read.
Battery voltage < 3.1 interrupt.
(Rising Edge triggered)
Note: This bit is cleared once read.
Battery voltage < 2.85 interrupt.
(Rising Edge triggered)
Note: This bit is cleared once read.
Mask bits for battery charger interrupts
Each of these bits masks the respective
bit in R25 when it is set to 1 (e.g.
CHG_FAST_RDY in R25 does not trigger
a CHG_INT interrupt when
IM_CHG_FAST_RDY in R33 is set).
w
PD, February 2011, Rev 4.4
167