Introduction to wm8960 for debugging the sound card driver in android 2. androidwm8960
3. Introduction to LINPUT input channels
The main configuration of LINPUT is as follows:
Set bit8 (LMN1) of R32 to 1: LINPUT1 connects to PGA;
Set bit7 (LINMUTE) of R00 to 0: Disable mute;
Set bit5 (AINL) of R25 to 1: PGA enabling;
Bit5 (LMIC) of R47 is set to 1: Left Boost Mixer;
Bit3 (LMIC2B) of R32 sets 1: boost connects to Left Boost Mixer.
Iv. OUTPUT channel Introduction
The main configurations of OUPUT are as follows:
Bit8 (LD2LO) of R34 is set to 1: connect LDAC to Left Output Mixer;
Bit3 (LOMIX) of R47 is set to 1: Left Output Mixer.
V. Introduction to Class D
Wm8960 has a class D amplification function that can directly drive an 8-euro BTL speaker.
The main configurations of Class D are as follows:
Set bit [] (SPK_OP_EN) of R49 to 11: Enable left and right output of class D speakers;
Bits of R51 [] (DCGAIN) are set to 011: Magnification;
Bits of R51 [2: 0] (ACGAIN) are set to 011: magnification.