WM8594_07 Wolfson Microelectronics Ltd., WM8594_07 Datasheet - Page 18

no-image

WM8594_07

Manufacturer Part Number
WM8594_07
Description
24-bit 192khz 2vrms Multi-channel Codec
Manufacturer
Wolfson Microelectronics Ltd.
Datasheet
WM8594
2-WIRE (SM-BUS COMPATIBLE) SERIAL CONTROL INTERFACE MODE
w
Many devices can be controlled by the same bus, and each device has a unique 7-bit address.
REGISTER WRITE
The controller indicates the start of data transfer with a high to low transition on SDIN while SCLK
remains high. This indicates that a device address and data will follow. All devices on the 2-wire bus
respond to the start condition and shift in the next eight bits on SDIN (7-bit address and read/write
bit, MSB first). If the device address received matches the address of the WM8594, the WM8594
responds by pulling SDIN low on the next clock pulse (ACK). If the address is not recognised, the
WM8594 returns to the idle condition and waits for a new start condition with valid address.
When the WM8594 has acknowledged a correct address, the controller sends the first byte of control
data (B23 to B16, i.e. the WM8594 register address). The WM8594 then acknowledges the first data
byte by pulling SDIN low for one SCLK pulse. The controller then sends a second byte of control data
(B15 to B8, i.e. the first 8 bits of register data), and the WM8594 acknowledges again by pulling
SDIN low for one SCLK pulse. Finally, the controller sends a third byte of control data (B7 to B0, i.e.
the final 8 bits of register data), and the WM8594 acknowledges again by pulling SDIN low for one
SCLK pulse.
The transfer of data is complete when there is a low to high transition on SDIN while SCLK is high.
After receiving a complete address and data sequence the WM8594 returns to the idle state and
waits for another start condition. If a start or stop condition is detected out of sequence at any point
during data transfer (i.e. SDIN changes while SCLK is high), the WM8594 reverts to the idle
condition.
The WM8594 device address is 34h (0110100) or 36h (0110110), selectable by control of /CS.
Table 8 2-Wire Control Interface Bus Address Selection
Figure 6 2-Wire Write Protocol
AUTO-INCREMENT REGISTER WRITE
It is possible to write to multiple consecutive registers using the auto-increment feature. When
AUTO_INC
Figure 7. As with normal register writes, the controller indicates the start of data transfer with a high
to low transition on SDIN while SCLK remains high, and all devices on the bus receive the device
address.
When the WM8594 has acknowledged a correct address, the controller sends the first byte of control
data (A6 to A0, i.e. the WM8594 initial register address). The WM8594 then acknowledges the first
control data byte by pulling SDIN low for one SCLK pulse. The controller then sends a byte of
register data. The WM8594 acknowledges the first byte of register data, auto-increments the register
address to be written to, and waits for the next byte of register data. Subsequent bytes of register
data can be written to consecutive registers of the WM8594 without setting up the device and register
address.
The transfer of data is complete when there is a low to high transition on SDIN while SCLK is high.
/CS (PIN 45)
0
1
is
set,
the
2-WIRE BUS ADDRESS
register
34h (0110100)
36h (0110110)
write
protocol
follows
the
PP Rev 1.0 January 2007
method
Product Preview
shown
18
in

Related parts for WM8594_07