PA5322 [PROTEC]
100dB, 24-Bit, 192 kHz Stereo Audio CODEC; 100分贝, 24位, 192千赫立体声音频编解码器型号: | PA5322 |
厂家: | PROTEK DEVICES |
描述: | 100dB, 24-Bit, 192 kHz Stereo Audio CODEC |
文件: | 总17页 (文件大小:280K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
FEATURES
GENERAL DESCRIPTION
ADC and DAC:
PA5322 is a low cost high performance stereo audio CODEC.
PA5322 performs stereo digital to analog conversion and
analog to digital conversion continuously from 8 kHz to 200
kHz sampling frequency. PA5322 is ideal for high
100 dB dynamic range
–90 dB THD
8 kHz to 200 kHz sampling frequency
I2S, left justified and right justified audio data format, 16-
24 bits
performance cost sensitive consumer audio applications.
128, 192, 256, 384, 512, 768 and 1024 MCLK to LRCK
ratios
Independent ADC and DAC sampling frequencies and
clocks
Advanced multi-bit delta-sigma with low sensitivity to
clock jitter
Single power supply from 3V to 5.5V
PA5322 can accept I²S; left justified and right justified serial
audio data formats up to 24-bit word length. ADC and DAC
operate on independent sampling frequencies and clocks. The
device uses advanced multi-bit (∆-∑) delta-sigma modulation
technique to convert data between digital and analog.
The multi-bit (∆-∑) delta-sigma modulators makes the device
with low sensitivity to clock jitter and low out of band noise.
Hardware mode or SPI or 2-wire uC interface
PA5322 can operate either in the hardware mod or the
software mode. In the hardware mode, pin M0, M1, M2 and
M3 set the operation of the device. In the software mode,
PA5322 provides SPI or 2-wire micro-controller interfaces to
configure its operations.
ADC:
4-to-1 MUX for analog inputs
Direct 2 VRMS analog input
ADC PGA from 11.5 dB to –11.5 dB in 0.5 dB per step
Digital attenuation from 6.5 dB to 89.5 dB in 0.5 dB per
step
Optional high pass filter to remove analog DC offset
DAC:
Digital volume control from 0 dB to 120 dB attenuation in
0.5 dB per step, with soft ramp and zero crossing
transition
BLOCK DIAGRAM
De-emphasis filter for 32, 44.1 and 48 kHz sampling
frequencies
Selectable fast and slow roll-off filters
95 dB dynamic range
-85 dB THD+N
Up to 200 kHz sampling frequency
I2S audio data format, 16-24 bits
Single power supply 4.5 V to 5.5V
µC Interface
5KΩ
ADC
Clock Manager
ADCMCLK
APPLICATIONS
AIN1L/R
AIN2L/R
AIN3L/R
DVD recorder
ADCSDOUT/M3
ADCLRCK
ADCSCLK
Multilevel
Sigma Delta ADC
Input
MUX/MIX
ADC
Serial Port
DSP
Personal video recorder
LCD and digital TVs
Car audio
PGA
AIN4L/R
AV receiver
5KΩ
DACSDIN
DACLRCK
DACSCLK
AOUTL
AOUTR
Output Amp
Low Pass Filter
DAC
Serial Port
Multilevel
Sigma Delta DAC
DSP
DAC
Clock Manager
DACMCLK
ORDERING INFORMATION
Temperature Range
Package
SSOP-28
Part Number
PA5322-T7
-40 to 85 °C
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
PIN CONFIGURATION
DACSDIN
DACLRCK
DACSCLK
DACMCLK
ADCLRCK
ADCSCLK
VDDD
1
AOUTL
AOUTR
DACREFP
AIN4L
28
27
26
25
24
23
22
21
20
19
18
17
16
15
2
3
4
AIN3L
5
AIN2L
6
VDDA
7
GNDD
GNDA
8
ADCMCLK
ADCSDOUT/M3
CCLK/M2
CDATA/M1
CE/M0
AIN1L
9
AIN1R
AIN2R
AIN3R
AIN4R
ADCREFP
10
11
12
13
14
MUTE
PIN DESCRIPTIONS
Pin
ADC Pin.
AIN1L/R
Pin No.
Pin Description
20, 19
Analog input 1 left and right channels
Analog input 2 left and right channels
Analog input 3 left and right channels
Analog input 4 left and right channels
ADC master clock
AIN2L/R
23, 18
AIN3L/R
24, 17
AIN4L/R
25, 16
ADCMCLK
ADCSDOUT/M3
ADCLRCK
ADCSCLK
DACMCLK
DACSDIN
DACLRCK
DACSCLK
AOUTL/R
9
10
ADC PCM serial data output
5
ADC PCM serial data left and right channel frame clock
ADC PCM serial data bit clock
6
4
DAC master clock
1
DAC PCM serial data input
2
3
DAC PCM serial data left and right channel frame clock
DAC PCM serial data bit clock
28, 27
DAC analog output left and right channels
Mute pin, active when detect 8K zero input in both left and right channels or users
choose to mute the DAC
MUTE
14
DAC Pin.
CE/M0
13
11
12
SPI uC interface chip select or 2-wire AD0
SPI or 2-wire (I2C compatible) uC interface clock
SPI or 2-wire (I2C compatible) uC interface data
CCLK/M2
CDATA/M1
Micro-Controller Pin or Hardware Mode Pin.
VDDD/GNDD
7, 8
Digital power supply
Analog power supply
Analog filtering pins
VDDA/GNDA
22, 21
15, 26
ADCREFP/DACREFP
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
In hardware mode, the mode pins function as follows:
Pin
M3
Pin No. Pin Description
External pull-up (47k resistor) – ADC and DAC I2S serial data format
External pull-down (47k resistor) – ADC and DAC LJ serial data format
10
11
0 – no de-emphasis
1 – 44.1 kHz de-emphasis filter on
00 – select AIN1
M2
01 – select AIN2
10 – select AIN3
M1:M0
12, 13
11 – select AIN4
RECOMMENDED OPERATING CONDITIONS
Analog Supply Voltage ………………… MIN 3.0V MAX 5.5V
Digital Supply Voltage ………………… MIN 3.0V MAX 5.5V
ABSOLUTE MAXIMUM RATINGS
Supply Voltage …………………………. MIN-0.3V MAX +7.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:
VDDA=+5.0V, VDDD=+5.0V, GNDA=0V, GNDD=0V, Ambient temperature=+25C, 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
-90
80
95
-86
85
100
-80
90
dB
dB
dB
dB
dB
%
Channel Separation (1KHz)
Signal to Noise ratio
Inter-channel Gain Mismatch
Gain Error
85
95
100
0.1
±5
Filter Frequency Response – Single Speed
Pass-band
0
0.4535
±0.05
Fs
Fs
dB
dB
Stop-band
0.5465
Pass-band Ripple
Stop-band Attenuation
Filter Frequency Response – Double Speed
Pass-band
70
0
0.4167
±0.005
Fs
Fs
dB
dB
Stop-band
0.5833
Pass-band Ripple
Stop-band Attenuation
Filter Frequency Response – Quad Speed
Pass-band
70
0
0.2083
±0.005
Fs
Fs
dB
Stop-band
0.7917
Pass-band Ripple
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
Stop-band Attenuation
70
10
dB
Analog Input
Full Scale Input Level (Note 2)
2*(VDDA/5)
Vrms
Input Impedance
Kꢀ
Note
1. The value is measured used A-weighted filter. If not use, the result will decrease 2-3 dB.
2. PA5322 allows direct 2 VRMS inputs if external 5 K resistors are used in serial with the analog input pins. 1 VRMS inputs can directly apply to the
analog input pins.
DAC ANALOG AND FILTER CHARACTERISTICS AND SPECIFICATIONS
Test conditions are as the following unless otherwise specify:
VDDA=+5.0V, VDDD=+5.0V, GNDA=0V, GNDD=0V, Ambient temperature=+25C, Fs=48 KHz, 96 KHz or 192 KHz, MCLK/LRCK=256.
PARAMETER
MIN
TYP
MAX
UNIT
DAC Performance
Dynamic Range (Note 1)
85
-90
80
98
-82
85
100
-75
90
dB
dB
dB
dB
dB
THD+N
Channel Separation (1KHz)
Signal to Noise ratio
85
97
100
Inter-channel Gain Mismatch
0.05
Filter Frequency Response – Single Speed, Fast Roll-off Filter
Pass-band
0
0.4535
±0.05
Fs
Fs
dB
dB
Stop-band
0.5465
Pass-band Ripple
Stop-band Attenuation
53
Filter Frequency Response – Double Speed, Fast Roll-off Filter
Pass-band
0
0.4167
±0.005
Fs
Fs
dB
dB
Stop-band
0.5833
Pass-band Ripple
Stop-band Attenuation
56
Filter Frequency Response – Quad Speed, Fast Roll-off Filter
Pass-band
0
0.2083
±0.006
Fs
Fs
dB
dB
Stop-band
0.7917
Pass-band Ripple
Stop-band Attenuation
50
Filter Frequency Response – Single Speed, Slow Roll-off Filter
Pass-band
0
0.4167
±0.05
Fs
Fs
dB
dB
Stop-band
0.5833
Pass-band Ripple
Stop-band Attenuation
65
Filter Frequency Response – Double Speed, Slow Roll-off Filter
Pass-band
0
0.2083
±0.005
Fs
Fs
dB
dB
Stop-band
0.7917
Pass-band Ripple
Stop-band Attenuation
85
Filter Frequency Response – Quad Speed, Slow Roll-off Filter
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
Pass-band
0
0.1042
±0.005
Fs
Fs
dB
dB
Stop-band
0.8958
Pass-band Ripple
Stop-band Attenuation
55
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
Output Impedance
Load Resistance
Load Capacitance
0.7*VDDA
120
Vpp
ꢀ
2
Kꢀ
PF
100
Note
1. The value is measured used A-weighted filter.
DC CHARACTERISTICS AND SPECIFICATIONS
PARAMETER
MIN
TYP
MAX
UNIT
Normal Operation Mode
VDDD=VDDA=5.0V:
VDDD Current
42
55
V
DDA Current
VDDD=VDDA=3.3V:
DDD Current
mA
mA
V
34
50
VDDA Current
Power Down Mode
VDDD=VDDA=5.0V:
V
DDD Current
VDDA Current
DDD=VDDA=3.3V:
VDDD Current
DDA Current
TBD
TBD
V
TBD
TBD
V
Digital Voltage Level
Input High-level Voltage
Input Low-level Voltage
Output High-level Voltage
Output Low-level Voltage
Mute Pin Drive Capability
2.0
V
V
0.8
3.0
VDDD
0
V
V
mA
SERIAL AUDIO PORT SWITCHING SPECIFICATIONS
PARAMETER
Symbol
MIN
MAX
51.2
60
UNIT
MHz
%
MCLK frequency
MCLK duty cycle
40
40
LRCK frequency
200
60
KHz
%
LRCK duty cycle
SCLK frequency
26
MHz
ns
SCLK pulse width low
SCLK Pulse width high
TSCLKL
TSCLKH
15
15
ns
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
SCLK falling to LRCK edge
TSLR
TSDO
TSDIS
TSDIH
–10
0
10
ns
ns
ns
ns
SCLK falling to SDOUT valid
SDIN valid to SCLK rising setup time
SCLK rising to SDIN hold time
10
10
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
5
500
10
45
45
10
15
TSPISH
TSPISC
TSPICL
TSPICH
TSPIDS
TSPIDH
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
100
KHz
us
us
us
us
us
us
ns
us
ns
Bus Free Time Between Transmissions
Start Condition Hold Time
Clock Low time
TTWID
TTWSTH
TTWCL
TTWCH
TTWSTS
TTWDH
TTWDS
TTWR
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
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
TSPIDS
TSPIDH
SPI_DIN
SPI_CLK
SPI_CSn
TSPICL
TSPICH
TSPISH
TSPICS
TSPISC
Serial Control Port SPI Timing
SDA
SCL
TTW STS
TTW STH
TTW ID
TTW DH
TTW DS
TTWCL
TTW CH
S
P
S
TTW F TTW R
Serial Control Port 2-wire Timing
RECOMMENDED APPLICATION CIRCUIT
VDDD
7
47µH
7
8
28
VDDD
AOUTL
AOUTR
Vout L/R TO
EXTERNAL LPE
27
GNDD
0.1µF
10µF
1
26
DACSDIN
DACLRCK
DACSCLK
DACREFP
AIN4L
0.1µF
4.7µF
10µF
5KΩ
5KΩ
2
25
24
DAC SERIAL
AUDIO DATA
4.7µF
4.7µF
3
4
5
AIN3L
5KΩ
5KΩ
ANALOG
LEFT INPUTS
23
DACMCLK
ADCLRCK
AIN2L
AIN1L
VDDA
4.7µF
VDDA
20
22
47µH
0.1µF
6
9
ADCSCLK
ADCMCLK
ADC SERIAL
AUDIO DATA
10µF
21
19
GNDA
4.7µF
4.7µF
5KΩ
5KΩ
10
ADCSOUT
AIN1R
AIN2R
AIN3R
18
17
11
12
CCLK
4.7µF
4.7µF
ANALOG
RIGHT INPUTS
5KΩ
5KΩ
MCU
INTERFACE
CDATA
13
14
16
15
CE
AIN4R
EXTERNAL
MUTE CIRCUIT
MUTE
ADCREFP
0.1µF
10µF
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
AUDIO DATA SAMPLING FREQUENCY AND CLOCKS
According to the input serial audio data sampling frequency, the device can work in three speed modes: single speed, double speed
or quad speed modes. The ranges of the sampling frequency in these three modes are listed in Table1.
ADCSampleRate bits in ADC Control 2 register (RAM address 0x02) or DACSampleRate bits in DAC Control 2 register (RAM
address 0x07) set the speed mode.
By default, the device can detect the speed mode automatically when sampling rate falls within the Fs Auto Detection Ranges listed in
Table1.
In this auto detection mode, sampling frequency outside the specified ranges is not supported. ADC and DAC have separate auto
detection so ADC and DAC sampling frequencies can be completely independent.
Table 1. Sampling Frequency and CLK/LRCK Ration
Speed Mode
Single Speed
Double Speed
Quad Speed
Sampling Frequency
8kHz – 50kHz
Fs Auto Detection Range
8kHz – 50kHz
MCLK/LRCK Ratio
256, 384, 512, 768, 1024
128, 192, 256, 384, 512
128, 192, 256
50kHz – 100kHz
100kHz – 200kHz
84kHz – 100kHz
167kHz – 200kHz
The device uses separate master clocks, LRCK clocks and SCLK clocks for the ADC and DAC. The allowed MCLK/LRCK ratios in
each speed mode are also listed in Table1. The device always detects MCLK/LRCK ratio automatically.
HARDWARE MODE
The device can operate in the hardware mode or the software mode. The default is the hardware mode. To change the hardware
mode to the software mode, set SCPEn bit of Chip Control register (RAM address 0x00) to 1.
In the hardware mode, pin M3 sets I2S or left justified ADC and DAC serial port mode, pin M2 sets DAC de-emphasis filter on or off,
and pins M1 and pin M0 select one of the four ADC analog inputs.
Please refer to PIN DESCRIPTIONS section for detail settings.
POWER UP AND DOWN
The chip internal power on reset will reset the device when VDDD ramps from ground to supply voltage level. When VDDD and VDDA
are present to the device, applying ADCMCLK and ADCLRCK will startup the ADC and applying DACMCLK and DACLRCK will start
up the DAC.
During the DAC startup, DAC analog outputs ramp gradually from ground to mid level to minimize audible pop noise. This gradual
ramp feature can be turned off by setting ClickFree bit of DAC Control 1 register (RAM address 0x06) to 0.
ADC and DAC can power up or down independently. In the software mode, ADC or DAC can power down through ADCPDN bit or
DACPDN bit of Chip Control register (RAM address 0x00). In the hardware mode, ADC can power down by stopping ADCMCLK or
ADCLRCK, and DAC can power down by stopping DACMCLK or DACLRCK.
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.
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
PA5322 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 PA5322.
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.
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
Chip Address
SPI_DIN
R/
RAM
8 bits
Register Data
8 bits
7 bits - 0010000 Wb
0
1
5
6
7
8
9
14 15 16 17 22 23
SPI_CLK
SPI_CSn
RAM = Register Address Mapping
Figure1. 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.
SDA
1-7
8
9
1-7
8
9
1-7
8
SCL
S
P
START ADDRESS R/W ACK
DATA
ACK
DATA
STOP
Figure2. Complete Data Transfer 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.
In 2-wire interface mode, the registers can be written and read. The formats of “write” and “read” instructions are shown in Table 2
and Table 3. 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 2 Write Data to Register in 2-wire Interface Mode
Chip Address
001000
R/W
AD0
Register Address
ACK
Data to be written
RAM
0
ACK
DATA
Table 3 Read Data from Register in 2-wire Interface Mode
Chip Address R/W
001000
Register Address
AD0
AD0
0
ACK
ACK
RAM
Chip Address R/W
001000
Data to be read
1
DATA
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
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 11 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 Table 2.
Table 2 Bit Content of Register Address Map
Bit Name
Bit
Description
RAM Address
7:0
The address of the register to be accessed:
0x00 – Chip Control (default)
0x01 – ADC Control 1
0x02 – ADC Control 2
0x03 – ADC Mute Control
0x04 – ADC Left Gain Control
0x05 – ADC Right Gain Control
0x06 – DAC Control 1
0x07 – DAC Control 2
0x08 – DAC Mute Control
0x09 – DAC Left Volume Control
0x0a – DAC Right Volume Control
Chip Control – 0x00
Bit Name
Bit
7
Description
0 – hardware mode (default)
1 – software (control port) mode
SCPEn
Reserved
ADCPDN
Reserved
DACPDN
Reserved
6:5
4
Reserved
0 – normal (default)
1 – ADC low power mode
3
Reserved
0 – normal (default)
1 – DAC low power mode
2
1:0
Reserved
ADC Control 1 – 0x01
Bit Name
Bit
Description
AINMIX
7:3
00000 – AIN1 input to ADC (default)
xxx1 – AIN1 input ADC
xx1x – AIN2 input ADC
x1xx – AIN3 input ADC
1xxx – AIN4 input ADC
0 – ADC HPF enable (default)
1 – ADC HPF disable
HPF
2
Reserved
1:0
Reserved
ADC Control 2 – 0x02
Bit Name
Bit
Description
ADCSampleRate
7:6
00 – ADC speed mode auto detect (default)
01 –single speed mode
10 –double speed mode
11 –quad speed mode
ADCSPDataMode
5:3
000 – Left justified, up to 24 bit data
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
001 – I2S, up to 24 bit data (default)
010 – Right justified, 16 bit data
011 – Reserved
100 – Reserved
101 – Right justified, 24 bit data
110 – Reserved
111 – Reserved
00 – 32
01 – 48
10 – 64 (default)
11 – 128
SCLKRatio
Reserved
2:1
0
Reserved
ADC Mute Control – 0x03
Bit Name
Bit
Description
ADCMute
7
0 – normal (default)
1 – mute ADC digital output
Reserved
Reserved
6
ADCRampRate
5:4
These bits define ADC gain control ramp rate:
00 – 0.5 dB per 4 LRCK (default)
01 – 0.5 dB per 8 LRCK
10 – 0.5 dB per 16 LRCK
11 – 0.5 dB per 32 LRCK
ADCL=R
3
2
0 – normal (default)
1 – both channel gain control is set by ADC Left Gain Control register
ADC soft ramp at mute or gain change:
0 – Disabled
ADCSoftRamp
1 – Enabled (default)
ADCZeroCrs
Reserved
1
0
ADC mute or gain change at zero crossing signal level to minimize audible noise
0 – Disabled
1 – Enabled (default)
Reserved
ADC Left Gain Control – 0x04
Bit Name
Bit
Description
ADCGainL
7:0
1110 1000 – 6.0 dB gain (PGA)
1110 1001 – 6.5 dB gain (PGA)
1110 1010 – 7.0 dB gain (PGA)
1110 1011 – 7.5 dB gain (PGA)
1110 1100 – 8.0 dB gain (PGA)
1110 1101 – 8.5 dB gain (PGA)
1110 1110 – 9.0 dB gain (PGA)
1110 1111 – 9.5 dB gain (PGA)
1111 0000 – 10.0 dB gain (PGA)
1111 0001 – 10.5 dB gain (PGA)
1111 0010 – 11.0 dB gain (PGA)
1111 0011 – 11.5 dB gain (PGA)
1111 0100 – 6.0 dB attenuation (PGA)
1111 0101 – 5.5 dB attenuation (PGA)
1111 0110 – 5.0 dB attenuation (PGA)
1111 0111 – 4.5 dB attenuation (PGA)
1111 1000 – 4.0 dB attenuation (PGA)
1111 1001 – 3.5 dB attenuation (PGA)
1111 1010 – 3.0 dB attenuation (PGA)
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
1111 1011 – 2.5 dB attenuation (PGA)
1111 1100 – 2.0 dB attenuation (PGA)
1111 1101 – 1.5 dB attenuation (PGA)
1111 1110 – 1.0 dB attenuation (PGA)
1111 1111 – 0.5 dB attenuation (PGA)
0000 0000 – no gain or attenuation (default)
0000 0001 – 0.5 dB gain (PGA)
0000 0010 – 1.0 dB gain (PGA)
0000 0011 – 1.5 dB gain (PGA)
0000 0100 – 2.0 dB gain (PGA)
0000 0101 – 2.5 dB gain (PGA)
0000 0110 – 3.0 dB gain (PGA)
0000 0111 – 3.5 dB gain (PGA)
0000 1000 – 4.0 dB gain (PGA)
0000 1001 – 4.5 dB gain (PGA)
0000 1010 – 5.0 dB gain (PGA)
0000 1011 – 5.5 dB gain (PGA)
0000 1100 – 6.0 dB gain (PGA)
0000 1101 – 11.5 dB attenuation (PGA)
0000 1110 – 11.0 dB attenuation (PGA)
0000 1111 – 10.5 dB attenuation (PGA)
0001 0000 – 10.0 dB attenuation (PGA)
0001 0001 – 9.5 dB attenuation (PGA)
0001 0010 – 9.0 dB attenuation (PGA)
0001 0011 – 8.5 dB attenuation (PGA)
0001 0100 – 8.0 dB attenuation (PGA)
0001 0101 – 7.5 dB attenuation (PGA)
0001 0110 – 7.0 dB attenuation (PGA)
0001 0111 – 6.5 dB attenuation (PGA)
0001 1000 – 6.0 dB attenuation (PGA)
0001 1001 – 6.5 dB attenuation (6 dB PGA + digital attenuation)
0001 1010 – 7.0 dB attenuation (6 dB PGA + digital attenuation)
……..
1011 1111 – 89.5 dB attenuation (6 dB PGA + digital attenuation)
ADC Right Gain Control – 0x05
Bit Name
Bit
Description
ADCGainR
7:0
Same as ADCGainL settings for ADC right channel
DAC Control 1 – 0x06
Bit Name
Bit
Description
Reserved
7:6
Reserved
0 – disable pop noise suppression power up and down
1 – enable pop noise suppression power up and down (default)
0 – fast filter roll off (default)
ClickFree
SlowFilter
5
4
1 – slow filter roll off
InvL
InvR
0 – DAC analog output no phase inversion (default)
1 – DAC analog output 180 degree phase inversion
3:2
1:0
Reserved
Reserved
DAC Control 2 – 0x07
Bit Name
Bit
Description
DACSampleRate
7:6
00 – DAC speed mode auto detect (default)
01 – single speed mode
10 – double speed mode
11 – quad speed mode
DACSPDataMode
5:3
000 – Left justified, up to 24 bit data
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
001 – I2S, up to 24 bit data (default)
010 – Right justified, 16 bit data
011 – Reserved
100 – Reserved
101 – Right justified, 24 bit data
110 – Reserved
111 – Reserved
DeEmphasisMode
Reserved
2:1
0
00 – De-emphasis filter disabled (default)
01 – De-emphasis filter for Fs=32 KHz
10 – De-emphasis filter for Fs=44.1 KHz
11 – De-emphasis filter for Fs=48 KHz
Reserved
DAC Mute Control – 0x08
Bit Name
Bit
Description
DACMute
7
0 – un-mute analog outputs for both channels (default)
1 – mute analog outputs for both channels
These bits define volume control ramp rate:
00 – 0.5 dB per 4 LRCK (default)
01 – 0.5 dB per 8 LRCK
10 – 0.5 dB per 16 LRCK
DACRampRate
AutoMute
6
5
11 – 0.5 dB per 32 LRCK
Auto mute function: long period of zero inputs (8k audio samples) will mute the analog output.
Any single non-zero input will un-mute. 0 – disable
1 – enable (default)
DACL=R
4
3
0 – normal (default)
1 – both channel volume control is set by Left Volume Control register
Soft ramp at mute and volume change:
0 – Disabled
DACSoftRamp
1 – Enabled (default)
DACZeroCrs
Reserved
1
0
Mute or volume change at zero crossing signal level to minimize audible noise
0 – Disabled
1 – Enabled (default)
Reserved
DAC Left Volume Control – 0x09
Bit Name
Bit
Description
DACVolumeL
7:0
Digital volume control setting attenuates the signal in 0.5 dB incremental from 0 to –120 dB.
Max setting is –120 dB.
0000 0000 – no attenuation (default)
0000 0001 – 0.5 dB attenuation
0000 0010 – 1.0 dB attenuation
0000 0011 – 1.5 dB attenuation
……..
DAC Right Volume Control – 0x0a
Bit Name
Bit
Description
Same as DACVolumeL settings for DAC right channel
DACVolumeR
7:0
Digital Audio Interface
The device provides three 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 three formats are I2S, left justified and right justified. In the hardware mode, the formats are selected
through pin M3.
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
In the software mode, the formats are selected by ADCSPDataMode bits of ADC Control 2 register (RAM address 0x02) or
DACSPDataMode bits DAC Control 2 register (RAM address 0x07). DACSDIN is sampled by PA5322 on the rising edge of
DACSCLK. ADC data is out on ADCSDOUT and changes on the falling edge of ADCSCLK. The relationship of SDATA
(SDIN/SDOUT), SCLK and LRCK with the three formats is shown below through Figure 3 to Figure 5.
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 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 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 Audio Data Format up to 24-bit
Analog Input Multiplex and Programmable Gain Control
PA5322 allows direct 2 VRMS inputs if external 5 K resistors are used in serial with the analog input pins. Please refer to Figure 6.
VRMS inputs can directly apply to the analog input pins.
In the hardware mode, the analog input is selected through mode pins M1 and M0. In the software mode, the analog input is selected
through AINMIX bits of ADC Control 1 register (RAM address 0x01). In the software mode, more than one input can apply to the
analog input pins to achieve mixing effects.
5k
AIN1L/R
AIN2L/R
AIN3L/R
AIN4L/R
+12 dB to –12 dB PGA
5k
5k
5k
5k
5k
5k
5k
5k
Opamp
PA5322
Figure 6. ADC Left and Right Inputs
The ADC has an analogue input PGA and digital gain control for each stereo channel. The analog PGA has a range of +12 dB to –12
dB gains in 0.5 dB per step. The digital gain control allows further attenuation (after the PGA) from 12.5 dB to 96 dB in 0.5 dB per
step. ADC Left Gain Control register (RAM address 0x04) and ADC Right Gain Control register (RAM address 0x05) allows
independent control of left and right channel gains.
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
Zero crossing detection and soft ramp control circuits are provided for the ADC gain control (ADC Mute Control register, RAM address
0x03). This feature minimizes the audible click and “zipper” noise as the gain values change.
DAC Fade In and Fade Out Transition
When DACMute bit in DAC Mute Control register (RAM address 0x08) is set, the analog outputs go to mute level (common mode
voltage) gradually at the rate set by DACRampRate bits in the same register. Upon the release of the DACMute bit, the analog
outputs go up gradually at the same rate set by DACRampRate bits. Please refer to Figure 7.
The fade in and fade out feature can be set or disabled by DACSoftRamp bit in the same register.
Mute Bit
Volume
Level
AOUT
Figure 7. Fade In/Out Diagram
The fade in and fade out feature is also available when AutoMute bit in DAC Mute Control register (RAM address 0x08) is set to
detect long stream of zero input data.
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
PACKAGE DIMENSIONS AND MEASUREMENTS
28-pin SSOP Outline Dimensions
561 E. Elliot Road #175 Chandler, AZ 85225 Tel: (480) 539-2900. Fax: (480) 632-1715
www.protekanalog.com
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
PA5322
100dB, 24-Bit, 192 kHz Stereo Audio CODEC
ANALO G P RO DUCTS DIVIS IO N
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
95248 Rev.0. 01/10
NOT FOR USE IN LIFE SUPPORT SYSTEMS
相关型号:
©2020 ICPDF网 联系我们和版权申明