wm9714l Wolfson Microelectronics plc, wm9714l Datasheet - Page 72

no-image

wm9714l

Manufacturer Part Number
wm9714l
Description
Ac?97 Audio Codec
Manufacturer
Wolfson Microelectronics plc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
wm9714lG
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm9714lGEFL
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm9714lGEFL-RV
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm9714lGEFL/RV
Manufacturer:
ON
Quantity:
10 001
WM9714L
GPIO AND INTERRUPT CONTROL
w
The WM9714L has eight GPIO pins that operate as defined in the AC’97 Revision 2.2 specification.
Each GPIO pin can be set up as an input or as an output, and has corresponding bits in register 54h
and in slot 12. The state of a GPIO output is determined by sending data through slot 12 of outgoing
frames (SDATAOUT). Data can be returned from a GPIO input by reading the register bit, or
examining slot 12 of incoming frames (SDATAIN). GPIO inputs can be made sticky, and can be
programmed to generate an interrupt, transmitted either through the AC-Link or through a dedicated,
level-mode interrupt pin (GPIO2/IRQ, pin 45).
In addition, the GPIO pins 1, 3, 4 and 5 can be used for the PCM interface by setting bit 15 of
register 36h (see “PCM Codec” section). Setting this bit disables any GPIO functions selected on
these pins.
Table 55 GPIO Additional Function Control
GPIO pins 2 to 8 are multi-purpose pins that can also be used for other (non-GPIO / -PCM)
purposes, e.g. as a S/PDIF output. This is controlled by register 56h (see Table 58)
Note that GPIO6/7/8 each have an additional function independent of the GPIO / auxiliary functions
discussed above. If these pins are to be used as GPIO then the independent function needs to be
disabled using its own control registers, e.g. to use pin 11 as a GPIO then the RESETB function
needs to be disabled (RSTDIS, register 5Ah, bit 8).
Independently of the GPIO pins, the WM9714L also has seven virtual GPIOs. These are signals from
inside the WM9714L, which are treated as if they were GPIO input signals. From a software
perspective, virtual GPIOs are the same as GPIO pins, but they cannot be set up as outputs, and are
not tied to an actual pin. This allows for simple, uniform processing of different types of signals that
may generate interrupts (e.g. battery warnings, jack insertion, high-temperature warning, or GPIO
signals).
36h
PCM Codec
Control
56h
GPIO Pin
Sharing
REGISTER
ADDRESS
15
8:2
BIT
CTRL
GE#
LABEL
0
1 (GPIO)
DEFAULT
GPIO Pin Configuration Control
0 = GPIO pins used as GPIOs
1 = GPIO pins used as PCM interface
Note: For PCM interface, one or more of these
pins (depending on master/slave/partial master
mode) must be set up as an output by writing to
register 4Ch (see Table 57)
Toggle GPIO pin function
0: secondary function enabled
1: GPIO enabled
DESCRIPTION
PP, Rev 3.2, October 2008
Pre-Production
72

Related parts for wm9714l