English
Language : 

CS4205 Datasheet, PDF (49/80 Pages) Cirrus Logic – CrystalClear Audio Codec 97 with Portable Computing
CS4205
5.34 Internal Error Condition Control/Status Registers (Index 6Eh, Address 09h - 0Bh)
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
EROF ELOF MROF MLOF 0 AMOR AROR ALOR 0
0
0
0
0
0
0
0
EROF
Effects Engine Right Channel Overflow
ELOF
Effects Engine Left Channel Overflow
MROF
Digital Mixer Right Channel Overflow
MLOF
Digital Mixer Left Channel Overflow
AMOR
Mic ADC Overrange
AROR
L/R ADC Right Channel Overrange
ALOR
L/R ADC Left Channel Overrange
Default
0000h
The IEC Config Register (Index 6Eh, Address 09h) enables error signaling for each potential error source. If a bit is
‘clear’, the corresponding source will not be monitored for errors. If a bit is ‘set’, the corresponding source will be
monitored and is able to signal an error condition. If an error occurs, the corresponding bit in the IEC Status Register
(Index 6Eh, Address 0Bh) will be ‘set’ and remains ‘set’ until the error is cleared, even if the error condition is no
longer present. This behavior is equivalent to “sticky” (edge sensitive) GPIO input pins.
The IEC Wakeup Register (Index 6Eh, Address 0Ah) provides a mask for determining if an IEC will generate a wake-
up or GPIO_INT. If a bit is ‘0’, the corresponding error condition will not generate an interrupt. If a bit is ‘set’, the
corresponding error condition will generate an interrupt. For details about wakeup interrupts refer to the GPIO Pin
Wakeup Mask Register (Index 52h).
The IEC Status Register (Index 6Eh, Address 0Bh) reflects the state of all internal error conditions. If a bit is ‘clear’,
the corresponding source has not encountered an error condition or is not being monitored for errors. If a bit is ‘set’,
the corresponding source has encountered an error condition. The IEC bit in input slot 12 is a logic OR of all bits in
this register. An error condition is cleared by writing a ‘0’ to the corresponding bit of this register. Before clearing an
error condition, the controller should correct the error to prevent repeated error signaling. Table 20 lists all the inter-
nal error sources and corrective measures for each source.
IEC Bit
ALOR
AROR
AMOR
MLOF
MROF
ELOF
EROF
Error Source
Correction Method
L/R ADC left channel overrange
GL[3:0] bits in reg 1Ch
L/R ADC right channel overrange GR[3:0] bits in reg 1Ch
Mic ADC overrange
GM[3:0] bits in reg 1Eh
Digital mixer left channel overflow GL[5:0] bits in reg 6Eh, addr 00h-05h
Digital mixer right channel overflow GR[5:0] bits in reg 6Eh, addr 00h-05h
Effects engine left channel overflow GL[3:0] bits in reg 6Eh, addr 08h
Effects engine right channel overflow GR[3:0] bits in reg 6Eh, addr 08h
Table 20. Internal Error Sources and Correction Methods
DS489PP2
49