ALC5642-VF
Datasheet
7.9. Multi-Function Pins
There are five multi-function pins in ALC5640. For different functions in each pins are controlled by
register. You need to set the right register settings for each multi-function pins by your application.
GPIO1/IRQ – Pin 40
The pin default is GPIO function. If want to change to IRQ output, write MX-C0[15] to 1’b that will
switch to IRQ function.
GPIO2/DMIC_SCL – Pin 41
The pin default is GPIO function. If want to change to DMIC clock output, write MX-C0[14] to 1’b that
will switch to DMIC clock output function.
IN1P/DMIC1_DAT – Pin 5
The pin default is DMIC1 data input function. In DMIC1 data input function, need to set these register
settings:
1. Power down IN1P – MX-64[15] = 0’b
2. Mute IN1 to each analog mixer -
(RECMIXL/RECMIXR/OUTMIXL/OUTMIXR/SPOLMIX/SPORMIX/MONOMIX).
3. Set IN1 as single-end mode – MX-FA[9] = 1’b
In IN1P microphone input function, need to power down DMIC interface – MX75[15] = 0’b.
IN1N/DMIC2_DAT/JD1 – Pin 6
The pin default is DMIC1 data input function. In DMIC2 data input function, need to set these register
settings:
1. Power down IN1N – MX-64[15] = 0’b
2. Mute IN1 to each analog mixer -
(RECMIXL/RECMIXR/OUTMIXL/OUTMIXR/SPOLMIX/SPORMIX/MONOMIX).
3. Set IN1 as single-end mode – MX-FA[9] = 1’b
In IN1N microphone input function, need to power down DMIC interface – MX75[15] = 0’b.
In JD1 jack detection function, need to set these register settings:
1. Power down IN1N – MX-64[15] = 0’b
2. Mute IN1 to each analog mixer -
(RECMIXL/RECMIXR/OUTMIXL/OUTMIXR/SPOLMIX/SPORMIX/MONOMIX).
3. Set IN1 as single-end mode – MX-FA[9] = 1’b
4. Enable JD1 as jack detection source – MX-BB[15:13] = 010’b
Multi-Channel Audio Hub/CODEC with embedded Voice
DSP and SounzRealTM Digital Sound Effect
31
Rev. 0.93