WM8581SEFT Wolfson Microelectronics Ltd., WM8581SEFT Datasheet - Page 18

no-image

WM8581SEFT

Manufacturer Part Number
WM8581SEFT
Description
Multichannel Codec with S/pdif Transceiver
Manufacturer
Wolfson Microelectronics Ltd.
Datasheet
WM8581
CONTROL INTERFACE OPERATION
w
Control of the WM8581 is implemented either in Hardware Control Mode or Software Control Mode.
The method of control is determined by the state of the HWMODE pin. If the HWMODE pin is low,
Software Control Mode is selected. If the HWMODE pin is high, Hardware Control Mode is selected.
The Software Control Interface is described below and Hardware Control Mode is described on page
70.
Software control is implemented with a 3-wire (3-wire write, 4-wire read, SPI compatible) or 2-wire (2-
wire write, 2-wire read) serial interface.
The interface configuration is determined by the state of the SWMODE pin. If the SWMODE pin is
low, the 2-wire configuration is selected. If SWMODE is high the 3-wire SPI compatible configuration
is selected.
Table 8 Hardware/Software Mode Setup
The control interface is 5V tolerant, meaning that the control interface input signals CSB, SCLK and
SDIN may have an input high level of 5V while DVDD is 3V. Input thresholds are determined by
DVDD.
3-WIRE (SPI COMPATIBLE) SERIAL CONTROL MODE WITH READ-BACK
SDIN is used to program data, SCLK is used to clock in the program data and CSB is used to latch
the program data. SDIN is sampled on the rising edge of SCLK. The 3-wire interface write protocol is
shown in Figure 6.
REGISTER READ-BACK
The read-only status registers can be read back via the SDO pin. To enable readback the READEN
control register bit must be set. The status registers can then be read using one of two methods,
selected by the CONTREAD register bit.
With CONTREAD set, a single register can be read back simply by writing to any other register or a
dummy register. The register to be readback is determined by the READMUX[2:0] bits. When a write
to the device is done, the device will respond with the status byte set by the READMUX register bits
in the last 8 bits of the write.
Figure 6 3-Wire SPI Compatible Interface.
1.
2.
3.
Software Control
A[6:0] are Control Address Bits
D[8:0] are Control Data Bits
CSB is edge sensitive – the data is latched on the rising edge of CSB.
0
HWMODE
Hardware Control
1
2-wire control
0
SWMODE
3-wire control
1
PP Rev 1.0 March 2006
Product Preview
18

Related parts for WM8581SEFT