wm8400 Wolfson Microelectronics plc, wm8400 Datasheet - Page 97

no-image

wm8400

Manufacturer Part Number
wm8400
Description
Wolfson Audioplustm Hi-fi Audio Codec And Power Management Unit For Mobile Multimedia
Manufacturer
Wolfson Microelectronics plc
Datasheet
w
Pre-Production
GENERAL PURPOSE INPUT/OUTPUT
The WM8400 provides a number of versatile GPIO functions to enable features such as mobile TV
support, Wi-Fi voice call recording, button and accessory detection and clock output.
The WM8400 has eight multi-purpose pins for these functions.
The following functions are available on some or all of the GPIO pins.
Note that the CODEC Interrupt relates only to the functions described in this section. The Power
Management Interrupt, and the dedicated NIRQ pin, are described separately in the “Interrupt
Events” section. The Jack Detect (GPI7 and GPI8), MICBIAS and Temperature sensor functions are
effective in both the CODEC Interrupt and Power Management Interrupt circuits.
The functions available on each of the GPIO pins are identified in Table 61.
Table 61 Functions Available on GPIO Pins
The GPIO pins are configured by a combination of register settings described in Table 62 to Table 64
in the following section. The order of precedence for the control of the GPIO pins is as listed below.
GPIO Pin Function
ADCLRC
MCLK2
BCLK2
DACLRC2
DACDAT2
ADCLRCB
Button/Accessory Detect Input
Clock Output
Temperature OK
FLL Lock
Logic 1 and Logic 0
Interrupt
Pull-up & Pull-down Available
GPIO1 to GPIO6: Dedicated GPIO pins.
LIN3/GPI7 and RIN3/GPI8: Analogue inputs or button/accessory detect inputs.
Alternative DAC interface (DACDAT, DACLRC, BCLK)
Button detect (latched with programmable de-bounce)
MICBIAS / Accessory current or short circuit detect
Alternative MCLK input
Clock output
Inverted ADCLRC output
Temperature sensor output
FLL lock output
Logic '1' and logic '0' output
CODEC Interrupt Event output
1. Pin pull-up or pull-down (GPIOn_PU, GPIOn_PD)
2. Audio Interface and GPIO Tristate (AIF_TRIS)
3. Pin configuration (AIFSEL, MCLK_SRC, ALRCGPIO1, and ALRCBGPIO6)
4. GPIO functionality (GPIOn_SEL)
GPIO1 GPIO2 GPIO3 GPIO4 GPIO5 GPIO6
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
GPIO PINS
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
PP, April 2009, Rev 3.0
GPI7
Y
WM8400
GPI8
Y
97

Related parts for wm8400