Product Preview
WM8521
In I
2
S mode, the MSB is sampled on the second rising edge of BCLK following a LRCLK transition.
LRCLK is low during the left samples and high during the right samples.
1/fs
LEFT CHANNEL
LRCLK
RIGHT CHANNEL
BCLK
1 BCLK
DIN
1
MSB
2
3
n-2 n-1 n
LSB
1 BCLK
1
MSB
2
3
n-2 n-1 n
LSB
Figure 3 I
2
S Mode Timing Diagram
RIGHT JUSTIFIED MODE INPUT FORMAT
The WM8521 supports word lengths of up to 16-bits in right justified mode. If a word length shorter
than 16-bits is used, the unused bits should be padded with zeroes.
In right justified mode, LRCLK must be high for a minimum of 16 BCLKs and low for a minimum of
16 BCLKs. Any mark to space ratio on LRCLK is acceptable provided the above requirement is met.
The digital audio interface receives data on the DIN input. Audio Data is time multiplexed with LRCLK
indicating whether the left or right channel is present. LRCLK is also used as a timing reference to
indicate the beginning or end of the data words.
In right justified mode, the LSB is sampled on the rising edge of BCLK preceding a LRCLK transition.
LRCLK is high during the left samples and low during the right samples.
1/fs
LEFT CHANNEL
LRCLK
RIGHT CHANNEL
BCLK
DIN
1
MSB
2
3
14 15 16
LSB
1
MSB
2
3
14 15 16
LSB
Figure 4 Right Justified Mode Timing Diagram
DSP MODE INPUT FORMAT
A DSP compatible, time division multiplexed format is also supported by the WM8521.
This format is of the type where a ‘synch’ pulse is followed by two data words (left and right) of 16 bit
word length. The ‘synch’ pulse replaces the normal duration LRCLK, and DSP mode is auto-detected
by the shorter than normal duration of the LRCLK. If LRCLK is of 4 BCLK or less duration, the DSP
compatible format is selected. Early and Late clock formats are supported, selected by the state of
the FORMAT pin.
w
PP Rev 1.3 December 2004
11