Production Data
WM8766
SOFTWARE CONTROL INTERFACE OPERATION
The WM8766 is controlled using a 3-wire serial interface in software mode or pin programmable in
hardware mode.
The control mode is selected by the state of the MODE pin.
3-WIRE (SPI COMPATIBLE) SERIAL CONTROL MODE
MD/DM is used for the program data, MC/IWL is used to clock in the program data and ML/I2S is
used to latch the program data. MD/DM is sampled on the rising edge of MC/IWL. The 3-wire
interface protocol is shown in Figure 18.
ML/I2S
MC/IWL
MD/DM
B15 B14 B13 B12 B11 B10 B9 B8 B7
B6 B5 B4 B3 B2
B1 B0
Figure 18 3-wire SPI Compatible Interface
1. B[15:9] are Control Address Bits
2. B[8:0] are Control Data Bits
3. ML/I2S is edge sensitive – the data is latched on the rising edge of ML/I2S.
CONTROL INTERFACE REGISTERS
ATTENUATOR CONTROL MODE
Setting the ATC register bit causes the left channel attenuation settings to be applied to both left and
right channel DACs from the next audio input sample. No update to the attenuation registers is
required for ATC to take effect.
REGISTER ADDRESS BIT
0000010
3
DAC Channel Control
LABEL
ATC
DEFAULT
0
DESCRIPTION
Attenuator Control Mode:
0: Right channels use right
attenuations
1: Right channels use left
attenuations
w
PD Rev 4.1 July 2005
19