The STA326 comprises digital audio processing, digital amplifier control and DDX® power
output stage to create a high-power single-chip DDX
®
solution for high-quality,
high-efficiency, all-digital amplification.
The STA326 power section consists of four independent half-bridges. These can be
configured via digital control to operate in different modes. 2.1 channels can be provided by
two half-bridges and a single full-bridge to give up to 2 x 40 W plus 1 x 80 W of power
output. Two channels can be provided by two full-bridges to give up to 2 x 80 W of power.
The IC can also be configured as a single parallel full-bridge capable of high-current
operation and 1 x 160 W output.
Also provided in the STA326 is a full assortment of digital processing features. This includes
up to four programmable 28-bit biquads (EQ) per channel and bass/treble tone control.
Automodes enable a time-to-market advantage by substantially reducing the amount of
software development needed for certain functions. This includes auto volume loudness,
preset volume curves, preset EQ settings and new advanced AM radio-interference
reduction modes.
The serial audio data input interface accepts all possible formats, including the popular I
2
S
format.
Three channels of DDX
audio to patented DDX
®
processing are provided. This high-quality conversion from PCM
®
3-state PWM switching provides over 100 dB of SNR and dynamic
range.
Figure 1.Block diagram
SDASCL
SDASCL
DDX-SPIRIT
DDX-SPIRIT
Processing
Processing
Power-Down
Power-Down
DDX
DDX
FAULTTWARN
FAULTTWARN
®
®
Half-Bridge
Half-Bridge
Power Stage
Power Stage
LRCKI
LRCKI
BICKI
BICKI
SDI_12
SDI_12
I2C
I2C
Serial Data
Serial Data
Mapping &
Mapping &
Resampling
Resampling
Input,
Input,
Channel
Channel
PLL
PLL
CLK
CLK
System Contro
System Contro
System Timing
System Timing
l
l
Audio EQ, Mix,
Audio EQ, Mix,
Crossver,
Crossver,
Volume, Limiter
Volume, Limiter
Processing
Processing
Figure 2.Channel signal flow diagram through the digital core
I2S
Input
Channel
Mapping
Re-sampling
EQ
Processing
Mix
Crossover
Filter
Volu me
Limiter
4X
Interp
Quad
Quad
EAPD
EAPD
DDX
OUT1A
OUT1A
OUT1B
OUT1B
OUT2A
OUT2A
OUT2B
OUT2B
®
DDX
Output
Doc ID 11531 Rev 55/58
DescriptionSTA326
1.1 EQ processing
Two channels of input data (re-sampled if necessary) at 96 kHz are provided to the EQ
processing block. In this block, up to four user-defined biquads can be applied to each of the
two channels.
Prescaling, DC-blocking, high-pass, de-emphasis, bass, and tone control filters can also be
applied based on various configuration parameter settings.
The entire EQ block can be bypassed for all channels simultaneously by setting the DSPB
bit to 1. And the CxEQBP bits can be used to bypass the EQ function on a per channel
basis. Figure 3 shows the internal signal flow through the EQ block.
Figure 3.Channel signal flow through the EQ block
Re-s amp led
Input
Pre
Scale
High-Pass
Filter
BQ#1BQ#2
BQ#4BQ#3
De-
Emphasis
Bass
Filter
Treble
Filter
To
Mix
If HPB = 0
1.2 Output configurations
Figure 4.Output power-stage configurations
OUT1A
Half
Half
Bridge
Bridge
Half
Half
Bridge
Bridge
Half
Half
Bridge
Bridge
Half
Half
Bridge
Bridge
Half
Bridge
Half
Bridge
Half
Bridge
Half
Bridge
OUT1A
OUT1B
OUT1B
OUT2A
OUT2A
OUT2B
OUT2B
OUT1A
OUT1B
OUT2A
OUT2B
4 Biquads
User defined if AMEQ = 00
Preset EQ if AMEQ = 01
Auto Lo udness if AMEQ = 10
Output half bridge PWM outputs 1A, 1B, 2A and 2B provide the input signals to the
speakers.
CONFIG (pin 21)
The configuration input pin is normally connected to ground. Using the mono high power
BTL configuration requires the CONFIG input pin to be shorted to VREG1
RESET (pin 22)
Driving RESET low sets all outputs low and returns all register settings to their default
(reset) values. The reset is asynchronous to the internal clock.
2
I
C signals (pins 23 and 24)
The SDA (I2C Data) and SCL (I2C Clock) pins operate according to the I2C specification
(Chapter 6 on page 16 gives more information). Fast-mode (400 kB/s) I
supported.
2
C communication is
GNDA and VDDA (pins 28 and 29)
This is the 3.3 V analog supply for the phase locked loop. It must be well decoupled and
filtered for good noise immunity since the audio performance of the device depends upon
the PLL circuit.
CLK (pin 27)
This is the master clock in used by the digital core. The master clock must be an integer
multiple of the LR clock frequency. Typically, the master clock frequency is 12.288 MHz
(256 * fs) for a 48 kHz sample rate; it is the default setting at power-up. Care must be taken
to provide the device with the nominal system clock frequency; over-clocking the device may
result in anomalous operation, such as inability to communicate.
FILTER_PLL (pin 26)
This is the connection for external filter components for the PLL loop compensation. The
schematic diagram in Figure 20 on page 54 shows the recommended circuit.
BICKI (pin 32)
The serial or bit clock input is for framing each data bit. The bit clock frequency is typically
64 * fs using I
2
S serial format.
SDI_12 (pin 30)
This is the serial data input where PCM audio information enters the device. Six format
choices are available including I
of 16, 18, 20 and 24 bits.
2
S, left or right justified, LSB or MSB first, with word widths
LRCKI (pin 31)
The left/right clock input is for data word framing. The clock frequency is at the input sample
rate, fs.
Doc ID 11531 Rev 59/58
Electrical specificationsSTA326
3 Electrical specifications
Table 3.Absolute maximum ratings
SymbolParameterValueUnit
V
V
V
T
T
amb
DD33
i
o
stg
3.3 V I/O power supply (pins VDDA, VDD)-0.5 to 4V
Voltage on input pins-0.5 to (V
Voltage on output pins-0.5 to (V
DD33
DD33
+0.5)V
+0.5)V
Storage temperature-40 to +150°C
Ambient operating temperature-20 to +85°C
DC supply voltage (pins nA, nB)40V
V
MAX
Table 4.Thermal data
Maximum voltage on VL (pin 20)5.5V
SymbolParameterMinTypMaxUnit
R
thj-case
T
j-SD
T
WARN
T
h-SD
Table 5.Recommended operating conditions
Thermal resistance junction to case (thermal pad)--2.5°C/W
Overcurrent protection
threshold (short circuit current
limit)
V
UV
t
pw-min
P
o
P
o
Undervoltage protection
threshold
Output minimum pulse widthNo load70150ns
Output power (refer to test
circuit
Output power (refer to test
circuit
Figure 6.Test circuit 1
Low current dead time = MAX(DTr, DTf)
Duty cycle = 50%
INxY
M58
M57
--7-V
THD = 10%
RL = 4Ω, = 21 V
= 8Ω, = 36 V
R
L
-
-
50
80
-
-
W
THD = 1%
RL = 4Ω, = 21 V
RL = 8Ω, = 36 V
+
OUTxY
gnd
OUTxY
DTrDTf
R 8 W
-
-
+
-
V67
vdc = /2
(3/4)
(1/2)
(1/4)
t
40
62
-
-
W
Figure 7.Test circuit 2
High Current Dead time for Bridge application = ABS(DTout(A)-DTin(A))+ABS(DTOUT(B)-DTin(B))
+V
CC
Duty cycle=ADuty cycle=B
M58
DTin(A)
INA
M57
Duty cycle A and B: Fixed to have DC output current of 4A in the direction shown in figure
12/58Doc ID 11531 Rev 5
Q1
Q3
DTout(A)
OUTA
Iout=1.5A
C69
470nF
Rload=4Ω
C71 470nF
M64
OUTB
Q2
M63
Q4
DTout(B)DTin(B)
L68 10μL67 10μ
Iout=1.5A
C70
470nF
INB
D06AU1651
STA326Power supply and control sequencing
4 Power supply and control sequencing
To guarantee correct operation and reliability, the recommended power-on/off sequence as
shown in Figure 8 should be followed.
Figure 8.Recommended power-on/off sequence
V
Vcc > V
L
PWRDN
IN
V
should be turned on before VL. This prevents uncontrolled current flowing through the
CC
internal protection diode connected between V
V
cc
V
L
(logic supply) and VCC (high power supply)
L
which could result in damage to the device.
PWRDN must be released after V
is switched on. An input signal can then be sent to the
L
power stage.
t
t
t
Doc ID 11531 Rev 513/58
Characterization curvesSTA326
5 Characterization curves
Figure 9.Channel separation vs. frequency
+10
+10
+0
+0
dBr A
dBr A
-10
-10
-20
-20
-30
-30
-40
-40
-50
-50
-60
-60
-70
-70
-80
-80
-90
-90
2020k501002005001k2k5k10k
2020k501002005001k2k5k10k
Hz
Hz
Figure 10. THD vs. output power - single ended
10
10
5
THD (%)
THD (%)
5
Vcc =36 V
2
2
1
1
0.5
0.5
0.2
0.2
0.1
0.1
0.05
0.05
0.02
0.02
0.01
0.01
100m60200m500m125102050
100m60200m500m125102050
Vcc = 36 V
R
R
= 4 Ω
= 4 Ω
L
L
f= 1 kHz
f= 1 kHz
Po (W)
Po (W)
14/58Doc ID 11531 Rev 5
STA326Characterization curves
Figure 11. THD vs. output power - BTL
10
10
5
5
THD (%)
THD (%)
Vcc = 36V
2
2
1
1
0.5
0.5
0.2
0.2
0.1
0.1
0.05
0.05
0.02
0.02
0.01
0.01
100m100200m500m125102050
100m100200m500m125102050
Vcc = 36 V
Rl= 8 Ω
Rl = 8 Ω
f= 1 kHz
f= 1 kHz
Po (W)
Po (W)
Figure 12. THD vs. frequency - BTL
1
1
0.5
0.5
THD (%)
THD (%)
0.2
0.2
0.1
0.1
0.05
0.05
0.02
0.02
0.01
0.01
2020k501002005001k2k5k10k
2020k501002005001k2k5k10k
Vcc = 36V
Vcc = 36 V
RL = 8 Ω
RL = 8 Ω
f= 1 kHz
f= 1 kHz
Hz
Hz
Doc ID 11531 Rev 515/58
I2C bus specificationSTA326
6 I2C bus specification
The STA326 supports the I2C protocol. This protocol defines any device that sends data on
to the I
that controls the data transfer is known as the master and the other as the slave. The master
always starts the transfer and provides the serial clock for synchronization. The STA326 is
always a slave device in all of its communications.
2
C bus as a transmitter and any device that reads the data as a receiver. The device
6.1 Communication protocol
Data transition or change
Data changes on the SDA line must only occur when the SCL clock is low. SDA transition
while the clock is high is used to identify a START or STOP condition.
Start condition
START is identified by a high to low transition of the data bus SDA signal while the clock
signal SCL is stable in the high state. A START condition must precede any command for
data transfer.
Stop condition
STOP is identified by a low to high transition of the data bus SDA signal while the clock
signal SCL is stable in the high state. A STOP condition terminates communication between
STA326 and the bus master.
Data input
During the data input the STA326 samples the SDA signal on the rising edge of clock SCL.
For correct device operation the SDA signal must be stable during the rising edge of the
clock and the data can change only when the SCL line is low.
6.2 Device addressing
To start communication between the master and the STA326, the master must initiate with a
start condition. Following this, the master sends 8 bits (MSB first) onto the SDA line
corresponding to the device select address and read or write mode.
The 7 MSBs are the device address identifiers, corresponding to the I
STA326 device address is 0x34.
The 8th bit (LSB) identifies read or write operation, RW. This bit is set to 1 in read mode and
0 for write mode. After a START condition the STA326 identifies the device address on the
bus. If a match is found, it acknowledges the identification on the SDA bus during the 9th bit
time. The byte following the device identification byte is the internal space address.
2
C bus definition. The
16/58Doc ID 11531 Rev 5
STA326I2C bus specification
A
A
A
A
A
6.3 Write operation
Following the START condition the master sends a device select code with the RW bit set
to 0. The STA326 acknowledges this and then the master writes the internal address byte.
After receiving the internal byte address the STA326 again responds with an
acknowledgement.
Figure 13. I
2
C write procedure
BYTE
WRITE
MULTIBYTE
WRITE
DEV-ADDR
START
DEV-ADDR
START
Byte write
In the byte write mode the master sends one data byte. This is acknowledged by the
STA326. The master then terminates the transfer by generating a STOP condition.
Multi-byte write
The multi-byte write modes can start from any internal address. Sequential data byte writes
will be written to sequential addresses within the STA326.
The master generating a STOP condition terminates the transfer.
6.4 Read operation
ACK
SUB-ADDR
RW
ACK
SUB-ADDR
RW
ACK
ACK
DATA IN
DATA IN
CK
STOP
CK
DATA IN
CK
STOP
Figure 14. I2C read procedure
CURRENT
ADDRESS
READ
RANDOM
ADDRESS
READ
SEQUENTIAL
CURRENT
READ
SEQUENTIAL
RANDOM
READ
START
START
START
START
DEV-ADDR
DEV-ADDR
DEV-ADDR
DEV-ADDR
ACK
RW
ACK
RW
RW=
ACK
HIGH
ACK
RW
DATA
SUB-ADDR
DATA
SUB-ADDR
NO ACK
STOP
ACK
DEV-ADDR
STARTRW
ACK
DATA
ACK
DEV-ADDR
STARTRW
ACK
ACK
ACK
NO ACK
DATA
STOP
NO ACK
DATA
STOP
CK
DATA
DATA
CKNO ACK
DATA
STOP
Current address byte read
Following the START condition the master sends a device select code with the RW bit set to
1. The STA326 acknowledges this and then responds by sending one byte of data. The
master then terminates the transfer by generating a STOP condition.
Doc ID 11531 Rev 517/58
I2C bus specificationSTA326
Current address multi-byte read
The multi-byte read modes can start from any internal address. Sequential data bytes will be
read from sequential addresses within the STA326. The master acknowledges each data
byte read and then generates a STOP condition terminating the transfer.
Random address byte read
Following the START condition the master sends a device select code with the RW bit set
to 0. The STA326 acknowledges this and then the master writes the internal address byte.
After receiving, the internal byte address the STA326 again responds with an
acknowledgement. The master then initiates another START condition and sends the device
select code with the RW bit set to 1. The STA326 acknowledges this and then responds by
sending one byte of data. The master then terminates the transfer by generating a STOP
condition.
Random address multi-byte read
The multi-byte read modes could start from any internal address. Sequential data bytes will
be read from sequential addresses within the STA326. The master acknowledges each data
byte read and then generates a STOP condition terminating the transfer.
18/58Doc ID 11531 Rev 5
STA326Register description
7 Register description
You must not reprogram the register bits marked “Reserved”. It is important that these bits
keep their default reset values.
The STA326 will support sample rates of 32 kHz, 44.1 kHz, 48 kHz, 88.2 kHz, and 96 kHz.
Therefore the internal clock will be:
●32.768 MHz for 32 kHz
●45.1584 MHz for 44.1 kHz, 88.2 kHz, and 176.4 kHz
●49.152 MHz for 48 kHz, 96 kHz, and 192 kHz
The external clock frequency provided to the XTI pin must be a multiple of the input sample
frequency (fs). The correlation between the input clock and the input sample rate is
determined by the status of the MCSx bits and the IR (input rate) register bits. The MCSx
Master clock select: Selects the ratio between the input
I2S sample frequency and the input clock.
20/58Doc ID 11531 Rev 5
STA326Register description
bits determine the PLL factor generating the internal clock and the IR bit determines the
oversampling ratio used internally.
Table 11.IR and MCS settings for input sample rate and clock rate
If the thermal warning adjustment is enabled (TWAB = 0), then the thermal warning
recovery will determine if the adjustment is removed when thermal warning is negative. If
TWRB = 0 and TWAB = 0, then when a thermal warning disappears the gain adjustment
determined by the thermal warning postscale (default = -3 dB) will be removed and the gain
will be added back to the system. If TWRB = 1 and TWAB = 0, then when a thermal warning
disappears the thermal warning postscale gain adjustment will remain until TWRB is
changed to zero or the device is reset.
The on-chip STA326 power output block provides feedback to the digital controller using
inputs to the power control block. The TWARN input is used to indicate a thermal warning
condition. When TWARN is asserted (set to 0) for a period greater than 400 ms, the power
control block will force an adjustment to the modulation limit in an attempt to eliminate the
thermal warning condition. Once the thermal warning volume adjustment is applied,
whether the gain is reapplied when TWARN is de-asserted is dependent on the TWRB bit.
The DDX® power block can provide feedback to the digital controller using inputs to the
power control block. The FAULT input is used to indicate a fault condition (either over-current
or thermal). When FAULT is asserted (set to 0), the power control block will attempt a
recovery from the fault by asserting the 3-state output (setting it to 0 which directs the power
output block to begin recovery). It holds it at 0 for period of time in the range of 0.1 ms to 1 s
as defined by the fault-detect recovery constant register (FDRC registers 0x29 to 0x2A),
then toggle it back to 1. This sequence is repeated as log as the fault indication exists. This
feature is enabled by default but can be bypassed by setting the FDRB control bit to 1.
22/58Doc ID 11531 Rev 5
STA326Register description
7.2 Configuration register B (addr 0x01)
D7D6D5D4D3D2D1D0
C2IMC1IMDSCKESAIFBSAI3SAI2SAI1SAI0
1 0 00 0000
This register configures the serial data interface
Table 17.Serial audio input interface format
BitR/WRSTNameDescription
3:0RW0000 SAI[3:0]
4RW0SAIFB
Serial audio input interface format: determines the interface
format of the input serial digital audio interface (see below).
Data format:
0: MSB first1: LSB first
The STA326 serial audio input was designed to interface with standard digital audio
components and to accept a number of serial data formats. The STA326 always acts as a
slave when receiving audio input from standard digital audio components. Serial data for two
channels is provided using 3 input pins: left/right clock LRCKI (pin 31), serial clock BICKI
(pin 32), and serial data SDI (pin 30).
SAI[3:0] and SAIFB are used to specify the serial data format. The default format is I
2
S,
MSB-first. Available formats are shown below in Figure 15 and the tables that follow.
Figure 15. General serial input and output formats
I2S
LRCLK
SCLK
SDATA
Left Justified
LRCLK
SCLK
LeftRight
LSBMSB
LeftRight
LSBMSBMSB
SDATA
Right Justified
LRCLK
SCLK
SDATA
LSBMSB
LeftRight
LSBMSBLSBMSBMSB
LSBMSBMSB
Ta bl e 1 8 lists the serial audio input formats supported by STA326 when
BICKI = 32 * fs, 48 * fs and 64 * fs, where the sampling rate fs = 32, 44.1, 48, 88.2, 96,
176.4 or 192 kHz.
Doc ID 11531 Rev 523/58
Register descriptionSTA326
Table 18.Supported serial audio input formats
BICKISAI [3:0]SAIFBInterface format
32 * fs1100XI
1110XLeft/right justified 16-bit data
48 * fs0100XI
0100XI
1000XI
01000MSB first I
11001LSB first I
0001XLeft-justified 24-bit data
0101XLeft-justified 20-bit data
1001XLeft-justified 18-bit data
1101XLeft-justified 16-bit data
0010XRight-justified 24-bit data
0110XRight-justified 20-bit data
1010XRight-justified 18-bit Data
2
S 15-bit data
2
S 23-bit data
2
S 20-bit data
2
S 18-bit data
2
2
S 16-bit data
S 16-bit data
1110XRight-justified 16-bit Data
2
64 * fs0000XI
0100XI
1000XI
00000MSB first I
11001LSB first I
S 24-bit data
2
S 20-bit data
2
S 18-bit data
2
2
S 16-bit data
S 16-bit data
0001XLeft-justified 24-bit data
0101XLeft-justified 20-bit data
1001XLeft-justified 18-bit data
1101XLeft-justified 16-bit data
0010XRight-justified 24-bit data
0110XRight-justified 20-bit data
1010XRight-justified 18-bit data
1110XRight-justified 16-bit data
For example, SAI = 1110 and SAIFB = 1 would specify right-justified 16-bit data, LSB-first.
24/58Doc ID 11531 Rev 5
STA326Register description
0
4
Table 19.Serial input data timing characteristics (fs = 32 to 192 kHz)
Parameter in Figure 16Val u e
BICKI frequency (slave mode)12.5 MHz max.
BICKI pulse width low (T0) (slave mode)40 ns min.
BICKI pulse width high (T1) (slave mode)40 ns min.
BICKI active to LRCKI edge delay (T2)20 ns min.
BICKI active to LRCKI edge delay (T3)20 ns min.
SDI valid to BICKI active setup (T4)20 ns min.
BICKI active to SDI hold time (T5)20 ns min.
Figure 16. Serial input data timing
LRCKI
BICKI
T
SDI
T
Table 20.Delay serial clock enable
BitR/WRSTNameDescription
Delay serial clock enable:
5RW0DSCKE
Table 21.Channel input mapping
0: no serial clock delay
1: serial clock delay by 1 core clock cycle to tolerate
anomalies in some I
2
S master devices
BitR/WRSTNameDescription
2
S input
2
S input
2
S input
6RW0C1IM
7RW1C2IM
0: processing channel 1 receives left I
1: processing channel 1 receives right I
0: processing channel 2 receives left I
1: processing channel 2 receives right I2S input
Each channel received via I2S can be mapped to any internal processing channel via the
channel input mapping registers. This allows for flexibility in processing. The default settings
of these registers map each I
2
S input channel to its corresponding processing channel.
Doc ID 11531 Rev 525/58
Register descriptionSTA326
7.3 Configuration register C (addr 0x02)
D7D6D5D4D3D2D1D0
ReservedCSZ4CSZ3CSZ2CSZ1CSZ0OM1OM0
0 1000010
7.3.1 DDX® power output mode
Table 22.DDX® power output mode
BitR/WRSTNameDescription
®
DDX
1:0RW10OM[1:0]
The DDX® power output mode selects how the DDX® output timing is configured. Different
power devices can use different output modes. The recommended use is OM = 10. When
OM = 11 the CSZ bits determine the size of the DDX
Table 23.DDX® output modes
OM[1,0]Output stage - mode
power output mode:
Selects configuration of DDX
®
compensating pulse.
®
output
00Not used
01Not used
10Recommended
11Variable compensation
7.3.2 DDX® variable compensating pulse size
The DDX® variable compensating pulse size is intended to adapt to different power stage
ICs. Contact Apogee applications for support when deciding this function.
Table 24.DDX® compensating pulse
CSZ[4:0]Compensating pulse size
000000 clock period compensating pulse size
000011 clock period compensating pulse size
……
1000016 clock period compensating pulse size
……
1111131 clock period compensating pulse size
26/58Doc ID 11531 Rev 5
STA326Register description
7.4 Configuration register D (addr 0x03)
D7D6D5D4D3D2D1D0
MMEZDEDRCBQLPSLDSPBDEMPHPB
01000 0 0 0
Table 25.High-pass filter bypass
BitR/WRSTNameDescription
High-pass filter bypass bit.
0RW0HPB
0: AC coupling high pass filter enabled
1: AC coupling high pass filter disabled
The STA326 features an internal digital high-pass filter for the purpose of DC Blocking. The
purpose of this filter is to prevent DC signals from passing through a DDX
®
amplifier. DC
signals can cause speaker damage.
Table 26.De-emphasis
BitR/WRSTNameDescription
De-emphasis:
1RW0DEMP
0: no de-emphasis
1: de-emphasis
By setting this bit to 1, the de-emphasis will be implemented on all channels. DSPB (DSP
Bypass, Bit D2, CFA) bit must be set to 0 for de-emphasis to function.
Table 27.DSP bypass
BitR/WRSTNameDescription
DSP bypass bit:
2RW0DSPB
0: normal Operation
1: bypass of EQ and mixing functionality
Setting the DSPB bit bypasses all the EQ and mixing functionality of the STA326 core.
Table 28.Postscale link
BitR/WRSTNameDescription
Postscale link:
3RW0PSL
0: each channel uses individual postscale value
1: each channel uses channel 1 postscale value
Postscale functionality is an attenuation placed after the volume control and directly before
the conversion to PWM. Postscale can also be used to limit the maximum modulation index
and therefore the peak current. A setting of 1 in the PSL register will result in the use of the
value stored in channel 1 postscale for all three internal channels.
Doc ID 11531 Rev 527/58
Register descriptionSTA326
Table 29.Biquad coefficient link
BitR/WRSTNameDescription
Biquad link:
4RW0BQL
0: each channel uses coefficient values
1: each channel uses channel 1 coefficient values
For ease of use, all channels can use the biquad coefficients loaded into the channel 1
coefficient RAM space by setting the BQL bit to 1. Therefore, any EQ updates only have to
be performed once.
Table 30.Dynamic range compression/anti-clipping bit
BitR/WRSTNameDescription
Dynamic range compression/anti-clipping
5RW0DRC
0: limiters act in anti-clipping mode
1: limiters act in dynamic range compression mode
Both limiters can be used in one of two ways, anti-clipping or dynamic range compression.
When used in anti-clipping mode the limiter threshold values are constant and dependent on
the limiter settings. In dynamic range compression mode the limiter threshold values vary
with the volume settings allowing a nighttime listening mode that provides a reduction in the
dynamic range regardless of the volume level.
Table 31.Zero detect mute enable
BitR/WRSTNameDescription
6RW1ZDE
Zero detect mute enable: setting of 1 enables the
automatic zero-detect mute
Setting the ZDE bit enables the zero-detect automatic mute. When ZDE = 1, the zero detect
circuit looks at the input data to each processing channel after the channel-mapping block. If
any channel receives 2048 consecutive zero value samples (regardless of fs) then that
individual channel is muted if this function is enabled.
Table 32.Miami mode enable
BitR/WRSTNameDescription
Miami mode enable:
7RW0MME
0: sub mix into left/right disabled
1: sub mix into left/right enabled
28/58Doc ID 11531 Rev 5
STA326Register description
7.5 Configuration register E (addr 0x04)
D7D6D5D4D3D2D1D0
SVEZCEReservedPWMSAMEReservedMPCMPCV
110 0 001 0
Table 33.Max power correction variable
BitR/WRSTNameDescription
Max power correction variable:
0RW0MPCV
By enabling MPC and setting MPCV = 1, the max power correction becomes variable. By
adjusting the MPCC registers (address 0x27, 0x28) it becomes possible to adjust the THD
at maximum unclipped power to a lower value for a particular application.
Table 34.Max power correction
BitR/WRSTNameDescription
1RW1MPC
0: use standard MPC coefficient
1: use MPCC bits for MPC coefficient
Max power correction:
0: MPC disabled
1: MPC enabled
Setting the MPC bit corrects the DDX® power device at high power. This mode lowers the
THD+N of a full DDX
Table 35.AM mode enable
®
system at maximum power output and slightly below.
BitR/WRSTNameDescription
AM mode enable:
3RW0AME
0: normal DDX
1: AM reduction mode DDX
The STA326 features a DDX® processing mode that minimizes the amount of noise
generated in the frequency range of AM radio. This mode is intended for use when DDX
operating in a device with an active AM tuner. The SNR of the DDX
®
operation.
®
operation.
®
processing is reduced
®
to approximately 83 dB in this mode, which is still greater than the SNR of AM radio.
Table 36.PWM speed mode
BitR/WRSTNameDescription
PWM output speed selection:
4RW0PWMS
0: normal speed (384 kHz) all channels
1: odd speed (341.3 kHz) all channels
is
Doc ID 11531 Rev 529/58
Register descriptionSTA326
Table 37.Zero-crossing volume enable
BitR/WRSTNameDescription
Zero-crossing volume enable:
6RW1ZCE
1: volume adjustments will only occur at digital zerocrossings
0: volume adjustments will occur immediately
The ZCE bit enables zero-crossing volume adjustments. When volume is adjusted on digital
zero-crossings no clicks will be audible.
Table 38.Soft volume update enable
BitR/WRSTNameDescription
Soft volume enable:
7RW1SVE
1: volume adjustments will use soft volume
0: volume adjustments will occur immediately
The STA326 includes a soft volume algorithm that will step through the intermediate volume
values at a predetermined rate when a volume change occurs. By setting SVE = 0 this can
be bypassed and volume changes will jump from old to new value directly. This feature is
only available if individual channel volume bypass bit is set to 0.
Setting the IDE bit enables this function, which looks at the input I2S data and clocking and
will automatically mute all outputs if the signals are perceived as invalid.
Table 42.Binary clock loss detection enable
BitR/WRSTNameDescription
Binary output mode clock loss detection enable
3RW1BCLE
0: disabled
1: enabled
Detects loss of input MCLK in binary mode and will output 50% duty cycle to prevent audible
artifacts when input clocking is lost.
Doc ID 11531 Rev 531/58
Register descriptionSTA326
Table 43.Auto-EAPD on clock loss enable
BitR/WRSTNameDescription
Auto EAPD on clock loss
5RW0ECLE
0: disabled
1: enabled
When ECLE is active, it issues a power device power down signal (EAPD) on clock loss
detection.
Table 44.Software power down
BitR/WRSTNameDescription
Software power down:
0: power down mode: initiates a power-down sequence
6RW1PWDN
Table 45.External amplifier power down
BitR/WRSTNameDescription
which results in a soft mute of all channels and finally
asserts EAPD circa 260 ms later
1: normal operation
External amplifier power down:
7RW0EAPD
0: external power stage power down active
1: normal operation
EAPD is used to actively power down a connected DDX® power device. This register has to
be written to 1 at start-up to enable the DDX
Note:Value of volume derived from MVOL is dependent on AMV Automode volume settings.
7.7.2 Channel controls
Channel 1 volume (addr 0x08)
D7D6D5D4D3D2D1D0
C1V7C1V6C1V5C1V4C1V3C1V2C1V1C1V0
01100000
Channel 2 volume (addr 0x09)
D7D6D5D4D3D2D1D0
C2V7C2V6C2V5C2V4C2V3C2V2C2V1C2V0
01100000
Channel 3 volume (addr 0x0A)
D7D6D5D4D3D2D1D0
C3V7C3V6C3V5C3V4C3V3C3V2C3V1C3V0
01100000
7.7.3 Volume description
The volume structure of the STA326 consists of individual volume registers for each of the
three channels and a master volume register, and individual channel volume trim registers.
The channel volume settings are normally used to set the maximum allowable digital gain
and to hard-set gain differences between certain channels. These values are normally set at
the initialization of the IC and not changed. The individual channel volumes are adjustable in
0.5-dB steps from +48 dB to -80 dB. The master volume control is normally mapped to the
master volume of the system. The values of these two settings are summed to find the
actual gain/volume value for any given channel.
When set to 1, the master mute will mute all channels, whereas the individual channel
mutes (CxM) will mute only that channel. Both the master mute and the channel mutes
provide a “soft mute” with the volume ramping down to mute in 4096 samples from the
maximum volume setting at the internal processing rate (approximately 96 kHz). A “hard
Doc ID 11531 Rev 533/58
Register descriptionSTA326
mute” can be obtained by programming the value 0xFF to any channel volume register or
the master volume register. When volume offsets are provided via the master volume
register any channel whose total volume is less than -100 dB will be muted.
All changes in volume take place at zero-crossings when ZCE = 1 (configuration register E)
on a per channel basis as this creates the smoothest possible volume transitions. When
ZCE = 0, volume updates will occur immediately.
The STA326 also features a soft-volume update function that will ramp the volume between
intermediate values when the value is updated, when SVE = 1 (configuration register E).
This feature can be disabled by setting SVE = 0.
Each channel also contains an individual channel volume bypass. If a particular channel has
volume bypassed via the CxVBP = 1 register then only the channel volume setting for that
particular channel affects the volume setting, the master volume setting will not affect that
channel. Also, master soft-mute will not affect the channel if CxVBP = 1.
Each channel also contains a channel mute. If CxM = 1 a soft mute is performed on that
channel
Table 46.Master volume offset as a function of MV[7:0]
MV[7:0]Volume offset from channel value
00000000 (0x00)0 dB
00000001 (0x01)-0.5 dB
00000010 (0x02)-1 dB
……
01001100 (0x4C)-38 dB
……
11111110 (0xFE)-127 dB
11111111 (0xFF)Hard master mute
Table 47.Channel volume as a function of CxV[7:0]
CxV[7:0]Volume
00000000 (0x00)+48 dB
00000001 (0x01)+47.5 dB
00000010 (0x02)+47dB
……
01100001 (0x5F)+0.5 dB
01100000 (0x60)0 dB
01011111 (0x61)-0.5 dB
……
11111110 (0xFE)-79.5 dB
11111111 (0xFF)Hard channel mute
34/58Doc ID 11531 Rev 5
STA326Register description
7.8 Automode registers
7.8.1 Automodes EQ, volume, GC (addr 0x0B)
D7D6D5D4D3D2D1D0
AMPSReservedAMGC1AMGC0AMV1AMV0AMEQ1AMEQ0
1 0000000
Table 48.Automode EQ
AMEQ[1,0]Mode (biquad 1-4)
00User programmable
01Preset EQ - PEQ bits
10Auto volume controlled loudness curve
11Not used
By setting AMEQ to any setting other than 00 enables Automode EQ where biquads 1-4 are
not user programmable. Any coefficient settings for these biquads are ignored. Also when
Automode EQ is used the prescale value for channels 1-2 becomes hard-set to -18 dB.
Table 49.Automode volume
AMV[1,0]Mode (MVOL)
00MVOL 0.5 dB 256 steps (standard)
01MVOL auto curve 30 steps
10MVOL auto curve 40 steps
11MVOL auto curve 50 steps
Table 50.Automode gain compression/limiters
AMGC[1:0]Mode
00User programmable GC
01AC no clipping
10AC limited clipping (10%)
11DRC nighttime listening mode
Table 51.AMPS - Automode auto prescale
BitR/WRSTNameDescription
Automode prescale
7RW1AMPS
0: -18 dB used for prescale when AMEQ neq 00
1: user defined prescale when AMEQ neq 00
When DDX® is used concurrently with an AM radio tuner, it is advisable to use the AMAM
bits to automatically adjust the output PWM switching rate dependent upon the specific
radio frequency that the tuner is receiving. The values used in AMAM are also dependent
upon the sample rate determined by the ADC used.
Table 54.Automode crossover setting
BitR/WRSTNameDescription
Automode crossover frequency selection
7:4RW0XO[3:0]
000: user defined crossover coefficients are used
Otherwise: preset coefficients for the crossover setting
desired
Table 55.Crossover frequency selection
XO[2:0]Bass management - Crossover frequency
0000User
000180 Hz
0010100 Hz
0011120 Hz
0100140 Hz
36/58Doc ID 11531 Rev 5
STA326Register description
Table 55.Crossover frequency selection (continued)
XO[2:0]Bass management - Crossover frequency
0101160 Hz
0110180 Hz
0111200 Hz
1000220 Hz
1001240 Hz
1010260 Hz
1011280 Hz
1100300 Hz
1101320 Hz
1110340 Hz
1111360 Hz
7.8.3 Preset EQ settings (addr 0x0D)
D7D6D5D4D3D2D1D0
ReservedReservedReservedPEQ4PEQ3PEQ2PEQ1PEQ0
00000000
Table 56.Preset EQ selection
PEQ[3:0]Setting
00000Flat
00001Rock
00010Soft rock
00011Jazz
00100Classical
00101Dance
00110Pop
00111Soft
01000Hard
01001Party
01010Vocal
01011Hip-hop
01100Dialog
01101Bass-boost #1
01110Bass-boost #2
01111Bass-boost #3
10000Loudness 1 (least boost)
Doc ID 11531 Rev 537/58
Register descriptionSTA326
Table 56.Preset EQ selection (continued)
PEQ[3:0]Setting
10001Loudness 2
10010Loudness 3
10011Loudness 4
10100Loudness 5
10101Loudness 6
10110Loudness 7
10111Loudness 8
11000Loudness 9
11001Loudness 10
11010Loudness 11
11011Loudness 12
11100Loudness 13
11101Loudness 14
11110Loudness 15
11111Loudness 16 (most boost)
7.9 Channel configuration registers
7.9.1 Channel 1 configuration (addr 0x0E)
D7D6D5D4D3D2D1D0
C1OM1C1OM0C1LS1C1LS0C1BOC1VBPC1EQBPC1TCB
000000 00
7.9.2 Channel 2 configuration (addr 0x0F)
D7D6D5D4D3D2D1D0
C2OM1C2OM0C2LS1C2LS0C2BOC2VBPC2EQBPC2TCB
00000000
7.9.3 Channel 3 configuration (addr 0x10)
D7D6D5D4D3D2D1D0
C3OM1C3OM0C3LS1C3LS0C3BOC3VBPReservedReserved
00000000
EQ control can be bypassed on a per channel basis. If EQ control is bypassed on a given
channel the prescale and all 9 filters (high-pass, biquads, de-emphasis, bass management
cross-over, bass, treble in any combination) are bypassed for that channel.
38/58Doc ID 11531 Rev 5
STA326Register description
CxEQBP
●0: perform EQ on channel X - normal operation
●1: bypass EQ on channel X
Tone control (bass/treble) can be bypassed on a per channel basis. If tone control is
bypassed on a given channel the two filters that tone control utilizes are bypassed.
CxTCB
●0: perform tone control on channel X - (default operation)
●1: bypass tone control on channel X
Each channel can be configured to output either the patented DDX
binary PWM encoded data. By setting the CxBO bit to 1, each channel can be individually
controlled to be in binary operation mode.
Also, there is the capability to map each channel independently onto any of the two limiters
available within the STA326 or even not map it to any limiter at all (default mode).
Table 57.Channel limiter mapping selection
CxLS[1,0]Channel limiter mapping
00Channel has limiting disabled
01Channel is mapped to limiter #1
®
PWM data or standard
10Channel is mapped to limiter #2
Each PWM output channel can receive data from any channel output of the volume block.
Which channel a particular PWM output receives is dependent upon that channel’s CxOM
register bits.
The STA326 includes 2 independent limiter blocks. The purpose of the limiters is to
automatically reduce the dynamic range of a recording to prevent the outputs from clipping
in anti-clipping mode, or to actively reduce the dynamic range for a better listening
environment (such as a night-time listening mode, which is often needed for DVDs.) The two
modes are selected via the DRC bit in configuration register D (bit 5, address 0x03). Each
channel can be mapped to Limiter1, Limiter2, or not mapped.
If a channel is not mapped, that channel will clip normally when 0 dBFS is exceeded. Each
limiter will look at the present value of each channel that is mapped to it, select the
maximum absolute value of all these channels, perform the limiting algorithm on that value,
and then if needed adjust the gain of the mapped channels in unison.
The limiter attack thresholds are determined by the LxAT registers. When the attack
threshold has been exceeded, the limiter, when active, will automatically start reducing the
gain. The rate at which the gain is reduced when the attack threshold is exceeded is
dependent upon the attack rate register setting for that limiter. The gain reduction occurs on
a peak-detect algorithm.
The release of limiter, when the gain is again increased, is dependent on a RMS-detect
algorithm. The output of the volume/limiter block is passed through an RMS filter. The output
of this filter is compared to the release threshold, determined by the Release Threshold
register.
When the RMS filter output falls below the release threshold, the gain is increased at a rate
dependent upon the release rate register. The gain can never be increased past its set value
Doc ID 11531 Rev 541/58
Register descriptionSTA326
and therefore the release will only occur if the limiter has already reduced the gain. The
release threshold value can be used to set what is effectively a minimum dynamic range.
This is helpful as over-limiting can reduce the dynamic range to virtually zero and cause
program material to sound “lifeless”.
In AC mode the attack and release thresholds are set relative to full-scale. In DRC mode the
attack threshold is set relative to the maximum volume setting of the channels mapped to
that limiter and the release threshold is set relative to the maximum volume setting plus the
attack threshold.
where Y[n] represents the output and X[n] represents the input. Multipliers are 28-bit signed
fractional multipliers, with coefficient values in the range of 0x800000 (-1) to 0x7FFFFF
(0.9999998808).
Coefficients stored in the user defined coefficient RAM are referenced in the following
manner:
●CxHy0 = b1/2
●CxHy1 = b2
●CxHy2 = -a1/2
●CxHy3 = -a2
●CxHy4 = b0/2
The x represents the channel and the y the biquad number. For example C3H41 is the b0/2
coefficient in the fourth biquad for channel 3
Figure 18. Biquad filter
8.2 Prescale
The prescale block which precedes the first biquad is used for attenuation when filters are
designed that boost frequencies above 0 dBFS. This is a single 28-bit signed multiplier, with
0x800000 = -1 and 0x7FFFFF = 0.9999998808. By default, all prescale factors are set to
0x7FFFFF.
8.3 Postscale
The STA326 provides one additional multiplication after the last interpolation stage and
before the distortion compensation on each channel. This is a 24-bit signed fractional
multiplier. The scale factor for this multiplier is loaded into RAM using the same I
as the biquad coefficients and the mix. All channels can use the same settings as channel 1
by setting the postscale link bit.
Z -1
Z -1
b0 /2
b1 /2
2
2
2
+
Z -1
-a
+
+
2
/2
1
Z -1
-a
2
2
C registers
Doc ID 11531 Rev 545/58
User programmable processingSTA326
8.4 Mix/bass management
The STA326 provides a post EQ mixing block per channel. Each channel has 2 mixing
coefficients, which are each 24-bit signed fractional multipliers, that correspond to the 2
channels of input to the mixing block. These coefficients are accessible via the user
controlled coefficient RAM described below. The mix coefficients are expressed as 24-bit
signed; fractional numbers in the range +1.0 (8388607) to -1.0 (-8388608) are used to
provide three channels of output from two channels of filtered input.
Figure 19. Mix/bass management block diagram
Channel #1
from EQ
Channel # 2
from EQ
C1MX1
+
C1MX2
C2MX1
+
C2MX2
High -P as s
XO
Filter
High -P as s
XO
Filter
Channel#1
to GC/Vol
Channel#2
to GC/Vol
C3MX1
+
C3MX2
User-defined Mix Coefficients Crossover Frequenc y determined
Low -Pas s
XO
Filter
by XO setting.
User-defined w hen XO = 000
Channel#3
to GC/Vol
After a mix is achieved, STA326 also provides the capability to implement crossover filters
on all channels corresponding to 2.1 bass management solution. Channels 1 and 2 use a
first-order high-pass filter and channel 3 uses a second-order low-pass filter corresponding
to the setting of the XO bits of I
2
C register 0x0C. If XO = 000, user specified crossover filters
are used.
By default these coefficients correspond to pass-through. However, the user can write these
coefficients in a similar way as the EQ biquads. When user-defined setting is selected, the
user can only write 2nd order crossover filters. This output is then passed on to the
volume/limiter block.
46/58Doc ID 11531 Rev 5
STA326User programmable processing
8.5 Calculating 24-bit signed fractional numbers from a dB value
The prescale, mixing, and postscale functions of the STA326 use 24-bit signed fractional
multipliers to attenuate signals. These attenuations can also invert the phase and therefore
range in value from -1 to +1. It is possible to calculate the coefficient to utilize for a given
negative dB value (attenuation) via the equations below.
●Non-inverting phase numbers 0 to +1:
●Coefficient = round(8388607 * 10
●Inverting phase numbers 0 to -1:
●Coefficient = 16777216 - round(8388607 * 10
(dB / 20)
)
(dB / 20)
)
As can be seen by the preceding equations, the value for positive phase 0 dB is 0x7FFFFF
and the value for negative phase 0 dB is 0x800000.
8.6.5 Coefficient b2 data register bits 23:16 (addr 0x1A)
D7D6D5D4D3D2D1D0
C2B23C2B22C2B21C2B20C2B19C2B18C2B17C2B16
00000000
Doc ID 11531 Rev 547/58
User programmable processingSTA326
8.6.6 Coefficient b2 data register bits 15:8 (addr 0x1B)
D7D6D5D4D3D2D1D0
C2B15C2B14C2B13C2B12C2B11C2B10C2B9C2B8
00000000
8.6.7 Coefficient b2 data register bits 7:0 (addr 0x1C)
D7D6D5D4D3D2D1D0
C2B7C2B6C2B5C2B4C2B3C2B2C2B1C2B0
00000000
8.6.8 Coefficient a1 data register bits 23:16 (addr 0x1D)
D7D6D5D4D3D2D1D0
C1B23C1B22C1B21C1B20C1B19C1B18C1B17C1B16
00000000
8.6.9 Coefficient a1 data register bits 15:8 (addr 0x1E)
D7D6D5D4D3D2D1D0
C3B15C3B14C3B13C3B12C3B11C3B10C3B9C3B8
00000000
8.6.10 Coefficient a1 data register bits 7:0 (addr 0x1F)
D7D6D5D4D3D2D1D0
C3B7C3B6C3B5C3B4C3B3C3B2C3B1C3B0
00000000
8.6.11 Coefficient a2 data register bits 23:16 (addr 0x20)
D7D6D5D4D3D2D1D0
C4B23C4B22C4B21C4B20C4B19C4B18C4B17C4B16
00000000
8.6.12 Coefficient a2 data register bits 15:8 (addr 0x21)
D7D6D5D4D3D2D1D0
C4B15C4B14C4B13C4B12C4B11C4B10C4B9C4B8
00000000
8.6.13 Coefficient a2 data register bits 7:0 (addr 0x22)
D7D6D5D4D3D2D1D0
C4B7C4B6C4B5C4B4C4B3C4B2C4B1C4B0
00000000
48/58Doc ID 11531 Rev 5
STA326User programmable processing
8.6.14 Coefficient b0 data register bits 23:16 (addr 0x23)
D7D6D5D4D3D2D1D0
C5B23C5B22C5B21C5B20C5B19C5B18C5B17C5B16
00000000
8.6.15 Coefficient b0 data register bits 15:8 (addr 0x24)
D7D6D5D4D3D2D1D0
C5B15C5B14C5B13C5B12C5B11C5B10C5B9C5B8
00000000
8.6.16 Coefficient b0 data register bits 7:0 (addr 0x25)
D7D6D5D4D3D2D1D0
C5B7C5B6C5B5C5B4C5B3C5B2C5B1C5B0
00000000
8.6.17 Coefficient write control register (addr 0x26)
D7D6D5D4D3D2D1D0
ReservedReservedReservedReservedRAR1WAW1
00000000
Coefficients for EQ, mix and scaling are handled internally in the STA326 via RAM. Access
to this RAM is available to the user via an I
2
C register interface. A collection of I2C registers
are dedicated to this function. First register contains the coefficient base address, five sets
of three registers store the values of the 24-bit coefficients to be written or that were read,
and one contains bits used to control the read or write of the coefficient (s) to RAM. The
following are instructions for reading and writing coefficients.
Doc ID 11531 Rev 549/58
User programmable processingSTA326
8.7 Reading a coefficient from RAM
●write 8 bits of address to I
●write 1 to bit R1 (D2) of I
●read top 8 bits of coefficient in I
●read middle 8 bits of coefficient in I
●read bottom 8 bits of coefficient in I
2
C register 0x16
2
C register 0x26
2
C address 0x17
2
C address 0x18
2
C address 0x19
8.8 Reading a set of coefficients from RAM
●write 8 bits of address to I
●write 1 to bit RA (D3) of I
●read top 8 bits of coefficient in I
●read middle 8 bits of coefficient in I
●read bottom 8 bits of coefficient in I
●read top 8 bits of coefficient b2 in I
●read middle 8 bits of coefficient b2 in I
●read bottom 8 bits of coefficient b2 in I
●read top 8 bits of coefficient a1 in I
●read middle 8 bits of coefficient a1 in I
●read bottom 8 bits of coefficient a1 in I
●read top 8 bits of coefficient a2 in I
●read middle 8 bits of coefficient a2 in I
●read bottom 8 bits of coefficient a2 in I
●read top 8 bits of coefficient b0 in I
●read middle 8 bits of coefficient b0 in I
●read bottom 8 bits of coefficient b0 in I
2
C register 0x16
2
C register 0x26
2
C address 0x17
2
C address 0x18
2
C address 0x19
2
C address 0x1A
2
C address 0x1D
2
C address 0x20
2
C address 0x23
2
C address 0x1B
2
C address 0x1C
2
C address 0x1E
2
C address 0x1F
2
C address 0x21
2
C address 0x22
2
C address 0x24
2
C address 0x25
8.9 Writing a single coefficient to RAM
●write 8 bits of address to I
●write top 8 bits of coefficient in I
●write middle 8 bits of coefficient in I
●write bottom 8 bits of coefficient in I
●write 1 to W1 bit in I
50/58Doc ID 11531 Rev 5
2
C register 0x16
2
C address 0x17
2
C address 0x26
2
C address 0x18
2
C address 0x19
STA326User programmable processing
8.10 Writing a set of coefficients to RAM
●write 8 bits of starting address to I
●write top 8 bits of coefficient b1 in I
●write middle 8 bits of coefficient b1 in I
●write bottom 8 bits of coefficient b1 in I
●write top 8 bits of coefficient b2 in I
●write middle 8 bits of coefficient b2 in I
●write bottom 8 bits of coefficient b2 in I
●write top 8 bits of coefficient a1 in I
●write middle 8 bits of coefficient a1 in I
●write bottom 8 bits of coefficient a1 in I
●write top 8 bits of coefficient a2 in I
●write middle 8 bits of coefficient a2 in I
●write bottom 8 bits of coefficient a2 in I
●write top 8 bits of coefficient b0 in I
●write middle 8 bits of coefficient b0 in I
●write bottom 8 bits of coefficient b0 in I
●write 1 to WA bit in I
2
C address 0x26
2
C register 0x16
2
C address 0x17
2
C address 0x18
2
C address 0x19
2
C address 0x1A
2
C address 0x1B
2
C address 0x1C
2
C address 0x1D
2
C address 0x1E
2
C address 0x1F
2
C address 0x20
2
C address 0x21
2
C address 0x22
2
C address 0x23
2
C address 0x24
2
C address 0x25
The mechanism for writing a set of coefficients to RAM provides a method of updating the
five coefficients corresponding to a given biquad (filter) simultaneously to avoid possible
unpleasant acoustic side-effects. When using this technique, the 8-bit address would
specify the address of the biquad b1 coefficient (for example 0, 5, 10, 15, …, 45 decimal),
and the STA326 will generate the RAM addresses as offsets from this base value to write
the complete set of coefficient data.
Table 63.RAM block for biquads, mixing, and scaling
Index (decimal)Index (Hex)DescriptionCoefficientDefault
00x00
10x01C1H11 (b2)0x000000
20x02C1H12 (a1/2)0x000000
Channel 1 - Biquad 1
30x03C1H13 (a2)0x000000
40x04C1H14 (b0/2)0x400000
50x05Channel 1 - Biquad 2C1H200x000000
……………
190x13Channel 1 - Biquad 4C1H440x400000
200x14
Channel 2 - Biquad 1
210x15C2H110x000000
……………
C1H10 (b1/2)0x000000
C2H100x000000
390x27Channel 2 - Biquad 4C2H440x400000
Doc ID 11531 Rev 551/58
User programmable processingSTA326
Table 63.RAM block for biquads, mixing, and scaling (continued)
Index (decimal)Index (Hex)DescriptionCoefficientDefault
400x28
410x29C12H1 (b2)0x000000
420x2AC12H2 (a1/2)0x000000
430x2BC12H3 (a2)0x000000
440x2CC12H4 (b0/2)0x400000
450x2D
460x2EC12L1 (b2)0x000000
470x2FC12L2 (a1/2)0x000000
480x30C12L3 (a2)0x000000
490x31C12L4 (b0/2)0x400000
500x32Channel 1 - PrescaleC1PreS0x7FFFFF
510x33Channel 2 - PrescaleC2PreS0x7FFFFF
520x34Channel 1 - PostscaleC1PstS0x7FFFFF
530x35Channel 2 - PostscaleC2PstS0x7FFFFF
540x36Channel 3 - PostscaleC3PstS0x7FFFFF
550x37Thermal warning - PostscaleTWPstS0x5A9DF7
560x38Channel 1 - Mix 1C1MX10x7FFFFF
570x39Channel 1 - Mix 2C1MX20x000000
High-pass 2nd order filter
for XO = 000
Low-pass 2nd order filter
for XO = 000
C12H0 (b1/2)0x000000
C12L0 (b1/2)0x000000
580x3AChannel 2 - Mix 1C2MX10x000000
590x3BChannel 2 - Mix 2C2MX20x7FFFFF
600x3CChannel 3 - Mix 1C3MX10x400000
610x3DChannel 3 - Mix 2C3MX20x400000
620x3EUnused--
630x3FUnused--
52/58Doc ID 11531 Rev 5
STA326User programmable processing
8.11 Variable max power correction (addr 0x27, 0x28)
D7D6D5D4D3D2D1D0
MPCC15MPCC14MPCC13MPCC12MPCC11MPCC10MPCC9MPCC8
00101101
MPCC7MPCC6MPCC5MPCC4MPCC3MPCC2MPCC1MPCC0
11000000
MPCC bits determine the 16 MSBs of the MPC compensation coefficient. This coefficient is
used in place of the default coefficient when MPCV = 1.
8.12 Fault detect recovery (addr 0x2B, 0x2C)
D7D6D5D4D3D2D1D0
FRDC15FDRC14FDRC13FDRC12FDRC11FDRC10FDRC9FDRC8
00000000
FDRC7FDRC6FDRC5FDRC4FDRC3FDRC2FDRC1FDRC0
00001100
FDRC bits specify the 16-bit fault detect recovery time delay. When FAULT is asserted, the
output TRISTATE will be immediately asserted low and held low for the time period specified
by this constant. A constant value of 0x0001 in this register is approximately 0.083 ms. The
default value of 0x000C specifies approximately 1 ms.
Doc ID 11531 Rev 553/58
ApplicationsSTA326
9 Applications
Figure 20. Application circuit for 2.1/2.0 configurable solution
54/58Doc ID 11531 Rev 5
STA326Package mechanical data
10 Package mechanical data
Figure 21. PowerSO-36 EPU outline drawing
Doc ID 11531 Rev 555/58
Package mechanical dataSTA326
Table 64.PowerSO-36 EPU dimensions
mminch
Symbol
MinTypMaxMinTypMax
A3.25-3.430.128-0.135
A23.10-3.200.122-0.126
A40.80-1.000.031-0.039
A5-0.20--0.008-
a10.03--0.040.001--0.002
b0.22-0.380.009-0.015
c0.23-0.320.009-0.013
D15.80-16.000.622-0.630
D19.40-9.800.370-0.386
D2-1.00--0.039-
E13.90-14.500.547-0.571
E110.90-11.100.429-0.437
E2--2.90--0.114
E35.80-6.200.228-0.244
E42.90-3.200.114-0.126
e-0.65--0.026-
e3-11.05--0.435-
G0-0.080-0.003
H15.50-15.900.610-0.626
h--1.10--0.043
L0.80-1.100.031-0.043
M2.25-2.600.089-0.102
N--10 degrees--10 degrees
R-0.6--0.024-
s--8 degrees--8 degrees
In order to meet environmental requirements, ST offers these devices in different grades of
ECOPACK
®
packages, depending on their level of environmental compliance. ECOPACK®
specifications, grade definitions and product status are available at: www.st.com.
ECOPACK
®
is an ST trademark.
56/58Doc ID 11531 Rev 5
STA326Revision history
11 Revision history
Table 65.Document revision history
DateRevisionChanges
Jul-20051Initial release
May-20062Changed from preliminary data to maturity.
Datasheet remade
Updated Features on cover page
Updated Chapter 1: Description on page 5
Updated Chapter 2: Pin out on page 7
Updated Chapter 3: Electrical specifications on page 10
Added Chapter 5: Characterization curves on page 14
Updated Table 9: Register summary on page 19 with bit names used in
register description
Updated reset values in register bit map tables in Chapter 7: Register
description on page 19
Updated Chapter 9: Applications on page 54
Updated Chapter 10: Package mechanical data on page 55
Added CONFIG pin description to Section 2.3: Pin description on page 9
Added Section 4: Power supply and control sequencing on page 13
Doc ID 11531 Rev 557/58
STA326
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.