English
Language : 

CS4245_07 Datasheet, PDF (46/57 Pages) Cirrus Logic – 104 dB, 24-Bit, 192 kHz Stereo Audio CODEC
6.7 Channel B PGA Control - Address 07h
7
Reserved
6
Reserved
5
Gain5
4
Gain4
6.7.1 Channel B PGA Gain (Bits 5:0)
3
Gain3
Function:
See “Channel A PGA Gain (Bits 5:0)” on page 46.
2
Gain2
CS4245
1
Gain1
0
Gain0
6.8 Channel A PGA Control - Address 08h
7
Reserved
6
Reserved
5
Gain5
4
Gain4
6.8.1 Channel A PGA Gain (Bits 5:0)
3
Gain3
2
Gain2
1
Gain1
0
Gain0
Function:
Sets the gain or attenuation for the ADC input PGA stage. The gain may be adjusted from -12 dB to
+12 dB in 0.5 dB steps. The gain bits are in two’s complement with the Gain0 bit set for a 0.5 dB step.
Register settings outside of the ±12 dB range are reserved and must not be used. See Table 14 for ex-
ample settings.
Gain[5:0]
101000
000000
011000
Setting
-12 dB
0 dB
+12 dB
Table 14. Example Gain and Attenuation Settings
6.9 ADC Input Control - Address 09h
7
Reserved
6
Reserved
5
Reserved
4
PGASoft
3
PGAZero
2
Sel2
1
Sel1
0
Sel0
6.9.1 PGA Soft Ramp or Zero Cross Enable (Bits 4:3)
Function:
Soft Ramp Enable
Soft Ramp allows level changes, both muting and attenuation, to be implemented by incrementally ramp-
ing, in 1/8 dB steps, from the current level to the new level at a rate of 1 dB per 8 left/right clock periods.
See Table 15.
Zero Cross Enable
Zero Cross Enable dictates that signal-level changes, either by attenuation changes or muting, will occur
on a signal zero crossing to minimize audible artifacts. The requested level change will occur after a time-
out period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 kHz sample rate) if the signal
does not encounter a zero crossing. The zero cross function is independently monitored and implemented
for each channel. See Table 15.
Soft Ramp and Zero Cross Enable
Soft Ramp and Zero Cross Enable dictate that signal-level changes, either by attenuation changes or mut-
ing, will occur in 1/8 dB steps and be implemented on a signal zero crossing. The 1/8 dB level change will
46
DS656F2