wm8351 Wolfson Microelectronics plc, wm8351 Datasheet - Page 38

no-image

wm8351

Manufacturer Part Number
wm8351
Description
Wolfson Audioplus? Stereo Codec With Power Management
Manufacturer
Wolfson Microelectronics plc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
wm8351CGBE/RV
Manufacturer:
WOLFSON
Quantity:
2 642
Part Number:
wm8351G
Manufacturer:
WOLFSON
Quantity:
20 000
Part Number:
wm8351GEB/RV
Manufacturer:
ST
Quantity:
3 186
WM8351
11 CONTROL INTERFACE
11.1 GENERAL DESCRIPTION
11.2 CONTROL INTERFACE MODES
w
The WM8351 is controlled by writing to its control registers. Readback is available for most registers.
Most aspects of the WM8351 operation can be controlled via this interface. The control interface can
operate as either a 2-, 3- or 4-wire control interface:
2-wire mode uses pins SCLK and SDATA.
3-wire mode uses pins CSB, SCLK and SDATA.
4-wire mode uses pins CSB, SCLK, SDATA and SDOUT.
GPIO7 is automatically enabled as CSB in 3-wire and 4-wire control modes. GPIO6 is automatically
enabled as SDOUT in 4-wire control mode. Register readback is provided on the bi-directional pin
SDATA in 2-/3-wire modes and on SDOUT (GPIO6) in 4-wire mode.
In 2-wire mode, the control interface supports single register access as well as multiple access with
or without address auto-increment.
In Development Mode (see Section 14.4), the WM8351 initially selects the secondary 2-wire control
interface, using pins GPIO10 and GPIO11. This enables configuration of the WM8351 via a separate
interface prior to selecting the normal system operation. Note that, in Custom modes, the secondary
interface is not supported.
The WM8351 control interface can be configured for 2-, 3- or 4-wire operation using the following
register bits:
R6 (06h)
Interface
Control
Table 1 Control Interface Modes
ADDRESS
BIT
3
2
1
SPI_CFG
SPI_4WIRE
SPI_3WIRE
LABEL
DEFAULT
0
0
0
Controls the SDOUT (GPIO6) pin operation in
4 wire mode
0 = SDOUT output is CMOS
1 = SDOUT output is open drain
Note: SPI_4WIRE must be set for this to take
effect.
Selects 3-wire or 4-wire SPI mode
0 = 3 wire mode using bi-directional SDATA pin
1 = 4 wire mode using SDOUT (GPIO6)
Note: SPI_3WIRE must be set for this to take
effect.
Selects 2- or 3-/4-wire mode.
0 = 2-wire mode
1 = 3-/4-wire mode
DESCRIPTION
PD, June 2009, Rev 4.1
Production Data
38

Related parts for wm8351