wm8903 Wolfson Microelectronics plc, wm8903 Datasheet - Page 91

no-image

wm8903

Manufacturer Part Number
wm8903
Description
Ultra Low Power Codec For Portable Audio Applications
Manufacturer
Wolfson Microelectronics plc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
wm8903LGEFK
Manufacturer:
MICRO
Quantity:
10 948
Part Number:
wm8903LGEFK
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm8903LGEFK/RV
Manufacturer:
SHARP
Quantity:
93
Part Number:
wm8903LGEFK/RV
Quantity:
2 386
Part Number:
wm8903LGEFK/RV
Manufacturer:
WOFLSON
Quantity:
20 000
Part Number:
wm8903LGEFK/RVA
Manufacturer:
SHARP
Quantity:
709
Part Number:
wm8903LGEFK/RVA
Manufacturer:
WOFLSON
Quantity:
20 000
Pre-Production
GENERAL PURPOSE INPUT/OUTPUT (GPIO)
w
The WM8903 provides five multi-function pins which can be configured to provide a number of
different functions. These are digital input/output pins on the DBVDD power domain. The GPIO pins
are:
Table 64 lists the functions are available on each of these pins. The default function is highlighted for
each pin.
Table 64 GPIO Functions Available
The register fields that control the functionality of these pins are described in Table 65. For each pin,
the selected function is determined by the GPn_FN field, where n identifies the GPIO pin (1 to 5).
Note that the INTERRUPT pin is also referred to as GPIO4; the BCLK pin is also referred to as
GPIO5.
The pin direction, set by GPn_DIR, must be set according to function selected by GPn_FN.
The characteristics of any pin selected as an output may be controlled by setting GPn_OP_CFG - an
output pin may be either CMOS or Open-Drain. When a pin is configured as a GPIO output, its level
can be set to logic 0 or logic 1 using the GPn_LVL field.
A pin configured as a GPIO input can be used to trigger an Interrupt event. This input may be
configured as active high or active low using the GPn_IP_CFG field. De-bouncing of this input may
be enabled using the GPn_DB field. Internal pull-up and pull-down resistors may be enabled using
the GPn_PU and GPn_PD fields. (Note that if GPn_PU and GPn_PD are both set for any GPIO pin,
then the pull-up and pull-down will be disabled.)
Each of the GPIO pins is an input to the Interrupt control circuit and can be used to trigger an
Interrupt event. The register field GPn_INTMODE selects edge detect or level detect Interrupt
functionality. Edge detect raises an interrupt on rising and falling transitions. Level detect asserts the
interrupt for as long as the GPIO status is asserted. See “Interrupts”.
The Digital Microphone Interface and MICBIAS Current Detect functions are described in the
“Analogue Input Signal Path” section.
Interrupt Output is the default function of GPIO4. See “Interrupts” for further details.
GPIO Pin Function
GPIO output
BCLK input/output
Interrupt output
Digital Microphone Clock (DMIC_LR)
Digital Microphone Data (DMIC_DAT)
GPIO input
MICBIAS Current detect output
MICBIAS Short Circuit detect output
GPIO1/DMIC_LR
GPIO2/DMIC_DAT
GPIO3/ADDR
INTERRUPT (GPIO4)
BCLK (GPIO5)
GPIO1/D
MIC_LR
Yes
Yes
Yes
Yes
Yes
Yes
No
No
MIC_DAT
GPIO2/D
Yes
Yes
Yes
Yes
Yes
Yes
No
No
GPIO3/
ADDR
GPIO PINS
Yes
Yes
Yes
Yes
Yes
No
No
No
PP, Rev 3.1, August 2009
INTERRUPT
(GPIO4)
Yes
Yes
Yes
Yes
Yes
No
No
No
WM8903
(GPIO5)
BCLK
Yes
Yes
Yes
Yes
Yes
Yes
No
No
91

Related parts for wm8903