ALC5640-VB
Datasheet
For ASRC function on Codec master mode, the Codec only support it on some conditions. These
conditions are sample rate fix at 48KHz, MCLK fix at 19.2MHz and frame rate fix at 50FS. Some
registers need to set for this mode as shown at Table 13.
Table 13. Register Settings for ASRC Function on Master Mode
Condition:
Codec as Master Mode
MCLK = 19.2MHz
Frame Rate = 50*FS
Target Sample Rate (FS) = 48KHz
Item
Register Settings
Note
I2S-1 to DAC1
MX-83 = 0x8000’h
For DAC1 playback ASRC settings
MX-84 = 0x0020’h
MX-FB = 0x0004’h
I2S-2 to DAC2
MX-83 = 0x1800’h
For DAC2 playback ASRC settings
MX-84 = 0xC000’h
MX-FB = 0x0002’h
AMIC to Stereo ADC Filter
to I2S-1
MX-83 = 0x8000’h
MX-84 = 0x0800’h
For AMIC to Stereo ADC Filter record ASRC settings
MX-FB = 0x0004’h
AMIC to Mono ADC Filter
to I2S-2
MX-83 = 0x1800’h
MX-84 = 0x3800’h
For AMIC to Mono ADC Filter record ASRC settings
MX-FA = 0x0731’h
MX-FB = 0x0002’h
DMIC1 to Stereo ADC Filter
to I2S-1
MX-83 = 0x8200’h
MX-FB = 0x0004’h
For DMIC1 to Stereo ADC Filter record ASRC settings
DMIC2 to Mono ADC Filter
to I2S-2
MX-83 = 0x1900’h
MX-84 = 0x3800’h
For DMIC2 to Mono ADC Filter record ASRC settings
MX-FA = 0x0741’h
MX-FB = 0x0002’h
Multi-Channel Audio Hub/CODEC and SounzRealTM
19
Digital Sound Effect for Mobile Devices
Rev. 0.91