PA5331 [PROTEC]

Low Power 24-Bit, Stereo Audio CODEC With Headphone Amplifier; 低功耗24位立体声音频编解码器,耳机放大器
PA5331
型号: PA5331
厂家: PROTEK DEVICES    PROTEK DEVICES
描述:

Low Power 24-Bit, Stereo Audio CODEC With Headphone Amplifier
低功耗24位立体声音频编解码器,耳机放大器

解码器 编解码器 放大器
文件: 总27页 (文件大小:729K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
FEATURES  
GENERAL DESCRIPTION  
ADC  
24-bit, 8 kHz to 96 kHz sampling frequency  
The PA5331 is a high performance, low power and low cost  
audio CODEC. It consists of 2-ch ADC, 2-ch DAC,  
microphone amplifier, headphone amplifier, digital sound  
effects, and analog mixing and gain functions.  
95 dB dynamic range, 95 dB signal to noise ratio, -85 dB  
THD+N  
Stereo or mono microphone interface with microphone  
amplifier  
Auto level control and noise gate  
3-to-1 analog input selection  
The PA5331 uses advanced multi-bit delta-sigma modulation  
technique to convert data between digital and analog.  
Various analog input mixing and gains  
DAC  
The multi-bit delta-sigma modulators make the device with low  
sensitivity to clock jitter and low out of band noise.  
24-bit, 8 kHz to 96 kHz sampling frequency  
96 dB dynamic range, 96 dB signal to noise ratio, -83 dB  
THD+N  
40 mW headphone amplifier, pop noise free  
Stereo enhancement  
Bass and Treble  
Various analog output mixing and gains  
LOW POWER  
1.8V to 3.3V operation  
7 mW playback; 16 mW playback and record  
BLOCK DIAGRAM  
SYSTEM  
I2C or SPI µC interface  
256Fs, 384Fs, USB 12 MHz or 24 MHz  
Master or slave serial port  
I2S, Left Justified, DSP/PCM Mode  
APPLICATIONS  
GPS  
LIN1  
LIN2  
LIN  
LIN  
Bluetooth  
MP3, MP4, PMP  
Cell phone  
Digital camera, camcorder  
RIN  
micL  
mixL  
+
LIN1  
DACL  
DACR  
DACL  
MIC  
AMP  
LIN2  
Portable audio devices  
Stereo  
Enhanced  
ALC  
LOUT1  
ROUT1  
mixL  
mixR  
micL+micR  
LIN1-RIN1  
ADC  
DAC  
micL+micR  
micR  
+/-mixR  
mixL  
DACR  
LOUT2  
ROUT2  
RIN1  
LIN  
RIN  
MIC  
AMP  
mixR  
+
RIN  
DACL  
DACR  
RIN1  
LIN1-RIN1  
Clock Manager  
µC Interface  
Serial Audio Data  
ORDERING INFORMATION  
Temperature Range  
Package  
Part Number  
-40 to 85 °C  
QFN-28  
PA5331-T7  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
TYPICAL APPLICATION  
28-PIN QFN, 28-PIN SSOP LAYOUT  
PVDD  
NC  
SCLK  
1
2
3
4
5
6
7
8
9
28 DGND  
27 DVDD  
26 NC  
25 MCLK  
24 CCLK  
23 CDATA  
22 CE  
DSDIN  
DLRCK  
ASDOUT  
ALRCK  
HPVDD  
LOUT2  
MCLK  
NC  
DVDD  
DGND  
PVDD  
NC  
1
2
3
4
5
6
7
21 MICBIAS  
20 VMID  
19 AGND  
18 AVDD  
17 ROUT1  
16 LOUT1  
15 HPGND  
21 VREF  
20 LIN1  
ROUT2 10  
HPGND 11  
LOUT1 12  
ROUT1 13  
AVDD 14  
19 RIN1  
18 LIN2  
17 MICBIAS  
16 VMID  
15 AGND  
SCLK  
28 Pin QFN  
28 Pin SSOP  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
28-PIN QFN, 28-PIN SSOP PIN DESCRIPTIONS  
The PA5331 is pin compatible to WM8731 except the yellow highlighted pins in the following table.  
QFN  
PIN  
SSOP  
PIN  
NAME  
I/O  
DESCRIPTION  
1
25  
26  
27  
28  
1
MCLK  
NC  
I
Master clock  
2
No connect  
3
DVDD  
DGND  
PVDD  
NC  
Supply  
Supply  
Supply  
Digital core supply  
4
Digital ground (return path for both DVDD and PVDD)  
Digital IO supply  
5
6
2
No connect  
7
3
SCLK  
I/O  
Audio data bit clock  
8
4
DSDIN  
DLRCK  
ASDOUT  
ALRCK  
HPVDD  
LOUT2  
ROUT2  
HPGND  
LOUT1  
ROUT1  
AVDD  
AGND  
VMID  
I
DAC audio data  
9
5
I/O  
DAC audio data left and right clock  
ADC audio data  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
6
O
7
I/O  
ADC audio data left and right clock  
Supply for analog output drivers (LOUT1/2, ROUT1/2)  
Left output 2 (line or headphone)  
Right output 2 (line or headphone)  
Ground for analog output drivers (LOUT1/2, ROUT1/2)  
Left output 1 (line or headphone)  
Right output 1 (line or headphone)  
Analog supply  
8
Supply  
9
O
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
O
Supply  
O
O
Supply  
Supply  
Analog ground  
O
Decoupling capacitor  
MICBIAS  
LIN2  
O
Microphone bias  
I
Left channel input 2  
RIN1  
I
Right channel input 1  
LIN1  
I
0
Left channel input 1  
VREF  
CE  
Decoupling capacitor  
I
Control select or device address selection  
Control data input or output  
Control clock input  
CDATA  
CCLK  
I/O  
I
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
ABSOLUTE MAXIMUM RATINGS  
RECOMMENDED OPERATING CONDITIONS  
Analog Supply Voltage …………………. MIN 1.7V MAX 3.6V  
Digital Supply Voltage ………………….. MIN 1.5V MAX 3.6V  
Supply Voltage …………………………. MIN-0.3V MAX +5.0V  
Input Voltage ………………… MIN GND-0.3V MAX VDD+0.3V  
Operating Temperature………………..MIN -40°C MAX +85°C  
Storage Temperature…………………MIN -65°C MAX +150°C  
Note: Continuous operation at or beyond these conditions may  
permanently damage the device.  
ADC ANALOG AND FILTER CHARACTERISTICS AND SPECIFICATIONS  
Test conditions are as the following unless otherwise specify:  
AVDD=+3.3V, DVDD=+1.8V, AGND=0V, DGND=0V, Ambient temperature=+25 C, Fs=48 KHz, 96 KHz or 192 KHz, MCLK/LRCK=256.  
PARAMETER  
MIN  
TYP  
MAX  
UNIT  
ADC Performance  
Dynamic Range (Note 1)  
THD+N  
85  
-88  
80  
95  
-85  
85  
98  
-75  
90  
dB  
dB  
dB  
dB  
dB  
%
Channel Separation (1KHz)  
Signal to Noise ratio  
Inter-channel Gain Mismatch  
Gain Error  
85  
95  
98  
0.1  
±5  
Filter Frequency Response Single Speed  
Passband  
0
0.4535  
±0.05  
Fs  
Fs  
dB  
dB  
Stopband  
0.5465  
Pass-band Ripple  
Stop-band Attenuation  
Filter Frequency Response Double Speed  
Pass-band  
50  
0
0.4167  
±0.005  
Fs  
Fs  
dB  
dB  
Stop-band  
0.5833  
Pass-band Ripple  
Stop-band Attenuation  
Analog Input  
50  
Full Scale Input Level  
Input Impedance  
AVDD/3.3  
20  
Vrms  
KΩ  
Note  
1. The value is measured used A-weighted filter.  
DAC ANALOG AND FILTER CHARACTERISTICS AND SPECIFICATIONS  
Test conditions are as the following unless otherwise specify:  
AVDD=+3.3V, DVDD=+1.8V, AGND=0V, DGND=0V, Ambient temperature=+25 C, Fs=48 KHz, 96 KHz or 192 KHz, MCLK/LRCK=256.  
PARAMETER  
MIN  
TYP  
MAX  
UNIT  
DAC Performance  
Dynamic Range (Note 1)  
THD+N  
83  
-85  
80  
96  
-83  
85  
98  
-75  
90  
dB  
dB  
dB  
dB  
dB  
Channel Separation (1KHz)  
Signal to Noise ratio  
83  
96  
98  
Inter-channel Gain Mismatch  
Filter Frequency Response Single Speed  
0.05  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
Pass-band  
0
0.4535  
±0.05  
Fs  
Fs  
dB  
dB  
Stop-band  
0.5465  
Pass-band Ripple  
Stop-band Attenuation  
40  
Filter Frequency Response Double Speed  
Pass-band  
0
0.4167  
±0.005  
Fs  
Fs  
dB  
dB  
Stop-band  
0.5833  
Pass-band Ripple  
Stop-band Attenuation  
40  
De-emphasis Error at 1 KHz (Single Speed Mode Only)  
Fs = 32KHz  
Fs = 44.1KHz  
Fs = 48KHz  
0.002  
0.013  
0.0009  
dB  
Analog Output  
Full Scale Output Level  
AVDD/3.3  
Vrms  
Note  
1. The value is measured used A-weighted filter.  
POWER CONSUMPTION CHARACTERISTICS  
PARAMETER  
MIN  
TYP  
MAX  
UNIT  
Normal Operation Mode  
DVDD=1.8V, AVDD=1.8V:  
Play back  
7
Play back and record  
DVDD=3.3V, AVDD=3.3V:  
Play back  
16  
mW  
31  
59  
Play back and record  
Power Down Mode  
DVDD=1.8V, AVDD=1.8V  
DVDD=3.3V, AVDD=3.3V  
0.3  
1.9  
mW  
SERIAL AUDIO PORT SWITCHING SPECIFICATIONS  
PARAMETER  
Symbol  
MIN  
40  
MAX  
51.2  
60  
UNIT  
MHz  
%
MCLK frequency  
MCLK duty cycle  
LRCK frequency  
200  
60  
KHz  
%
LRCK duty cycle  
40  
SCLK frequency  
26  
MHz  
ns  
SCLK pulse width low  
TSCLKL  
TSCLKH  
TSLR  
15  
15  
10  
0
SCLK Pulse width high  
SCLK falling to LRCK edge  
SCLK falling to SDOUT valid  
SDIN valid to SCLK rising setup time  
SCLK rising to SDIN hold time  
ns  
10  
ns  
TSDO  
ns  
TSDIS  
TSDIH  
10  
10  
ns  
ns  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
LRCK  
Input  
tslr  
tsclkh  
tsclkl  
SLCK  
Input  
tsdo  
tsclkw  
SDOUT  
tsdis  
tsdih  
SDIN  
Serial Audio Port Timing  
SERIAL CONTROL PORT SWITCHING SPECIFICATIONS  
PARAMETER  
Symbol  
MIN  
MAX  
UNIT  
SPI Mode  
SPI_CLK clock frequency  
SPI_CLK edge to SPI_CSn falling  
SPI_CSn High Time Between transmissions  
SPI_CSn falling to SPI_CLK edge  
SPI_CLK low time  
10  
MHz  
ns  
TSPICS  
TSPISH  
TSPISC  
TSPICL  
TSPICH  
TSPIDS  
TSPIDH  
5
500  
10  
45  
45  
10  
15  
ns  
ns  
ns  
SPI_CLK high time  
ns  
SPI_DIN to SPI_CLK rising setup time  
SPI_CLK rising to DATA hold time  
2-wire Mode  
ns  
ns  
SCL Clock Frequency  
FSCL  
TTWID  
TTWSTH  
TTWCL  
TTWCH  
TTWSTS  
TTWDH  
TTWDS  
TTWR  
100  
KHz  
us  
us  
us  
us  
us  
us  
ns  
us  
ns  
Bus Free Time Between Transmissions  
Start Condition Hold Time  
Clock Low time  
4.7  
4.0  
4.0  
4.0  
4.7  
0.1  
100  
Clock High Time  
Setup Time for Repeated Start Condition  
SDA Hold Time from SCL Falling  
SDA Setup time to SCL Rising  
Rise Time of SCL  
25  
25  
Fall Time SCL  
TTWF  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
TSPIDS  
TSPIDH  
SPI_DIN  
SPI_CLK  
SPI_CSn  
TSPICL  
TSPICH  
TSPISH  
TSPICS  
TSPISC  
Serial Control Port SPI Timing  
SDA  
SCL  
TTWSTS  
TTWSTH  
TTWID  
TTWDH  
TTWDS  
TTWCL  
TTWCH  
S
P
S
TTWF TTWR  
Serial Control Port 2-wire Timing  
CLOCK MODES AND SAMPLING FREQUENCIES  
According to the input serial audio data sampling frequency, the device can work in two speed modes: single speed or double speed.  
The ranges of the sampling frequency in these two modes are listed in Table 1. The device can work either in master clock mode or  
slave clock mode.  
In slave mode, LRCK and SCLK are supplied externally. LRCK and SCLK must be synchronously derived from the system clock with  
specific rates. The device can auto detect MCLK/LRCK ratio according to Table 1. The device only supports the MCLK/LRCK ratios  
listed in Table 1. The LRCK/SCLK ratio is normally 64.  
Table 1 Slave Mode Sampling Frequencies and MCLK/LRCK Ratio  
Speed Mode  
Single Speed  
Double Speed  
Sampling Frequency  
8kHz 50kHz  
MCLK/LRCK Ratio  
256, 384, 512, 768, 1024  
128, 192, 256, 384, 512  
50kHz 100kHz  
In master mode, LRCK and SCLK are derived internally from MCLK. The available MCLK/LRCK ratios and SCLK/LRCK ratios are  
listed in Table 2Table 2 Master Mode Sampling Frequencies and MCLK/LRCK Ratio  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
MCLK  
MCLK  
ADC Sample Rate  
ADCFsRatio  
[4:0]  
DAC Sample Rate  
DACFsRatio SCLK  
CLKDIV2=0 CLKDIV2=1  
(ALRCK)  
(DLRCK)  
[4:0]  
Ratio  
Normal Mode  
12.288 MHz 24.576MHz  
8 kHz (MCLK/1536)  
8 kHz (MCLK/1536)  
12 kHz (MCLK/1024)  
16 kHz (MCLK/768)  
24 kHz (MCLK/512)  
32 kHz (MCLK/384)  
48 kHz (MCLK/256)  
48 kHz (MCLK/256)  
96 kHz (MCLK/128)  
8.0182 kHz  
01010  
01010  
00111  
00110  
00100  
00011  
00010  
00010  
00000  
01001  
8 kHz (MCLK/1536)  
48 kHz (MCLK/256)  
12 kHz (MCLK/1024)  
16 kHz (MCLK/768)  
24 kHz (MCLK/512)  
32 kHz (MCLK/384)  
8 kHz (MCLK/1536)  
48 kHz (MCLK/256)  
96 kHz (MCLK/128)  
8.0182 kHz  
01010  
00010  
00111  
00110  
00100  
00011  
01010  
00010  
00000  
01001  
MCLK/6  
MCLK/4  
MCLK/4  
MCLK/6  
MCLK/4  
MCLK/6  
MCLK/4  
MCLK/4  
MCLK/2  
MCLK/4  
11.2896 MHz 22.5792MHz  
(MCLK/1408)  
(MCLK/1408)  
8.0182 kHz  
(MCLK/1408)  
11.025 kHz  
(MCLK/1024)  
01001  
00111  
44.1 kHz (MCLK/256)  
00010  
00111  
MCLK/4  
MCLK/4  
11.025 kHz  
(MCLK/1024)  
22.05 kHz (MCLK/512)  
44.1 kHz (MCLK/256)  
00100  
00010  
22.05 kHz (MCLK/512)  
00100  
01001  
MCLK/4  
MCLK/4  
8.0182 kHz  
(MCLK/1408)  
44.1 kHz (MCLK/256)  
88.2 kHz (MCLK/128)  
8 kHz (MCLK/2304)  
8 kHz (MCLK/2304)  
12 kHz (MCLK/1536)  
16 kHz (MCLK/1152)  
24 kHz (MCLK/768)  
32 kHz (MCLK/576)  
48 kHz (MCLK/384)  
48 kHz (MCLK/384)  
96 kHz (MCLK/192)  
8.0182 kHz  
00010  
00000  
01100  
01100  
01010  
01000  
00110  
00101  
00011  
00011  
00001  
01011  
44.1 kHz (MCLK/256)  
88.2 kHz (MCLK/128)  
8 kHz (MCLK/2304)  
48 kHz (MCLK/384)  
12 kHz (MCLK/1536)  
16 kHz (MCLK/1152)  
24 kHz (MCLK/768)  
32 kHz (MCLK/576)  
8 kHz (MCLK/2304)  
48 kHz (MCLK/384)  
96 kHz (MCLK/192)  
8.0182 kHz  
00010  
00000  
01100  
00011  
01010  
01000  
00110  
00101  
01100  
00011  
00001  
01011  
MCLK/4  
MCLK/2  
MCLK/6  
MCLK/6  
MCLK/6  
MCLK/6  
MCLK/6  
MCLK/6  
MCLK/6  
MCLK/6  
MCLK/3  
MCLK/6  
18.432 MHz 36.864MHz  
16.9344 MHz 33.8688MHz  
(MCLK/2112)  
(MCLK/2112)  
8.0182 kHz  
(MCLK/2112)  
11.025 kHz  
(MCLK/1536)  
01011  
01010  
44.1 kHz (MCLK/384)  
00011  
01010  
MCLK/6  
MCLK/6  
11.025 kHz  
(MCLK/1536)  
22.05 kHz (MCLK/768)  
44.1 kHz (MCLK/384)  
00110  
00011  
22.05 kHz (MCLK/768)  
00110  
01011  
MCLK/6  
MCLK/6  
8.0182 kHz  
(MCLK/2112)  
44.1 kHz (MCLK/384)  
88.2 kHz (MCLK/192)  
00011  
00001  
44.1 kHz (MCLK/384)  
88.2 kHz (MCLK/192)  
00011  
00001  
MCLK/6  
MCLK/3  
USB Mode  
12 MHz  
24MHz  
8 kHz (MCLK/1500)  
8 kHz (MCLK/1500)  
8.0214 kHz  
11011  
11011  
11010  
8 kHz (MCLK/1500)  
48 kHz (MCLK/250)  
8.0214 kHz  
11011  
10010  
11010  
MCLK  
MCLK  
MCLK  
(MCLK/1496)  
(MCLK/1496)  
8.0214 kHz  
(MCLK/1496)  
11.0259 kHz  
(MCLK/1088)  
11010  
11001  
44.118 kHz (MCLK/272)  
10011  
11001  
MCLK  
MCLK  
11.0259 kHz  
(MCLK/1088)  
12 kHz (MCLK/1000)  
16 kHz (MCLK/750)  
22.0588 kHz  
11000  
10111  
10110  
12 kHz (MCLK/1000)  
16 kHz (MCLK/750)  
22.0588 kHz  
11000  
10111  
10110  
MCLK  
MCLK  
MCLK  
(MCLK/544)  
(MCLK/544)  
24 kHz (MCLK/500)  
32 kHz (MCLK/375)  
44.118 kHz (MCLK/272)  
10101  
10100*  
10011  
24 kHz (MCLK/500)  
32 kHz (MCLK/375)  
8.0214 kHz  
10101  
10100*  
11010  
MCLK  
MCLK  
MCLK  
(MCLK/1496)  
44.118 kHz (MCLK/272)  
48 kHz (MCLK/250)  
48 kHz (MCLK/250)  
88.235 kHz (MCLK/136)  
96 kHz (MCLK/125)  
10011  
10010  
10010  
10001  
10000  
44.118 kHz (MCLK/272)  
8 kHz (MCLK/1500)  
48 kHz (MCLK/250)  
88.235 kHz (MCLK/136)  
96 kHz (MCLK/125)  
10011  
11011  
10010  
10001  
10000  
MCLK  
MCLK  
MCLK  
MCLK  
MCLK  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
MICRO-CONTROLLER CONFIGURATION INTERFACE  
The device supports standard SPI and 2-wire micro-controller configuration interface. External micro-controller can completely  
configure the device through writing to internal configuration registers. Please see section for the details of configuration register  
definition.  
The identical device pins are used to configure either SPI or 2-wire interface. In SPI mode, pin CE, CCLK and CDATA function as  
SPI_CSn, SPI_CLK and SPI_DIN. In 2-wire mode, pin CE, CCLK and CDATA function as AD0, SCL and SDA. To select SPI mode,  
apply high to low transition signal to CE pin. Otherwise the device will operate in 2-wire interface mode.  
SPI  
PA5331 has a SPI (Serial Peripheral Interface) compliant synchronous serial slave controller inside the chip. It provides the ability to  
allow the external master SPI controller to access the internal registers, and thus control the operations of chip.  
All lines on the SPI bus are unidirectional: The SPI_CLK is generated by the master controller and is primarily used to synchronize  
data transfer, the SPI_DIN line carries data from the master to the slave; SPI_CSn is generated by the master to select PA5331.  
The timing diagram of this interface is given in Figure 1. The high to low transition at SPI_CSn pin indicates the SPI interface  
selected. Each write procedure contains 3 words, i.e. Chip Address plus R/W bit, internal register address and internal register data.  
Every word length is fixed at 8 bits. The input SPI_DIN data are sampled at the rising edge of SPI_CLK clock. The MSB bit in each  
word is transferred firstly. The transfer rate can be up to 10M bps.  
Chip Address  
7 bits - 0010000 Wb  
R/  
RAM  
8 bits  
Register Data  
8 bits  
SPI_DIN  
0
1
5
6
7
8
9
14 15 16 17 22 23  
SPI_CLK  
SPI_CSn  
RAM = Register Address Mapping  
Figure 1 SPI Configuration Interface Timing Diagram  
2-wire  
2-wire interface is a bi-directional serial bus that uses a serial data line (SDA) and a serial clock line (SCL) for data transfer. The  
timing diagram for data transfer of this interface is given in Figure 2. Data are transmitted synchronously to SCL clock on the SDA line  
on a byte-by-byte basis. Each bit in a byte is sampled during SCL high with MSB bit being transmitted firstly. Each transferred byte is  
followed by an acknowledge bit from receiver to pull the SDA low. The transfer rate of this interface can be up to 100k bps.  
Figure 2 Complete Data Transfer for 2-wire Interface  
A master controller initiates the transmission by sending a ―start‖ signal, which is defined as a high-to-low transition at SDA while SCL  
is high. The first byte transferred is the slave address. It is a seven-bit chip address followed by a RW bit. The chip address must be  
001000x, where x equals AD0 (pin CE). The RW bit indicates the slave data transfer direction. Once an acknowledge bit is received,  
the data transfer starts to proceed on a byte-by-byte basis in the direction specified by the RW bit. The master can terminate the  
communication by generating a ―stop‖ signal, which is defined as a low-to-high transition at SDA while SCL is high.  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
In 2-wire interface mode, the registers can be written and read. The formats of ―write‖ and ―read‖ instructions are shown in Table 3  
and Table 4. Please note that, to read data from a register, you must set R/W bit to 0 to access the register address and then set R/W  
to 1 to read data from the register. There are no acknowledge bit after data to be written or read, this is the only difference from the  
I2C protocol.  
Table 3 Write Data to Register in 2-wire Interface Mode  
Chip Address R/W  
Register Address  
Data to be written  
001000  
AD0  
0
ACK  
RAM  
ACK  
DATA  
Table 4 Read Data from Register in 2-wire Interface Mode  
Chip Address R/W  
Register Address  
001000  
Chip Address R/W  
001000  
AD0  
AD0  
0
ACK  
ACK  
RAM  
Data to be read  
1
DATA  
CONFIGURATION REGISTER DEFINITION  
SPI and 2-wire configuration interface share the same registers because there is only one interface active at any time. There are total  
of 53 user programmable 8-bit registers in this device. These registers control the operations of ADC and DAC. External master  
controller can access these registers by using the slave address specified in RAM (Register Address Map) register as shown in the  
Table 5.  
Table 5 Bit Content of Register Address Map  
B7  
B6  
B5  
B4  
B3  
B2  
B1  
B0  
Reg. 00  
Reg. 01  
SCPReset  
TSDEN  
LRCM  
DACMCLK  
LPVcmMod  
SameFs  
SeqEn  
EnRef  
VMIDSEL  
PdnOC  
LPVrefBuf  
PdnAna  
PdnIbiasgen  
VrefrLo  
PdnVrefbuf  
Reg. 02 adc_DigPDN dac_DigPDN adc_stm_rst  
dac_stm_rst ADCDLL_PDN DACDLL_PDN adcVref_PDN dacVref_PDN  
Reg. 03  
Reg. 04  
Reg. 05  
Reg. 06  
Reg. 07  
Reg. 08  
Reg. 09  
Reg. 10  
Reg. 11  
Reg. 12  
Reg. 13  
Reg. 14  
PdnAINL  
PdnDACL  
LPDACL  
LPPGA  
PdnAINR  
PdnDACR  
LPDACR  
LPLMIX  
PdnADCL  
LOUT1  
PdnADCR  
ROUT1  
OC[2]  
PdnMICB  
LOUT2  
PdnADCBiasgen  
ROUT2  
flashLP  
MONO  
int1LP  
OUT3  
LPLOUT1  
LPRMIX  
LPLOUT2  
LPMOUTINV  
VSEL  
OC[3]  
LPMONO  
LPADCvrp  
LPOUT3  
LPDACvrp  
LPMMIX  
LPOUT2INV  
MSC  
MCLKDIV2  
BCLK_INV  
BCLKDIV  
MicAmpL  
MicAmpR  
LINSEL  
RINSEL  
DS  
MONOMIX  
TRI  
OC[1:0]  
ADCFORMAT  
DATSEL  
ADCLRP  
ADCWL  
ADCFsMode  
ADCFsRatio  
ADC_invL  
ADC_invR  
ADC_HPF_L ADC_HPF_R  
Reg. 15 ADCRampRate ADCSoftRamp ADCZeroCrs  
ADCLeR  
ADCMute  
Reg. 16  
Reg. 17  
LADCVOL  
RADCVOL  
MAXGAIN  
Reg. 18  
Reg. 19  
Reg. 20  
Reg. 21  
Reg. 22  
ALCSEL  
MINGAIN  
ALCHLD  
ALCATK  
WIN_SIZE  
ALCLVL  
ALCDCY  
ALCMODE  
ALCZC  
TIME_OUT  
NGTH  
NGG  
NGAT  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
Reg. 23 DACLRSWAP  
DACLRP  
DACWL  
DACFORMAT  
DACFsRatio  
Reg. 24  
DACFsMode  
DACSoftRamp DACZeroCrs  
Reg. 25  
Reg. 26  
Reg. 27  
Reg. 28  
Reg. 29  
Reg. 30  
Reg. 31  
Reg. 32  
Reg. 33  
Reg. 34  
Reg. 35  
Reg. 36  
Reg. 37  
Reg. 38  
Reg. 39  
Reg. 40  
Reg. 41  
Reg. 42  
Reg. 43  
Reg. 44  
DACRampRate  
DACLeR  
DACMute  
AutoMute  
DACVolumeL (LDACVOL)  
DACVolumeR (RDACVOL)  
DeemphasisMode  
DAC_invL  
Mono  
DAC_invR  
ClickFree  
SE  
ZeroL  
ZeroR  
Vpp_scale  
Shelving_a[29:24]  
Shelving_a[23:16]  
Shelving_a[15:8]  
Shelving_a[7:0]  
Shelving_b[29:24]  
Shelving_b[23:16]  
Shelving_b[15:8]  
Shelving_b[7:0]  
LMIXSEL  
RMIXSEL  
LD2LO  
RD2LO  
LD2RO  
RD2RO  
LD2MO  
RD2MO  
LI2LO  
RI2LO  
LI2RO  
RI2RO  
LI2MO  
RI2MO  
LI2LOVOL  
RI2LOVOL  
LI2ROVOL  
RI2ROVOL  
LI2MOVOL  
RI2MOVOL  
VROI  
Reg. 45 ROUT2INV  
Reg. 46  
OUT3SW  
HPSWEN  
LOUT1VOL  
ROUT1VOL  
LOUT2VOL  
ROUT2VOL  
MONOOUTVOL  
HPSWPOL  
MOUTINV  
Reg. 47  
Reg. 48  
Reg. 49  
Reg. 50  
Reg. 51 hpLout1_ref1 hpLout1_ref2 hpRout1_ref1 hpRout1_ref2 hpOut3_ref1  
Reg. 52 spkLout2_ref1 spkLout2_ref2 spkRout2_ref1 spkRout2_ref2 mixer_ref1  
hpOut3_ref2  
mixer_ref2  
hpMono_ref1 hpMono_ref2  
MREF1  
MREF2  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
CHIP CONTROL AND POWER MANAGEMENT  
Register 0 Chip Control 1, Default 0000 0110  
Bit Name  
Bit  
Description  
SCPReset  
7
0 normal (default)  
1 reset control port register to default  
LRCM  
6
0 ALRCK disabled when both ADC disabled; DLRCK disabled when both DAC disabled (default)  
1 ALRCK and DLRCK disabled when all ADC and DAC disabled  
0 when SameFs=1, ADCMCLK is the chip master clock source (default)  
1 when SameFs=1, DACMCLK is the chip master clock source  
0 ADC Fs differs from DAC Fs (default)  
DACMCLK  
SameFs  
SeqEn  
5
4
1 ADC Fs is the same as DAC Fs  
3
0 internal power up/down sequence disable (default)  
1 internal power up/down sequence enable  
0 disable reference  
EnRef  
2
1 enable reference (default)  
VMIDSEL  
1:0  
00 Vmid disabled  
01 50 k divider enabled  
10 500 k divider enabled (default)  
11 5 k divider enabled  
Register 1 Chip Control 2, Default 0001 1100  
Bit Name  
Bit  
Description  
TSDEN  
7
0 thermal shutdown disabled (default)  
1 thermal shutdown enabled  
0 over current shutdown disabled (default)  
1 over current shutdown enabled  
0 normal (default)  
1 low power  
0 normal  
1 low power (default)  
0 normal  
1 entire analog power down (default)  
0 normal  
1 ibiasgen power down (default)  
0 normal (default)  
1 low power  
PdnOC  
6
5
4
3
2
1
0
LPVcmMod  
LPVrefBuf  
PdnAna  
PdnIbiasgen  
VrefLo  
PdnVrefbuf  
0 normal (default)  
1 power down  
Register 2 Chip Power Management, Default 1100 0011  
Bit Name  
Bit  
Description  
adc_DigPDN  
7
0 normal  
1 resets ADC DEM, filter and serial data port (default)  
dac_DigPDN  
adc_stm_rst  
6
5
4
3
2
1
0
0 normal  
1 resets DAC DSM, DEM, filter and serial data port (default)  
0 normal (default)  
1 reset ADC state machine to power down state  
0 normal (default)  
1 reset DAC state machine to power down state  
0 normal (default)  
1 ADC_DLL power down, stop ADC clock  
0 normal (default)  
1 DAC DLL power down, stop DAC clock  
0 ADC analog reference power up  
1 ADC analog reference power down (default)  
0 DAC analog reference power up  
1 DAC analog reference power down (default)  
dac_stm_rst  
ADCDLL_PDN  
DACDLL_PDN  
adcVref_PDN  
dacVref_PDN  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
Register 3 ADC Power Management, Default 1111 1100  
Bit Name  
Bit  
Description  
PdnAINL  
7
0 normal  
1 left analog input power down (default)  
PdnAINR  
PdnADCL  
PdnADCR  
PdnMICB  
PdnADCBiasgen  
flashLP  
6
5
4
3
2
1
0
0 normal  
1 right analog input power down (default)  
0 left ADC power up  
1 left ADC power down (default)  
0 right ADC power up  
1 right ADC power down (default)  
0 microphone bias power on  
1 microphone bias power down (high impedance output, default)  
0 normal  
1 power down (default)  
0 normal (default)  
1 flash ADC low power  
int1LP  
0 normal (default)  
1 int1 low power  
Register 4 DAC Power Management, Default 1100 0000  
Bit Name  
Bit  
Description  
PdnDACL  
7
0 left DAC power up  
1 left DAC power down (default)  
0 right DAC power up  
1 right DAC power down (default)  
0 LOUT2 disabled (default)  
1 LOUT2 enabled  
0 ROUT2 disabled (default)  
1 ROUT2 enabled  
0 LOUT1 disabled (default)  
1 LOUT1 enabled  
0 ROUT1 disabled (default)  
1 ROUT1 enabled  
0 reserved (default)  
1 reserved  
0 reserved (default)  
PdnDACR  
LOUT2  
ROUT2  
LOUT1  
ROUT1  
MONO  
OUT3  
6
5
4
3
2
1
0
1 reserved  
Register 5 Chip Low Power 1, Default 0000 0000  
Bit Name  
Bit  
Description  
LPDACL  
7
0 normal (default)  
1 low power  
LPDACR  
LPLOUT1  
OC[2]  
6
5
4
3
2
1
0
0 normal (default)  
1 low power  
0 normal (default)  
1 low power  
0 over current setting (default)  
1 over current setting  
0 normal (default)  
1 low power  
0 over current setting (default)  
1 over current setting  
0 normal (default)  
1 low power  
LPLOUT2  
OC[3]  
LPMONO  
LPOUT3  
0 normal (default)  
1 low power  
Register 6 Chip Low Power 2, Default 0000 0000  
Bit Name Bit Description  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
LPPGA  
7
6
5
4
3
2
1
0
0 normal (default)  
1 low power  
0 normal (default)  
1 low power  
0 normal (default)  
1 low power  
0 normal (default)  
1 low power  
0 normal (default)  
1 low power  
0 normal (default)  
1 low power  
0 normal (default)  
1 low power  
0 normal (default)  
1 low power  
LPLMIX  
LPRMIX  
LPMMIX  
LPMOUTINV  
LPOUT2INV  
LPADCvrp  
LPDACvrp  
Register 7 Analog Voltage Management, Default 0111 1100  
Bit Name  
Bit  
Description  
VSEL  
6:0  
1111100 normal (default)  
Register 8 Master Mode Control, Default 1000 0000  
Bit Name  
Bit  
Description  
MSC  
7
0 slave serial port mode  
1 master serial port mode (default)  
0 MCLK not divide (default)  
1 MCLK divide by 2  
0 normal (default)  
1 BCLK inverted  
MCLKDIV2  
BCLK_INV  
BCLKDIV  
6
5
4:0  
00000 master mode BCLK generated automatically based on the clock table (default)  
Others MCLK/N, N=1~31  
ADC CONTROL  
Register 9 ADC Control 1, Default 0000 0000  
Bit Name  
Bit  
Description  
MicAmpL  
7:4  
Left channel PGA gain  
0000 0 dB (default)  
0001 +3 dB  
0010 +6 dB  
0011 +9 dB  
0100 +12 dB  
0101 +15 dB  
0110 +18 dB  
0111 +21 dB  
1000 +24 dB  
Right channel PGA gain  
0000 0dB (default)  
0001 +3 dB  
MicAmpR  
3:0  
0010 +6 dB  
0011 +9 dB  
0100 +12 dB  
0101 +15 dB  
0110 +18 dB  
0111 +21 dB  
1000 +24 dB  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
Register 10 ADC Control 2, Default 0000 0000  
Bit Name  
Bit  
Description  
LINSEL  
7:6  
Left channel input select  
00 reserved (default)  
01 LINPUT1  
10 reserved  
11 L-R differential (either LINPUT1-RINPUT1, selected by DS)  
RINSEL  
5:4  
Right channel input select  
00 reserved (default)  
01 RINPUT1  
10 LINPUT2  
11 L-R differential (either LINPUT1-RINPUT1, selected by DS)  
Register 11 ADC Control 3, Default 0000 0110  
Bit Name  
Bit  
Description  
DS  
7
Differential input select  
0 reserved (default)  
1 LINPUT1-RINPUT1  
MONOMIX  
4:3  
00 stereo (default)  
01 analog mono mix to left ADC  
10 analog mono mix to right ADC  
11 reserved  
TRI  
2
0 ASDOUT is ADC normal output (default)  
1 ASDOUT tri-stated, ALRCK, DLRCK and SCLK are inputs  
00 over current setting (default)  
OC[1:0]  
1:0  
Register 12 ADC Control 4, Default 0000 0000  
Bit Name  
Bit  
Description  
DATSEL  
7:6  
00 left data = left ADC, right data = right ADC  
01 left data = left ADC, right data = left ADC  
10 left data = right ADC, right data = right ADC  
11 left data = right ADC, right data = left ADC  
I2S, left justified or right justified mode:  
ADCLRP  
5
0 left and right normal polarity  
1 left and right inverted polarity  
DSP/PCM mode:  
0 MSB is available on 2nd BCLK rising edge after ALRCK rising edge  
1 MSB is available on 1st BCLK rising edge after ALRCK rising edge  
000 24-bit serial audio data word length  
001 20-bit serial audio data word length  
010 18-bit serial audio data word length  
011 16-bit serial audio data word length  
100 32-bit serial audio data word length  
00 I2S serial audio data format  
ADCWL  
4:2  
1:0  
ADCFORMAT  
01 left justify serial audio data format  
10 right justify serial audio data format  
11 DSP/PCM mode serial audio data format  
Register 13 ADC Control 5, Default 0000 0110  
Bit Name  
Bit  
Description  
ADCFsMode  
5
0 single speed mode (default)  
1 double speed mode  
ADCFsRatio  
4:0  
Master mode ADC MCLK to sampling frequency ratio  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
00000 128  
00001 192  
00010 256  
00011 384  
00100 512  
00101 576  
00110 768 (default)  
00111 1024  
01000 1152  
01001 1408  
01010 1536  
01011 2112  
01100 2304  
10000 125  
10001 136  
10010 250  
10011 272  
10100 375  
10101 500  
10110 544  
10111 750  
11000 1000  
11001 1088  
11010 1496  
11011 1500  
Other reserved  
Register 14 ADC Control 6, Default 0011 0000  
Bit Name  
Bit  
Description  
ADC_invL  
7
0 normal (default)  
1 left channel polarity inverted  
ADC_invR  
6
5
4
0 normal (default)  
1 right channel polarity inverted  
0 disable ADC left channel high pass filter  
1 enable ADC left channel high pass filter (default)  
0 disable ADC right channel high pass filter  
ADC_HPF_L  
ADC_HPF_R  
1 enable ADC right channel high pass filter (default)  
Register 15 ADC Control 7, Default 0011 0000  
Bit Name  
Bit  
Description  
ADCRampRate  
7:6  
00 0.5 dB per 4 LRCK digital volume control ramp rate (default)  
01 0.5 dB per 8 LRCK digital volume control ramp rate  
10 0.5 dB per 16 LRCK digital volume control ramp rate  
11 0.5 dB per 32 LRCK digital volume control ramp rate  
0 disabled digital volume control soft ramp  
1 enabled digital volume control soft ramp (default)  
0 disabled digital volume control change at zero cross  
1 enabled digital volume control change at zero cross (default)  
0 normal (default)  
ADCSoftRamp  
ADCZeroCrs  
ADCLeR  
5
4
3
2
1 both channel gain control is set by ADC left gain control register  
0 normal (default)  
ADCMute  
1 mute ADC digital output  
Register 16 ADC Control 8, Default 1100 0000  
Bit Name  
Bit  
Description  
LADCVOL  
7:0  
Digital volume control attenuates the signal in 0.5 dB incremental from 0 to 96 dB.  
00000000 0 dB  
00000001 -0.5 dB  
00000010 -1 dB  
11000000 -96 dB (default)  
Register 17 ADC Control 9, Default 1100 0000  
Bit Name  
Bit  
Description  
RADCVOL  
7:0  
Digital volume control attenuates the signal in 0.5 dB incremental from 0 to 96 dB.  
00000000 0 dB  
00000001 -0.5 dB  
00000010 -1 dB  
11000000 -96 dB (default)  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
Register 18 ADC Control 10, Default 0011 1000  
Bit Name  
Bit  
Description  
ALCSEL  
7:6  
00 ALC off  
01 ALC right channel only  
10 ALC left channel only  
11 ALC stereo  
Set maximum gain of PGA  
000 -6.5 dB  
MAXGAIN  
5:3  
001 -0.5 dB  
010 5.5 dB  
011 11.5 dB  
100 17.5 dB  
101 23.5 dB  
110 29.5 dB  
111 35.5 dB  
MINGAIN  
2:0  
Set minimum gain of PGA  
000 -12 dB  
001 -6 dB  
010 0 dB  
011 +6 dB  
100 +12 dB  
101 +18 dB  
110 +24 dB  
111 +30 dB  
Register 19 ADC Control 11, Default 1011 0000  
Bit Name  
Bit  
Description  
ALCLVL  
7:4  
ALC target  
0000 – –22.5dBFS  
0001 – –21.0dBFS  
……  
1100 – –4.5dBFS  
1101 – –3dBFS  
1110 – –1.5dBFS  
1111 – –1.5dBFS  
ALC hold time before gain is increased  
0000 0ms  
ALCHLD  
3:0  
0001 2.67ms  
0010 5.33ms  
…… (time doubles with every step)  
1001 0.68s  
1010 or higher 1.36s  
Register 20 ADC Control 12, Default 0011 0010  
Bit Name  
Bit  
Description  
ALCDCY  
7:4  
ALC decay (gain ramp up) time, ALC mode/limiter mode:  
0000 410 us/90.8 us  
0001 820 us/182us  
0010 1.64 ms/363us  
…… (time doubles with every step)  
1001 210 ms/46.5 ms  
1010 or higher 420 ms/93 ms  
ALC attack (gain ramp down) time, ALC mode/limiter mode:  
0000 104 us/22.7 us  
ALCATK  
3:0  
0001 208 us/45.4 us  
0010 416 us/90.8 us  
…… (time doubles with very step)  
1001 53.2 ms/11.6 ms  
1010 or higher 106 ms/23.2 ms  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
Register 21 ADC Control 13, Default 0000 0110  
Bit Name  
Bit  
Description  
ALCMODE  
7
Determines the ALC mode of operation:  
0 ALC mode (Normal Operation)  
1 Limiter mode.  
ALCZC  
6
5
ALC uses zero cross detection circuit.  
0 disable (recommended)  
1 enable  
Zero Cross time out  
0 disable (default)  
TIME_OUT  
WIN_SIZE  
1 enable  
4:0  
Windows size for peak detectorset the window size to N*16 samples  
00110 96 samples (default)  
00111 102 samples  
…..  
11111 496 samples  
Register 22 ADC Control 14, Default 0000 0000  
Bit Name  
Bit  
Description  
NGTH  
7:3  
Noise gate threshold  
00000 -76.5 dBFS  
00001 -75 dBFS  
……  
11110 -31.5 dBFS  
11111 -30 dBFS  
Noise gate type  
x0 PGA gain held constant  
01 mute ADC output  
11 reserved  
NGG  
2:1  
0
NGAT  
Noise gate function enable  
0 disable  
1 enable  
DAC CONTROL  
Register 23 DAC Control 1, Default 0000 0000  
Bit Name  
Bit  
Description  
DACLRSWAP  
7
0 normal  
1 left and right channel data swap  
DACLRP  
6
I2S, left justified or right justified mode:  
0 left and right normal polarity  
1 left and right inverted polarity  
DSP/PCM mode:  
0 MSB is available on 2nd BCLK rising edge after ALRCK rising edge  
1 MSB is available on 1st BCLK rising edge after ALRCK rising edgeLRCK Polarity  
000 24-bit serial audio data word length  
001 20-bit serial audio data word length  
010 18-bit serial audio data word length  
011 16-bit serial audio data word length  
100 32-bit serial audio data word length  
00 I2S serial audio data format  
DACWL  
5:3  
DACFORMAT  
2:1  
0
01 left justify serial audio data format  
10 right justify serial audio data format  
11 DSP/PCM mode serial audio data format  
Register 24 DAC Control 2, Default 0000 0110  
Bit Name  
Bit  
Description  
DACFsMode  
5
0 single speed mode (default)  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
1 double speed mode  
DACFsRatio  
4:0  
Master mode DAC MCLK to sampling frequency ratio  
00000 128;  
00001 192;  
00010 256;  
00011 384;  
00100 512;  
00101 576;  
00110 768; (default)  
00111 1024;  
01000 1152;  
01001 1408;  
01010 1536;  
01011 2112;  
01100 2304;  
10000 125;  
10001 136;  
10010 250;  
10011 272;  
10100 375;  
10101 500;  
10110 544;  
10111 750;  
11000 1000;  
11001 1088;  
11010 1496;  
11011 1500;  
Other Reserved.  
Register 25 DAC Control 3, Default 0011 0010  
Bit Name  
Bit  
Description  
DACRampRate  
7:6  
00 0.5 dB per 4 LRCK digital volume control ramp rate (default)  
01 0.5 dB per 32 LRCK digital volume control ramp rate  
10 0.5 dB per 64 LRCK digital volume control ramp rate  
11 0.5 dB per 128 LRCK digital volume control ramp rate  
0 disabled digital volume control soft ramp  
1 enabled digital volume control soft ramp (default)  
0 disabled digital volume control change at zero cross  
1 enabled digital volume control change at zero cross (default)  
0 normal (default)  
1 both channel gain control is set by DAC left gain control register  
0 normal (default)  
1 mute analog outputs for both channels  
0 disable  
DACSoftRamp  
DACZeroCrs  
DACLeR  
5
4
3
2
1
DACMute  
AutoMute  
1 enable (default)  
Register 26 DAC Control 4, Default 1100 0000  
Bit Name  
Bit  
Description  
LDACVOL  
7:0  
Digital volume control attenuates the signal in 0.5 dB incremental from 0 to 96 dB.  
00000000 0 dB  
00000001 -0.5 dB  
00000010 -1 dB  
11000000 -96 dB (default)  
Register 27 DAC Control 5, Default 1100 0000  
Bit Name  
Bit  
Description  
RDACVOL  
7:0  
Digital volume control attenuates the signal in 0.5 dB incremental from 0 to 96 dB.  
00000000 0 dB  
00000001 -0.5 dB  
00000010 -1 dB  
11000000 -96 dB (default)  
Register 28 DAC Control 6, Default 0000 1000  
Bit Name  
Bit  
Description  
DeemphasisMode  
(DEEMP)  
7:6  
00 de-emphasis frequency disabled (default)  
01 32 KHz de-emphasis frequency in single speed mode  
10 44.1 KHz de-emphasis frequency in single speed mode  
11 48 KHz de-emphasis frequency in single speed mode  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
DAC_invL  
5
4
3
0 normal DAC left channel analog output no phase inversion (default)  
1 normal DAC left channel analog output 180 degree phase inversion  
DAC_invR  
ClickFree  
0 normal DAC right channel analog output no phase inversion (default)  
1 normal DAC right analog output 180 degree phase inversion  
0 disable digital click free power up and down  
1 enable digital click free power up and down (default)  
Register 29 DAC Control 7, Default 0000 0110  
Bit Name  
Bit  
Description  
ZeroL  
7
0 normal (default)  
1 set Left Channel DAC output all zero  
ZeroR  
Mono  
SE  
6
0 normal (default)  
1 set Right Channel DAC output all zero  
0 stereo (default)  
1mono (L+R)/2 into DACL and DACR  
5
4:2  
SE strength, total 8 settings, L=L+(L-R)*a, R=R+(R-L)*a, where a is from 0 to 7/8  
000 0 (default)  
……  
111 7/8  
Vpp_scale  
1:0  
00 Vpp set at 3.5V (0.7 modulation index) (default)  
01 Vpp set at 4.0V  
10 Vpp set at 3.0V  
11 Vpp set at 2.5V  
Register 30 DAC Control 8, Default 0001 1111  
Bit Name  
Bit  
Description  
Shelving_a[29:24]  
5:0  
30-bit a coefficient for shelving filter  
Default value is {5'h0f, 5'h1f, 5'h0f, 5'h1f, 5'h0f, 5'h1f}  
Register 31 DAC Control 9, Default 1111 0111  
Bit Name  
Bit  
Description  
Shelving_a[23:16]  
7:0  
30-bit a coefficient for shelving filter  
Default value is {5'h0f, 5'h1f, 5'h0f, 5'h1f, 5'h0f, 5'h1f}  
Register 32 DAC Control 10, Default 1111 1101  
Bit Name  
Bit  
Description  
Shelving_a[15:8]  
7:0  
30-bit a coefficient for shelving filter  
Default value is {5'h0f, 5'h1f, 5'h0f, 5'h1f, 5'h0f, 5'h1f}  
Register 33 DAC Control 11, Default 1111 1111  
Bit Name  
Bit  
Description  
Shelving_a[7:0]  
7:0  
30-bit a coefficient for shelving filter  
Default value is {5'h0f, 5'h1f, 5'h0f, 5'h1f, 5'h0f, 5'h1f}  
Register 34 DAC Control 12, Default 0001 1111  
Bit Name  
Bit  
Description  
Shelving_b[29:24]  
5:0  
30-bit a coefficient for shelving filter  
Default value is {5'h0f, 5'h1f, 5'h0f, 5'h1f, 5'h0f, 5'h1f}  
Register 35 DAC Control 13, Default 1111 0111  
Bit Name  
Bit  
Description  
Shelving_b[23:16]  
7:0  
30-bit a coefficient for shelving filter  
Default value is {5'h0f, 5'h1f, 5'h0f, 5'h1f, 5'h0f, 5'h1f}  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
Register 36 DAC Control 14, Default 1111 1101  
Bit Name  
Bit  
Description  
Shelving_b[15:8]  
7:0  
30-bit a coefficient for shelving filter  
Default value is {5'h0f, 5'h1f, 5'h0f, 5'h1f, 5'h0f, 5'h1f}  
Register 37 DAC Control 15, Default 1111 1111  
Bit Name  
Bit  
Description  
Shelving_b[7:0]  
7:0  
30-bit a coefficient for shelving filter  
Default value is {5'h0f, 5'h1f, 5'h0f, 5'h1f, 5'h0f, 5'h1f}  
Register 38 DAC Control 16, Default 0000 0000  
Bit Name  
Bit  
Description  
LMIXSEL  
5:3  
Left input select for output mix  
000 reserved (default)  
001 LIN1  
010 reserved  
011 left ADC input (after mic amplifier)  
Right input select for output mix  
000 reserved (default)  
001 RIN1  
RMIXSEL  
2:0  
010 LIN2  
011 right ADC input (after mic amplifier)  
Register 39 DAC Control 17, Default 0011 1000  
Bit Name  
Bit  
Description  
LD2LO  
7
0 left DAC to left mixer disable (default)  
1 left DAC to left mixer enable  
0 LIN signal to left mixer disable (default)  
1 LIN signal to left mixer enable  
LIN signal to left mixer gain  
000 6 dB  
LI2LO  
6
LI2LOVOL  
5:3  
001 3 dB  
010 0 dB  
011 -3 dB  
100 -6 dB  
101 -9 dB  
110 -12 dB  
111 -15 dB (default)  
Register 40 DAC Control 18, Default 0011 1000  
Bit Name  
Bit  
Description  
RD2LO  
7
0 right DAC to left mixer disable (default)  
1 right DAC to left mixer enable  
0 RIN signal to left mixer disable (default)  
1 RIN signal to left mixer enable  
RIN signal to left mixer gain  
000 6 dB  
RI2LO  
6
RI2LOVOL  
5:3  
001 3 dB  
010 0 dB  
011 -3 dB  
100 -6 dB  
101 -9 dB  
110 -12 dB  
111 -15 dB (default)  
Register 41 DAC Control 19, Default 0011 1000  
Bit Name  
Bit  
Description  
LD2RO  
7
0 left DAC to right mixer disable (default)  
1 left DAC to right mixer enable  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
LI2RO  
6
0 LIN signal to right mixer disable (default)  
1 LIN signal to right mixer enable  
LIN signal to right mixer gain  
000 6 dB  
LI2ROVOL  
5:3  
001 3 dB  
010 0 dB  
011 -3 dB  
100 -6 dB  
101 -9 dB  
110 -12 dB  
111 -15 dB (default)  
Register 42 DAC Control 20, Default 0011 1000  
Bit Name  
Bit  
Description  
RD2RO  
7
0 right DAC to right mixer disable (default)  
1 right DAC to right mixer enable  
0 RIN signal to right mixer disable (default)  
1 RIN signal to right mixer enable  
RIN signal to right mixer gain  
000 6 dB  
RI2RO  
6
RI2ROVOL  
5:3  
001 3 dB  
010 0 dB  
011 -3 dB  
100 -6 dB  
101 -9 dB  
110 -12 dB  
111 -15 dB (default)  
Register 43 DAC Control 21, Default 0011 1000  
Bit Name  
Bit  
Description  
LD2MO  
7
0 reserved (default)  
1 reserved  
LI2MO  
6
0 reserved (default)  
1 reserved  
LI2MOVOL  
5:3  
reserved  
Register 44 DAC Control 22, Default 0011 1000  
Bit Name  
Bit  
Description  
RD2MO  
7
0 reserved (default)  
1 reserved  
RI2MO  
6
0 reserved (default)  
1 reserved  
RI2MOVOL  
5:3  
reserved  
Register 45 DAC Control 23, Default 0000 0000  
Bit Name  
Bit  
Description  
ROUT1INV  
7
0 ROUT1 no inversion (default)  
1 ROUT1 signal inverted  
Reserved  
OUT3SW  
VROI  
6:5  
4
0 1.5k VREF to analog output resistance (default)  
1 40k VREF to analog output resistance  
0 headphone switch disabled (default)  
1 headphone switch enabled  
0 HPDETECT high=headphone (default)  
1 HPDETECT high=speaker  
HPSWEN  
HPSWPOL  
MOUTINV  
3
2
1
0 reserved (default)  
1 reserved  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
Register 46 DAC Control 24, Default 0000 0000  
Bit Name  
Bit  
Description  
LOUT2VOL  
5:0  
LOUT2 volume  
000000 -30dB (default)  
000001 -29dB  
000010 -28dB  
011110 0dB  
011111 1dB  
100100 6dB  
Register 47 DAC Control 25, Default 0000 0000  
Bit Name  
Bit  
Description  
ROUT2VOL  
5:0  
ROUT2 volume  
000000 -30dB (default)  
000001 -29dB  
000010 -28dB  
011110 0dB  
011111 1dB  
100100 6dB  
Register 48 DAC Control 26, Default 0000 0000  
Bit Name  
Bit  
Description  
LOUT1VOL  
5:0  
LOUT1 volume  
000000 -30dB (default)  
000001 -29dB  
000010 -28dB  
011110 0dB  
011111 1dB  
100100 6dB  
Register 49 DAC Control 27, Default 0000 0000  
Bit Name  
Bit  
Description  
ROUT1VOL  
5:0  
ROUT1 volume  
000000 -30dB (default)  
000001 -29dB  
000010 -28dB  
011110 0dB  
011111 1dB  
100100 6dB  
Register 50 DAC Control 28, Default 0000 0000  
Bit Name  
Bit  
Description  
MONOOUTVOL  
5:0  
Reserved  
Register 51 DAC Control 29, Default 0000 0000  
Bit Name  
Bit  
Description  
Reserved  
Reserved  
Reserved  
Reserved  
hpLout1_ref1  
hpLout1_ref2  
hpRout1_ref1  
hpRout1_ref2  
7
6
5
4
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
hpOut3_ref1  
hpOut3_ref2  
hpMono_ref1  
hpMono_ref2  
3
2
1
0
Reserved  
Reserved  
Reserved  
Reserved  
Register 52 DAC Control 30, Default 0000 0000  
Bit Name  
Bit  
Description  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
spkLout2_ref1  
spkLout2_ref2  
spkRout2_ref1  
spkRout2_ref2  
mixer_ref1  
mixer_ref2  
MREF1  
7
6
5
4
3
2
1
MREF2  
0
DIGITAL AUDIO INTERFACE  
The PA5331 provides four formats of serial audio data interface to the input of the DAC or output from the ADC through LRCK, SCLK  
and SDIN/SDOUT pins. The four formats are I2S, left justified, right justified and DSP/PCM mode. DAC input DSDIN is sampled by  
PA5331 on the rising edge of DSCLK. ADC data is out on ASDOUT and changes on the falling edge of ASCLK. The relationship of  
SDATA (SDIN/SDOUT), SCLK and LRCK with the three formats is shown through Figure 3 to Figure 7.  
1 SCLK  
1 SCLK  
SDATA  
1
2
3
n- 2 n- 1  
n
1
2
3
n- 2 n- 1  
n
MSB  
LSB  
MSB  
LSB  
SCLK  
LRCK  
LEFT CHANNEL  
RIGHT CHANNEL  
Figure 3 I2S Serial Audio Data Format Up To 24-bit  
SDATA  
1
2
3
n- 2 n- 1  
n
1
2
3
n- 2 n- 1  
n
MSB  
LSB  
MSB  
LSB  
SCLK  
LRCK  
RIGHT CHANNEL  
LEFT CHANNEL  
Figure 4 Left Justified Serial Audio Data Format Up To 24-bit  
SDATA  
1
2
3
n- 2 n- 1  
n
1
2
3
n- 2 n- 1  
n
MSB  
LSB  
MSB  
LSB  
SCLK  
LRCK  
RIGHT CHANNEL  
LEFT CHANNEL  
Figure 5 Right Justified Serial Audio Data Format Up To 24-bit  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
Figure 6 DSP/PCM Mode A  
Figure 7 DSP/PCM Mode B  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
PACKAGE DIMENSIONS AND MEASUREMENTS  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  
PA5331  
Low Power 24-Bit, Stereo Audio CODEC  
With Headphone Amplifier  
ANALOG PRODUCTS DIVISION  
Tape and Reel Specifications  
Reel Dia  
A0  
B0  
K0  
D
E
F
W
P0  
P2  
P
t-max  
0.30  
178 (7‖)  
5.10±0.05  
5.10±0.05  
1.00±0.05  
1.50±0.10  
1.75±0.10  
5.50±0.05  
12.00±0.30  
4.00±0.10  
2.00±0.05  
8.00±0.10  
10 Pitches Cumulative  
Tolerance on Tape± 0.2  
P0  
P2  
D
t
E
F
Pin 1  
indicated  
by Dot  
Top cover tape  
A0  
W
K0  
B0  
P
Life Support Policy  
PROTEK ANALOG'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT  
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF PROTEK DEVICES.  
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715  
www.protekanalog.com  
95250 Rev.0. 01/10  
NOT FOR USE IN LIFE SUPPORT SYSTEMS  

相关型号:

PA5388

100dB, 24-Bit, 192 kHz Stereo Audio CODEC
PROTEC

PA5400

High Current Molded Power Inductor
PULSE

PA5400.102NLT

High Current Molded Power Inductor
PULSE

PA5400.103NLT

High Current Molded Power Inductor
PULSE

PA5400.151NLT

High Current Molded Power Inductor
PULSE

PA5400.152NLT

High Current Molded Power Inductor
PULSE

PA5400.221NLT

High Current Molded Power Inductor
PULSE

PA5400.222NLT

High Current Molded Power Inductor
PULSE

PA5400.331NLT

High Current Molded Power Inductor
PULSE

PA5400.332NLT

High Current Molded Power Inductor
PULSE

PA5400.361NLT

High Current Molded Power Inductor
PULSE

PA5400.471NLT

High Current Molded Power Inductor
PULSE