ALC202/ALC202A
The figure below shows another simple way to implement the jack detect function without using the JD pin of the ALC202. It is
a good circuit for motherboard makers, as it is only a layout issue and no extra components are needed.
Once the HP_OUT jack is plugged in, output signals to LINE_OUT will be isolated, and no signals will be output to the
LINE_OUT jack. The only drawback to this plan is that software will not sense that the HP_OUT jack is plugged in. It may be
not convenient for software to pay attention to this special application.
HP-OUT-R
HP-OUT-L
+100uf
+100uf
1
2
3
4
5
LINE-OUT
1
2
3
4
5
HP-OUT
A simple way to implement jack-detect function without
using ALC202's JD pin
Implementing the Jack-Detect Function Without Using the JD Pin
9.9 DC Voltage Volume Control
The ALC202 has a 32-step internal volume control that is controlled by the DC voltage applied the ‘DC Vol’ pin (pin-33). The
volume control input range is from GND to AVDD. A low speed of counter ramp ADC transmits the DC voltage into a 5-bit
volume code to attenuate the master volume (real MX02), headphone volume (real MX04) and mono-out volume (real MX06).
A higher DC voltage means more attenuation related to output volume. The table below shows the relation between input DC
voltage and the 5-bit volume code.
Input DC Volume
Note
Input DC Volume
Note
Voltage
Code
Voltage
Code
95%=< DC
1F
DCMute=1 47%< DC <= 50% F
92%< DC <= 95% 1E
DCMute=0 44%< DC <= 47% E
89%< DC <= 92% 1D
41%< DC <= 44% D
86%< DC <= 89% 1C
38%< DC <= 41% C
83%< DC <= 86% 1B
35%< DC <= 38% B
80%< DC <= 83% 1A
32%< DC <= 35% A
77%< DC <= 80% 19
29%< DC <= 32% 9
74%< DC <= 77% 18
26%< DC <= 29% 8
71%< DC <= 74% 17
23%< DC <= 26% 7
68%< DC <= 71% 16
20%< DC <= 23% 6
65%< DC <= 68% 15
17%< DC <= 20% 5
62%< DC <= 65% 14
14%< DC <= 17% 4
59%< DC <= 62% 13
11%< DC <= 14% 3
56%< DC <= 59% 12
8%< DC <= 11% 2
53%< DC <= 56% 11
5%< DC <= 8% 1
50%< DC <= 53% 10
DC <= 5%
0
DCMute=0
Input DC Voltage is ratio of AVDD (+5VA).
❷This 5-bit volume code adds extra attenuation for master volume and headphone volume, the absolute maximum volume is
determined by MX02, MX04 and MX06.
Once the sum of MX value and volume code exceeds 3Fh, the real MX value is 3Fh.
2002/07/30
36
Rev.1.28