WM8581SEFT Wolfson Microelectronics Ltd., WM8581SEFT Datasheet - Page 64

no-image

WM8581SEFT

Manufacturer Part Number
WM8581SEFT
Description
Multichannel Codec with S/pdif Transceiver
Manufacturer
Wolfson Microelectronics Ltd.
Datasheet
WM8581
w
Table 61 S/PDIF Status Register
Table 62 Interrupt Mask Control Register
REGISTER
ADDRESS
SPDSTAT
(read-only)
R49
REGISTER
31h
ADDRESS
INTMASK
R37
25h
BIT
5:4
0
1
2
3
6
The interrupt and update signals used to generate INTB can be masked as necessary. The MASK
register bit prevents flags from asserting INTB and from updating the Interrupt Status Register (R43).
Masked flags update the S/PDIF Status Register (R49).
ERROR HANDLING
Should a TRANS_ERR or INVALID flag be asserted, it is assumed the recovered S/PDIF sub-frame
is corrupted or invalid. If either flag is masked using the mask register, the WM8581 will overwrite the
recovered frame (i.e. both sub-frames) with either all-zeros or the last valid data sample; depending
on how FILLMODE has been set. If both flags are unmasked, data is not modified and the user must
handle corrupted data appropriately.
BIT
8:0
REC_FREQ
AUDIO_N
DEEMPH
UNLOCK
PCM_N
LABEL
CPY_N
[1:0]
MASK[8:0]
LABEL
DEFAULT
--
-
-
-
-
-
DEFAULT
000000000
Recovered Channel Status bit-1.
0 = Data word represents audio PCM samples.
1 = Data word does not represent audio PCM samples.
Indicates that non-audio code (defined in IEC-61937)
has been detected.
0 = Sync code not detected.
1 = Sync code detected – received data is not audio
PCM.
Recovered Channel Status bit-2 (active low).
0 = Copyright is asserted for this data.
1 = Copyright is not asserted for this data.
Recovered Channel Status bit-3
0 = Recovered S/PDIF data has no pre-emphasis.
1 = Recovered S/PDIF data has pre-emphasis
Indicates recovered S/PDIF clock frequency:
00 = 192kHz
01 = 96kHz / 88.2kHz
10 = 48kHz / 44.1kHz
11 = 32kHz
Indicates that the S/PDIF Clock Recovery circuit is
unlocked or that the input S/PDIF signal is not present.
0 = Locked onto incoming S/PDIF stream.
1 = Not locked to the incoming S/PDIF stream or the
incoming S/PDIF stream is not present.
When a flag is masked, it does not update the Interrupt
Status Register or assert INTB.
0 = unmask, 1 = mask.
MASK[0] = mask control for UPD_UNLOCK
MASK[1] = mask control for INT_INVALID
MASK[2] = mask control for INT_CSUD
MASK[3] = mask control for INT_TRANS_ERR
MASK[4] = mask control for UPD_AUDIO_N
MASK[5] = mask control for UPD_PCM_N
MASK[6] = mask control for UPD_CPY_N
MASK[7] = mask control for UPD_DEEMPH
MASK[8] = mask control for UPD_REC_FREQ
DESCRIPTION
DESCRIPTION
PP Rev 1.0 March 2006
Product Preview
64

Related parts for WM8581SEFT