Codec ALC5672

来源:互联网 发布:ipad c语言编译器 编辑:程序博客网 时间:2024/05/18 03:22
MCLK


LDO_IN
DBVDD
AVDD
DACREF


IN1P_RING2
IN1P_SLEEVE


IN2P/INL/DMIC1_SDA
INR/DMIC2_SDA/JD2


JD1
JD2
MICBIAS1
MICBIAS2
MIC_CAP
VREF2
MCLK
BCLK1
LRCK1
DACDAT1
ADCDAT1
BCLK2
LRCK2
DACDAT2
ADCDAT2
DMIC_SDA
DMIC_SCL
GPIO2
GPIO1/IRQ
SDA
SCL
SPO_LP
SPO_LN
SPO_RP
SPO_RN
LOUT1L/P
LOUT1R/N
HPO_L
HPO_R
CPVREF
CPP1
CPN1
CPP2
CPN2
CPVEE
CPVPP
CPGND
DGND
AGND


Power/Ground
2  DBVDD        Digital power for digital I/0 buffer(1.8V)
     
3  DCVDD        Digital power for digital core.
6  AVDD         Analog power (1.8V)
10 AGND         Analog ground
15 MICVDD       Analog power for MICBIAS
20 CPVPP        Charge pump positive voltage output
21 CPVDD        Analog power for headphone charge pump
24 CPGND        Analog ground for headphone charge pump
27 CPVEE        Charge pump negative voltage output 


43 SPKVDDR      Speaker AMP power for right channel(3.3V)
47 SPKVDDL      Speaker AMP power for left channel(3.3V)


46 SPKGNDR      Speaker AMP ground
49 












Filter/Reference
7  DACREF        DAC/ADC reference voltage (1.8V)
(To Mic FPC 声音进入)
8  VREF2         Second internal reference voltage
9  MICBIAS2      Bias voltage output for microphone
14 MIC_CAP       Microphone input reference voltage


13 MICBIAS1      Bias voltage output for microphone (4.7uF)
 
17 CPVREF        Headphone reference ground


22 CPP1          First charge pump bucket capacitor (2.2uF)
23 CPN1          First charge pump bucket capacitor


25 CPP2          Second charge pump bucket capacitor (2.2uF)
26 CPN2          Second charge pump bucket capacitor




Pin Assignments
Analog I/O Pins


(To Mic FPC 声音进入)
4  IN2P/INL(Multi)   (1)Single-ended input for analog microphone2 (2)Left channel line input (3)Digital microphone 1 data input
5  INR(Multi)        (1)Right channel line input (2)Second jack detection pin (3)Digital microphone 2 data input 


11 IN1P_RING2       Single-ended input for analog microphone1
12 IN1P_SLEEVE      Single-ended input for analog microphone1


(To 3.5mm Audio jack FPC/PCB 声音的播放用于耳机)
16 JD1              Analog jack detection function  
18 HPO_L            Headphone amplifier output Left channel
19 HPO_R            Headphone amplifier output Right channel


28 LOUTL/P    (line output type)(1)Single-ended output,left channel  (2)Differential output,positive channel
29 LOUTR/N    (line output type)(1)Single-ended output,right channel (2)Differential output,negative channel 
(To 2.5mm Audio jack FPC/PCB 声音的播放用于外放的喇叭)
44 SPO_RN     Speaker amplifier output Right differential negative output channel
45 SPO_RP     Speaker amplifier output Right differential positive output channel
1  SPO_LP     Speaker amplifier output Left differential positive output channel
48 SPO_LN     Speaker amplifier output Left differential negative output channel




Digital I/O Pins
(本次未用)
30 LRCK2(Multi)     Second I2S interface synchronous signal   GPIO function
31 BCLK2(Multi)     Second I2S interface serial bit clock     GPIO function
32 DACDAT2(Multi)   Second I2S interface serial data input    Digital microphone 3 data input
33 ADCDAT2(Multi)   Second I2S interface serial data output   Digital microphone 1 data input


34 DACDAT1   First I2S interface serial data input  (5根线的I2S通信)
35 ADCDAT1   First I2S interface serial data output
36 LRCK1     First I2S interface synchronous signal
37 BCLK1     First I2S interface serial bit clock
38 MCLK     I2S interface master clock input


I2C ADDR SEL 0x38h
39 SCL      I2C interface clock input
40 SDA      I2C interface serial data
        
41 GPIO1/IRQ(Multi)    (1)General purpose input and output    (2)Interrupt output
42 GPIO2/DMIC_SCL      (1)General purpose input and output    (2)Digital microphone clock output




Software Reset
MX-00h


xlrd


realtek
Slave Mode
Under slave mode BCLK and LRCK are configured as input.
The SYSCLK can be input from MCLK,and BCLK can be synchronous or asynchronous to MCLK.
P33


The ALC5672 provides 4-channel analog DACs for playback and 2-channel analog ADCs for recording.
P40




equalizer block
均衡器每一个通道都有7条均衡器
7个频带均衡器包括两个高通滤波器,三个带通滤波器,一个低通滤波器和一个双四滤波器。




Wind Noise Reduction Filter






ARM.CMSIS.4.5.0




Install missing Software Packs?


#define AK4961_RSTN_PIN                     GPIO_PIN_4
#define AK4961_RSTN_PORT                    GPIOG


DSP_RSTN