STA321MPL1: Scalable Digital Microphone Processor
STA321MPL1: Scalable Digital Microphone Processor
Description
The STA321MPL1 is a PDM, high-performance,
74)3
multichannel processor with ultra-low quiescent
PP[PP current. It is designed for general-purpose digital
microphone applications. The device is fully
digital and is comprised of three main sections.
Features The first section is the PDM input interface which
can accept up to six serial digital inputs. The
• 8 digital processing channels each 24-bits second section is a high-quality audio processor
– 6 channels of PDM input allowing flexible channel mixing/muxing and
– 2 additional virtual channels provides up to 10 biquads for general sound
• >100 dB SNR and dynamic range equalization and voice enhancement with
independent volume control. The last block is the
• Digital gain/attenuation 58 dB to -100 dB in I²S output interface which streams out the
0.5 dB steps processed digital audio. The output interface can
• Soft volume update also be programmed for flexible channel
• Individual channel and master level control mapping. The device offers some of the most
commonly required audio enhancements such as
• Up to 10 independent 32-bit user- programmable voice tuning and equalization,
programmable biquads (EQ) per channel limiter/compressor for improved voice quality,
• Bass/treble tone control multiband selection for customizable microphone
• Pre- and post-EQ full 8-channel input mix on all usage, and configurable wind-noise rejection. The
8 channels embedded digital processor allows the
microphone processing to be offloaded from the
• Dual independent limiters/compressors main CPU or SoC to the device.
• Dynamic range compression or anti-clipping
The STA321MPL1 has six digital microphone
modes
inputs, providing connections for up to three dual-
• Individual channel and master soft/hard mute membrane microphones.
• 3 I²S data outputs
Table 1. Device summary
• I²S data output channel mapping function
Order code Package Packaging
• Independent channel volume and DSP bypass
• Channel mapping of any input to any STA321MPL1TR TQFP64 Tape and reel
processing channel
Applications
• Tablets
• Gaming
• Audio conference sets
• Legacy microphone-equipped devices
Contents
1 Device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.2 Thermal data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.3 Recommended operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2.4 Electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Microphone interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1 PDM clock generator (for microphones) . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.2 PDM resampling interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3 PDM recombination (dual-membrane microphone support) . . . . . . . . . . 15
3.4 Low-pass filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.5 Sensitivity adjustment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.6 Normal channel attenuation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.7 Thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5 Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.1 Register summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.2 Register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.2.1 Configuration register A (0x00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.2.2 Configuration register C (0x02) - serial output formats . . . . . . . . . . . . . 26
5.2.3 Configuration register D (0x03) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.2.4 Configuration register E (0x04) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.2.5 Configuration register F (0x05) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.2.6 Configuration register G (0x06) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.2.7 Configuration register H (0x07) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.2.8 Configuration register I (0x08) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2.9 Master mute register (0x09) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.10 Master volume register (0x0A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.11 Channel 1 volume (0x0B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.12 Channel 2 volume (0x0C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.13 Channel 3 volume (0x0D) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.14 Channel 4 volume (0x0E) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.15 Channel 5 volume (0x0F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.2.16 Channel 6 volume (0x10) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.2.17 Channel 7 volume (0x11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.2.18 Channel 8 volume (0x12) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.2.19 Channel 1 volume trim, mute, bypass (0x13) . . . . . . . . . . . . . . . . . . . . 35
5.2.20 Channel 2 volume trim, mute, bypass (0x14) . . . . . . . . . . . . . . . . . . . . 35
5.2.21 Channel 3 volume trim, mute, bypass (0x15) . . . . . . . . . . . . . . . . . . . . 35
5.2.22 Channel 4 volume trim, mute, bypass (0x16) . . . . . . . . . . . . . . . . . . . . 36
5.2.23 Channel 5 volume trim, mute, bypass (0x17) . . . . . . . . . . . . . . . . . . . . 36
5.2.24 Channel 6 volume trim, mute, bypass (0x18) . . . . . . . . . . . . . . . . . . . . 36
5.2.25 Channel 7 volume trim, mute, bypass (0x19) . . . . . . . . . . . . . . . . . . . . 36
5.2.26 Channel 8 volume trim, mute, bypass (0x1A) . . . . . . . . . . . . . . . . . . . . 36
5.2.27 Fine volume (FineVol) (0x5B) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.2.28 Channel input mapping channels 1 and 2 (0x1B) . . . . . . . . . . . . . . . . . 38
5.2.29 Channel input mapping channels 3 and 4 (0x1C) . . . . . . . . . . . . . . . . . 38
5.2.30 Channel input mapping channels 5 and 6 (0x1D) . . . . . . . . . . . . . . . . . 38
5.2.31 Channel input mapping channels 7 and 8 (0x1E) . . . . . . . . . . . . . . . . . 38
5.2.32 AGEQ - graphic EQ 80-Hz band (0x23) . . . . . . . . . . . . . . . . . . . . . . . . 39
8 Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
8.1 TQFP64 (10 mm x 10 mm) package information . . . . . . . . . . . . . . . . . . . 78
9 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
1 Device overview
2 8 7 $ %
,& 3// 2 8 7 $ %
2 8 7 $ %
)); 2 8 7 $ %
2 8 7 $ %
6<67(0 6<67(0
&21752/ 7,0,1* 29(56$03/,1* 2 8 7 $ %
2 8 7 $ %
/ 5& . 2
3'0 % ,& . 2
3'0
3'0 6(5,$/ 6(5,$/ 6'2
2 Electrical characteristics
3 Microphone interface
To correctly start the device in microphone processor mode, it is necessary to set registers
0x00 to 0x9B and register 0x5D to 0x01.
The CKOUT pin can be used to properly provide a clock source for digital microphones.
When the mikemode bit is asserted (reg 0x5D bit 0), the CKOUT generator is automatically
configured to generate a clock with sys_clk/32 frequency (corresponding to a PDM over-
sampling rate of 64).
For example, considering a base sample frequency of:
Fs = 44.1 kHz
XTI = 11.289 MHz (user provided)
System clock = 90.3168 MHz (system generated)
Clock out = 2.8224 MHz (system generated)
Fs = 48.0 kHz
XTI = 12.288 MHz (user provided)
System clock= 98.304 MHz (system generated)
Clock out = 3.072 MHz (system generated)
Technical details
The clock generator creates two output clocks with the same frequency, CKOUT270 has a
270 degrees phase shift with respect to CKOUT. One is exported outside the device and
used to clock the microphones, the other is used internally to clock the PDM interface of the
STA321MPL1.
67$03/
&/.*HQHUDWRU 3'06HOHFWRU
#,+/54
$3
0$-? 0$-?
'XDO0LFURSKRQH
$3
0$-? 0$-?
'XDO0LFURSKRQH
$3
0$-? 0$-?
00 Compatibility (old)
01 Reserved
10 Dual-membrane
11 Advanced
Compatibility mode
In this mode every channel is sampled at the rising edge.
Dual-membrane mode
The dual-membrane mode is a particular configuration (automatically applied when the
proper bit is asserted) which permits the use of the dual-membrane microphone. In
particular, it has 2 PDM data channels (normal and high) muxed in a single wire. The normal
channel is sampled at the falling edge, while the high channel is sampled at the rising edge.
Advanced mode
In this mode every channel can be sampled at the rising or falling edge according to the
configuration register.
-IKE?.
,OW 0ASS
.ORM?!TTEN
,EVEL -ETER
3ENS?!DJ
4(?( -IKE 2ECOMB OUTPUT
2ECOMBINATION %NGINE
4(?.
-IKE?(
,OW 0ASS
3.7 Thresholds
Two thresholds can be configured to control/select the recombination engine behavior. In
particular, they can be used to give more weight (in the final output) to the Normal Channel
or to the High Channel which leads to choosing between having lower distortion (High
Channel) or lower noise floor (Normal Channel).
Configuration registers: 0x65(5-0), 0x66(5-0), 0x67(5-0), 0x68(5-0), 0x69(5-0), 0x6A(5-0)
The STA321MPL1 supports the I2C protocol via the input ports SCL and SDA_IN (master to
slave) and the output port SDA_OUT (slave to master).
This protocol defines any device that sends data to the bus as a transmitter and any device
that reads data as a receiver.
The device that controls the data transfer is known as the master and the other is the slave.
The master always starts the transfer and provides the serial clock for synchronization. The
STA321MPL1 is a slave device in all of its communications.
The 8th bit (LSB) identifies a read or write operation RW. This bit is set to 1 in read mode
and 0 for write mode. After a START condition, the STA321MPL1 identifies the device
address on the bus and 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.
67$57 5: 6723
67$57 5: 6723
&855( 17
$''5(66 '(9$''5 '$7$
5($'
67$57 5: 6723
$&. $&. $&. 12$&.
5$1'20
$''5(66 '(9$''5 68%$''5 '(9$''5 '$7$
5($'
67$57 6723
$&. $&. $&. $&. $&. 12$&.
6(48(17,$/
5$1'20 '(9$''5 68%$''5 '(9$''5 '$7$ '$7$ '$7$
5($'
5 Registers
Configuration
0x00 CONFA COS1 COS0 DSPB IR1 IR0 MCS2 MCS1 MCS0
0x01
0x02 ConfC SAOD4 SAOFB SAO3 SAO2 SAO1 SAO0
0x03 ConfD MPC CSZ4 CSZ3 CSZ2 CSZ1 CSZ0 OM1 OM0
0x04 ConfE C8BO C7BO C6BO C5BO C4BO C3BO C2BO C1BO
0x05 ConfF PWMS2 PWMS1 PWMS0 BQL PSL DEMP DRC HPB
0x06 ConfG MPCV DCCV HPE AM2E AME COD SID PWMD
0x07 ConfH ECLE LDTE BCLE IDE ZDE SVE ZCE NSBW
0x08 ConfI EAPD PSCE
Volume control
0x09 MMUTE MMUTE
0x0A Mvol MV7 MV6 MV5 MV4 MV3 MV2 MV1 MV0
0x0B C1Vol C1V7 C1V6 C1V5 C1V4 C1V3 C1V2 C1V1 C1V0
0x0C C2Vol C2V7 C2V6 C2V5 C2V4 C2V3 C2V2 C2V1 C2V0
0x0D C3Vol C3V7 C3V6 C3V5 C3V4 C3V3 C3V2 C3V1 C3V0
0x0E C4Vol C4V7 C4V6 C4V5 C4V4 C4V3 C4V2 C4V1 C4V0
0x0F C5Vol C5V7 C5V6 C5V5 C5V4 C5V3 C5V2 C5V1 C5V0
0x10 C6Vol C6V7 C6V6 C6V5 C6V4 C6V3 C6V2 C6V1 C6V0
0x11 C7Vol C7V7 C7V6 C7V5 C7V4 C7V3 C7V2 C7V1 C7V0
0x12 C8Vol C8V7 C8V6 C8V5 C8V4 C8V3 C8V2 C8V1 C8V0
0x13 C1VTMB C1M C1VBP C1VT4 C1VT3 C1VT2 C1VT1 C1VT0
0x14 C2VTMB C2M C2VBP C2VT4 C2VT3 C2VT2 C2VT1 C2VT0
0x15 C3VTMB C3M C3VBP C3VT4 C3VT3 C3VT2 C3VT1 C3VT0
0x16 C4VTMB C4M C4VBP C4VT4 C4VT3 C4VT2 C4VT1 C4VT0
0x17 C5VTMB C5M C5VBP C5VT4 C5VT3 C5VT2 C5VT1 C5VT0
0x18 C6VTMB C6M C6VBP C6VT4 C6VT3 C6VT2 C6VT1 C6VT0
0x19 C7VTMB C7M C7VBP C7VT4 C7VT3 C7VT2 C7VT1 C7VT0
0x1A C8VTMB C8M C8VBP C8VT4 C8VT3 C8VT2 C8VT1 C8VT0
Input mapping
0x1B C12im C2IM2 C2IM1 C2IM0 C1IM2 C1IM1 C1IM0
0x1C C34im C4IM2 C4IM1 C4IM0 C3IM2 C3IM1 C3IM0
0x1D C56im C6IM2 C6IM1 C6IM0 C5IM2 C5IM1 C5IM0
0x1E C78im C8IM2 C8IM1 C8IM0 C7IM2 C7IM1 C7IM0
Processing loop
0x28 BQlp C8BLP C7BLP C6BLP C5BLP C4BLP C3BLP C2BLP C1BLP
0x29 MXlp C8MXLP C7MXLP C6MXLP C5MXLP C4MXLP C3MXLP C2MXLP C1MXLP
Processing bypass
0x2A EQbp C8EQBP C7EQBP C6EQBP C5EQB C4EQBP C3EQBP C2EQBP C1EQBP
0x2B ToneBP C8TCB C7TCB C6TCB C5TCB C4TCB C3TCB C2TCB C1TCB
Tone control
0x2C Tone TTC3 TTC2 TTC1 TTC0 BTC3 BTC2 BTC1 BTC0
Dynamics control
0x2D C1234ls C4LS1 C4LS0 C3LS1 C3LS0 C2LS1 C2LS0 C1LS1 C1LS0
0x2E C5678ls C8LS1 C8LS0 C7LS1 C7LS0 C6LS1 C6LS0 C5LS1 C5LS0
0x2F L1ar L1A3 L1A2 L1A1 L1A0 L1R3 L1R2 L1R1 L1R0
0x30 L1atrt L1AT3 L1AT2 L1AT1 L1AT0 L1RT3 L1RT2 L1RT1 L1RT0
0x31 L2ar L2A3 L2A2 L2A1 L2A0 L2R3 L2R2 L2R1 L2R0
0x32 L2atrt L2AT3 L2AT2 L2AT1 L2AT0 L2RT3 L2RT2 L2RT1 L2RT0
PWM output timing
0x33 C12ot C2OT2 C2OT1 C2OT0 C1OT2 C1OT1 C1OT0
0x34 C34ot C4OT2 C4OT1 C4OT0 C3OT2 C3OT1 C3OT0
0x35 C56ot C6OT2 C6OT1 C6OT0 C5OT2 C5OT1 C5OT0
0x36 C78ot C8OT2 C8OT1 C8OT0 C7OT2 C7OT1 C7OT0
I²S output channel mapping
0x37 C12om C2OM2 C2OM1 C2OM0 C1OM2 C1OM1 C1OM0
0x38 C34om C4OM2 C4OM1 C4OM0 C3OM2 C3OM1 C3OM0
0x39 C56om C6OM2 C6OM1 C6OM0 C5OM2 C5OM1 C5OM0
0x3A C78om C8OM2 C8OM1 C8OM0 C7OM2 C7OM1 C7OM0
D7 D6 D5 D4 D3 D2 D1 D0
COS1 COS0 DSPB IR1 IR0 MCS2 MCS1 MCS0
1 0 0 1 1 0 1 1
0 RW 1 MCS0
Master clock select: selects the ratio between the
1 RW 1 MCS1 input sampling frequency (PDM I/FCLK)and the
input clock (XTI).
2 RW 0 MCS2
• The internal clock depends on the external clock frequency provided to the XTI pin. The
internal clock can be either 90.3168 MHz or 98.304 MHz. In the case of the XTI, it is
respectively 11.2896MHz or 12.288MHz.
• The relationship between the input clock XTI and the PDM interface clock is determined
by both the MCSn and the IRn (input rate) register bits. IR[1,0] = 11 sets the PDM
interface enable and MCS[2:0] = 011 means XTI = 4*PDM interface clock.
If XTI input is not used, the related pin must be tied to GND.
Setting the DSPB bit bypasses the biquad function of the FFX core.
cos [1,0] sets the clock out value. Clock out frequency is a ratio of the internal clock and the
ratio depends on the cos[1,0] setting.
Example cos[1,0] = 10:
XTI = 12.288
PLL output = 98.304 MHz
CK_out = 98.304/8 = 12.288
Clock out is automatically configured to obtain a frequency of 64 Fs (sys_clock/32) if the bit0
of the register 0x5D is asserted. This generates a valid clock to be provided to a digital
(PDM) microphone.
D7 D6 D5 D4 D3 D2 D1 D0
SAOD4 SAOFB SAO3 SAO2 SAIO SAO0
0 0 0 0 0 0
0 RW 0 SAO0
1 RW 0 SAO1 Serial audio output interface format: determines the
interface format of the output serial digital audio
2 RW 0 SAO2 interface.
3 RW 0 SAO3
The STA321MPL1 features a serial audio output interface that consists of 8 channels. The
serial audio output always acts as a slave to the serial audio input interface and, therefore,
all output clocks are synchronous with the input clocks. The output sampling frequency (fs)
is also equivalent to the input sampling frequency. In the case of the PDM input, the serial
audio output acts as a master with an output sampling frequency of 8 xfs, 4 xfs or fs
depending on the SAOD4 bit. The output serial format can be selected independently from
the input format and is done via the SAO and SAOFB bits.
D7 D6 D5 D4 D3 D2 D1 D0
MPC CSZ4 CSZ3 CSZ2 CSZ1 CSZ0 OM1 OM0
1 1 1 1 1 1 1 0
The FFX power output mode selects how the FFX output timing is configured. Different
power devices use different output modes.
2 RW 1 CSZ0
3 RW 1 CSZ1
Contra size register: when OM[1,0] = 11, this register
4 RW 1 CSZ2 determines the size of the FFX compensating pulse
from 0 clock ticks to 31 clock periods
5 RW 1 CSZ3
6 RW 1 CSZ4
D7 D6 D5 D4 D3 D2 D1 D0
C8BO C7BO C6BO C5BO C4BO C3BO C2BO C1BO
0 0 0 0 0 0 0 0
0 RW 0 C1BO
1 RW 0 C2BO
2 RW 0 C3BO
Channels 1, 2, 3, 4, 5, 6, 7, and 8 binary output mode
3 RW 0 C4BO enable bits. A setting of 0 indicates ordinary FFX
4 RW 0 C5BO tristate output. A setting of 1 indicates binary output
mode.
5 RW 0 C6BO
6 RW 0 C7BO
7 RW 0 C8BO
Each individual channel output can be set to output a binary PWM stream. In this mode,
output A of a channel is considered the positive output and output B the negative output.
D7 D6 D5 D4 D3 D2 D1 D0
PWMS2 PWMS1 PWMS0 BQL PSL DEMP DRC HPB
0 0 0 0 0 0 0 0
The STA321MPL1 features an internal digital high-pass filter for the purpose of AC coupling.
The purpose of this filter is to prevent DC signals from passing through an FFX amplifier. DC
signals can cause speaker damage.
If HPB = 1, then the filter that the high-pass filter utilizes is made available as a user-
programmable biquad #1.
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.
De-emphasis:
2 RW 0 DEMP 0: no de-emphasis
1: de-emphasis
By setting this bit to 1, de-emphasis are implemented on all channels. When this is used it
takes the place of biquad #7 in each channel and any coefficients using biquad #1 is
ignored. The DSPB (DSP bypass) bit must be set to 0 for de-emphasis to function.
Post-scale link:
3 RW 0 PSL 0: each channel uses individual post-scale value
1: each channel uses channel 1 post-scale value
Post-scale functionality can be used for power-supply error correction. For multi-channel
applications running off the same power-supply, the post-scale values can be linked to the
value of channel 1 for ease of use and to update the values faster.
Biquad link:
4 RW 0 BQL 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.
D7 D6 D5 D4 D3 D2 D1 D0
MPCV DCCV HPE AM2E AME COD SID PWMD
0 0 0 0 0 0 0 0
AM mode enable:
3 RW 0 AME 0: normal FFX operation
1: AM reduction mode FFX operation
The STA321MPL1 features an FFX processing mode that minimizes the amount of noise
generated in the frequency range of AM radio. This mode is intended for use when FFX is
operating in a device with an active AM tuner. The SNR of the FFX processing is reduced to
~83 dB in this mode, which is still greater than the SNR of AM radio.
The STA321MPL1 features two FFX processing modes that minimize the amount of noise
generated in the frequency range of AM radio. This second mode is intended for use when
FFX is operating in a device with an active AM tuner. This mode eliminates the noise-
shaper.
Channels 7 and 8 can be configured to be processed and output in such a manner that
headphones can be driven using an appropriate output device. This signal is a differential
3-wire drive called FFX headphone.
D7 D6 D5 D4 D3 D2 D1 D0
ECLE LDTE BCLE IDE ZDE SVE ZCE NSBW
0 1 1 1 1 1 1 0
The ZCE bit enables zero-crossing volume adjustments. When volume is adjusted on digital
zero-crossings, no clicks are audible.
Setting the ZDE bit enables the zero-detect automatic mute. See Section 6.5.8 for more
details.
Setting the IDE bit enables this function, which looks at the input I²S data and automatically
mutes if the signals are perceived as invalid.
The BCLE bit detects loss of input, MCLK, in binary mode and outputs a 50 % duty cycle.
When active, the ECLE bit issues a device power-down signal (EAPD) on clock loss
detection.
D7 D6 D5 D4 D3 D2 D1 D0
EAPD PSCE
0 0
This feature utilizes an ADC on SDI78 that provides power supply ripple information for
correction. Registers PSC1, PSC2, PSC3 are utilized in this mode.
D7 D6 D5 D4 D3 D2 D1 D0
MMUTE
0
D7 D6 D5 D4 D3 D2 D1 D0
MV7 MV6 MV5 MV4 MV3 MV2 MV1 MV0
1 1 1 1 1 1 1 1
Note: The value of the volume derived from MVOL is dependent on the AMV AutoMode volume
settings.
D7 D6 D5 D4 D3 D2 D1 D0
C1V7 C1V6 C1V5 C1V4 C1V3 C1V2 C1V1 C1V0
0 1 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C2V7 C2V6 C2V5 C2V4 C2V3 C2V2 C2V1 C2V0
0 1 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C3V7 C3V6 C3V5 C3V4 C3V3 C3V2 C3V1 C3V0
0 1 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C4V7 C4V6 C4V5 C4V4 C4V3 C4V2 C4V1 C4V0
0 1 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C5V7 C5V6 C5V5 C5V4 C5V3 C5V2 C5V1 C5V0
0 1 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C6V7 C6V6 C6V5 C6V4 C6V3 C6V2 C6V1 C6V0
0 1 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C7V7 C7V6 C7V5 C7V4 C7V3 C7V2 C7V1 C7V0
0 1 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C8V7 C8V6 C8V5 C8V4 C8V3 C8V2 C8V1 C8V0
0 1 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C1M C1VBP C1VT4 C1VT3 C1VT2 C1VT1 C1VT0
0 0 0 1 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C2M C2VBP C2VT4 C2VT3 C2VT2 C2VT1 C2VT0
0 0 0 1 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C3M C3VBP C3VT4 C3VT3 C3VT2 C3VT1 C3VT0
0 0 0 1 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C4M C4VBP C4VT4 C4VT3 C4VT2 C4VT1 C4VT0
0 0 0 1 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C5M C5VBP C5VT4 C5VT3 C5VT2 C5VT1 C5VT0
0 0 0 1 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C6M C6VBP C6VT4 C6VT3 C6VT2 C6VT1 C6VT0
0 0 0 1 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C7M C7VBP C7VT4 C7VT3 C7VT2 C7VT1 C7VT0
0 0 0 1 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C8M C8VBP C8VT4 C8VT3 C8VT2 C8VT1 C8VT0
0 0 0 1 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
CFINE8 CFINE7 CFINE6 CFINE5 CFINE4 CFINE3 CFINE2 CFINE1
0 0 0 0 0 0 0 0
The volume structure of the STA321MPL1 consists of individual volume registers for each
channel and a master volume register that provides an offset to each channel’s volume
setting. There is also an additional offset for each channel called channel volume trim. The
individual channel volumes are adjustable in 0.5 dB steps from 48 dB to -78 dB. As an
example, if C5V = 0xXX or +XXX dB and MV = 0xXX or -XX dB, then the total gain for
channel 5 = XX dB. The channel volume trim is adjustable independently on each channel
from -10 dB to 10 dB in 1 dB steps. A fine volume configuration register could be used to
offset each channel at 0.25 dB step.
The master mute when set to 1 mutes all channels at once, whereas the individual channel
mutes (CnM) mutes only that channel. Both the master mute and the channel mutes provide
a "soft mute" with the volume ramping down to mute in 8192 samples from the maximum
volume setting at the internal processing rate (~192 kHz). A "hard mute" can be obtained by
commanding a value of 0xFF (255) 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 -91 dB is muted. All changes in volume take place at zero-
crossings when ZCE = 1 (configuration register H) on a per-channel basis as this creates
the smoothest possible volume transitions. When ZCE = 0, volume updates occur
immediately. Each channel also contains an individual channel volume bypass. If a
particular channel has volume bypassed via the CnVBP = 1 register, then only the channel
volume setting for that particular channel affects the volume setting, the master volume
setting does not affect that channel. Each channel also contains a channel mute. If CnM = 1,
a soft mute is performed on that channel.
0x00 0 dB
0x01 -0.5 dB
0x02 -1 dB
… …
0x4C -38 dB
… …
0xFE -127 dB
0xFF Hardware channel mute
CnV[7:0] Volume
0x00 48 dB
0x01 47.5 dB
0x02 47 dB
… …
0x5F 0.5 dB
0x60 0 dB
0x61 -0.5 dB
… …
0xFE -79.5 dB
0xFF Hardware channel mute
CnVT[4:0] Volume
0x00 to 0x06 10 dB
0x07 9 dB
… …
0x0F 1 dB
0x10 0 dB
0x11 -1 dB
… …
0x19 -9 dB
0x1A to 0x1F -10 dB
D7 D6 D5 D4 D3 D2 D1 D0
C2IM2 C2IM1 C2IM0 C1IM2 C1IM1 C1IM0
0 0 1 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C4IM2 C4IM1 C4IM0 C3IM2 C3IM1 C3IM0
0 1 1 0 1 0
D7 D6 D5 D4 D3 D2 D1 D0
C6IM2 C6IM1 C6IM0 C5IM2 C5IM1 C5IM0
1 0 1 1 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C8IM2 C8M1 C8IM0 C7IM2 C7IM1 C7IM0
1 1 1 1 1 0
Each channel received via the I²S can be mapped to any internal processing channel via the
channel input mapping registers. This allows for flexibility in processing, simplifies output
stage designs, and enables the ability to perform crossovers. The default settings of these
registers map each I²S input channel to its corresponding processing channel.
000 Channel 1
001 Channel 2
010 Channel 3
011 Channel 4
100 Channel 5
101 Channel 6
110 Channel 7
111 Channel 8
D7 D6 D5 D4 D3 D2 D1 D0
AGEQ4 AGEQ3 AGEQ2 AGEQ1 AGEQ0
0 1 1 1 1
D7 D6 D5 D4 D3 D2 D1 D0
BGEQ4 BGEQ3 BGEQ2 BGEQ1 BGEQ0
0 1 1 1 1
D7 D6 D5 D4 D3 D2 D1 D0
CGEQ4 CGEQ3 CGEQ2 CGEQ1 CGEQ0
0 1 1 1 1
D7 D6 D5 D4 D3 D2 D1 D0
DGEQ4 DGEQ3 DGEQ2 DGEQ1 DGEQ0
0 1 1 1 1
D7 D6 D5 D4 D3 D2 D1 D0
EGEQ4 EGEQ3 EGEQ2 EGEQ1 EGEQ0
0 1 1 1 1
11111 16
11110 15
11101 14
… …
10000 1
01111 0
01110 -1
… …
00001 -14
00000 -15
D7 D6 D5 D4 D3 D2 D1 D0
C8BLP C7BLP C6BLP C5BLP C4BLP C3BLP C2BLP C1BLP
0 0 0 0 0 0 0 0
Each internal processing channel can receive two possible inputs at the input to the biquad
block. The input can come either from the output of that channel’s MIX#1 engine or from the
output of the bass/treble (biquad #10) of the previous channel. In this scenario, channel 1
receives channel 8. This enables the use of more than 10 biquads on any given channel at
the loss of the number of separate internal processing channels.
For n = 1 to 8:
0: input from channel n MIX#1 engine output - normal
7:0 RW 0 CnBLP operation
1: input from channel (n - 1) biquad #10 output - loop
operation.
D7 D6 D5 D4 D3 D2 D1 D0
C8MXLP C7MXLP C6MXLP C5MXLP C4MXLP C3MXLP C2MXLP C1MXLP
0 0 0 0 0 0 0 0
Each internal processing channel can receive two possible sets of inputs at the input to the
Mix#1 block. The inputs can come from the outputs of the interpolation block as normally
occurs (CnMXLP = 0) or they can come from the outputs of the Mix#2 block. This enables
the use of additional filtering after the second mix block at the expense of losing this
processing capability on the channel.
For n = 1 to 8:
0: inputs to channel n MIX#1 engine from interpolation
7:0 RW 0 CnMXLP outputs - normal operation
1: inputs to channel n MIX#1 engine from MIX#2 engine
outputs - loop operation
D7 D6 D5 D4 D3 D2 D1 D0
C8EQBP C7EQBP C6EQBP C5EQBP C4EQCBP C3EQBP C2EQBP C1EQBP
0 0 0 0 0 0 0 0
For n = 1 to 8:
7:0 RW 0 CnEQBP 0: perform EQ on channel n - normal operation
1: bypass EQ on channel n
D7 D6 D5 D4 D3 D2 D1 D0
C8TCB C7TCB C6TCB C5TCB C4TCB C3TCB C2TCB C1TCB
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
TTC3 TTC2 TTC1 TTC0 BTC3 BTC2 BTC1 BTC0
0 1 1 1 0 1 1 1
This is the tone control boost/cut as a function of the BTC and TTC bits.
0000 -12 dB
0001 -12 dB
… …
0111 -4 dB
0110 -2 dB
0111 0 dB
1000 2 dB
1001 4 dB
… …
1101 12 dB
1110 12 dB
1111 12dB
D7 D6 D5 D4 D3 D2 D1 D0
C4LS1 C4LS0 C3LS1 C3LS0 C2LS1 C2LS0 C1LS1 C1LS0
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C8LS1 C8LS0 C7LS1 C7LS0 C6LS1 C6LS0 C5LS1 C5LS0
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
L1A3 L1A2 L1A1 L1A0 L1R3 L1R2 L1R1 L1R0
0 1 1 0 1 0 1 0
D7 D6 D5 D4 D3 D2 D1 D0
L1AT3 L1AT2 L1AT1 L1AT0 L1RT3 L1RT2 L1RT1 L1RT0
0 1 1 0 1 0 0 1
D7 D6 D5 D4 D3 D2 D1 D0
L2A3 L2A2 L2A1 L2A0 L2R3 L2R2 L2R1 L2R0
0 1 1 0 1 0 1 0
D7 D6 D5 D4 D3 D2 D1 D0
L2AT3 L2AT2 L2AT1 L2AT0 L2RT3 L2RT2 L2RT1 L2RT0
0 1 1 0 1 0 0 1
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.
/LPLWHU 506
*DLQ9ROXPH
,QSXW 2XWSXW
*DLQ $WWHQXDWLRQ 6DWXUDWLRQ
Anti-clipping (AC)
LnAT[3:0]
(dB relative to FS)
0000 -12
0001 -10
0010 -8
0011 -6
0100 -4
0101 -2
0110 0
0111 2
1000 3
1001 4
1010 5
1011 6
1100 7
1101 8
1110 9
1111 10
Anti-clipping (AC)
LnRT[3:0]
(dB relative to FS)
0000 -∞
0001 -29 dB
0010 -20 dB
0011 -16 dB
0100 -14 dB
0101 -12 dB
0110 -10 dB
0111 -8 dB
1000 -7 dB
1001 -6 dB
1010 -5 dB
1011 -4 dB
1100 -3 dB
1101 -2 dB
1110 -1 dB
1111 -0 dB
0000 -31
0001 -29
0010 -27
0011 -25
0100 -23
0101 -21
0110 -19
0111 -17
1000 -16
1001 -15
1010 -14
1011 -13
1100 -12
1101 -10
1110 -7
1111 -4
0000 -∞
0001 -38 dB
0010 -36 dB
0011 -33 dB
0100 -31 dB
0101 -30 dB
0110 -28 dB
0111 -26 dB
1000 -24 dB
1001 -22 dB
1010 -20 dB
1011 -18 dB
1100 -15 dB
1101 -12 dB
1110 -9 dB
1111 -6 dB
D7 D6 D5 D4 D3 D2 D1 D0
C2OT2 C2OT1 C2OT0 C1OT2 C1OT1 C1OT0
1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C4OT2 C4OT1 C4OT0 C3OT2 C3OT1 C3OT0
1 1 0 0 1 0
D7 D6 D5 D4 D3 D2 D1 D0
C6OT2 C6OT1 C6OT0 C5OT2 C5OT1 C5OT0
1 0 1 0 0 1
D7 D6 D5 D4 D3 D2 D1 D0
C8OT2 C8OT1 C8OT0 C7OT2 C7OT1 C7OT0
1 1 1 0 1 1
The centering of the individual channel PWM output periods can be adjusted by the output
timing registers. The PWM slot settings can be chosen to ensure that pulse transitions do
not occur at the same time on different channels using the same power device. There are 8
possible settings, the appropriate setting varies based on the application and connections to
the FFX power devices.
000 1
001 2
010 3
011 4
100 5
101 6
110 7
111 8
D7 D6 D5 D4 D3 D2 D1 D0
CFA9 CFA8
0 0
D7 D6 D5 D4 D3 D2 D1 D0
CFA7 CFA6 CFA5 CFA4 CFA3 CFA2 CFA1 CFA0
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C1B23 C1B22 C1B21 C1B20 C1B19 C1B18 C1B17 C1B16
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C1B15 C1B14 C1B13 C1B12 C1B11 C1B10 C1B9 C1B8
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C1B7 C1B6 C1B5 C1B4 C1B3 C1B2 C1B1 C1B0
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C2B23 C2B22 C2B21 C2B20 C2B19 C2B18 C2B17 C2B16
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C2B15 C2B14 C2B13 C2B12 C2B11 C2B10 C2B9 C2B8
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C2B7 C2B6 C2B5 C2B4 C2B3 C2B2 C2B1 C2B0
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C1B23 C1B22 C1B21 C1B20 C1B19 C1B18 C1B17 C1B16
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C3B15 C3B14 C3B13 C3B12 C3B11 C3B10 C3B9 C3B8
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C3B7 C3B6 C3B5 C3B4 C3B3 C3B2 C3B1 C3B0
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C4B23 C4B22 C4B21 C4B20 C4B19 C4B18 C4B17 C4B16
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C4B15 C4B14 C4B13 C4B12 C4B11 C4B10 C4B9 C4B8
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C4B7 C4B6 C4B5 C4B4 C4B3 C4B2 C4B1 C4B0
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C5B23 C5B22 C5B21 C5B20 C5B19 C5B18 C5B17 C5B16
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C5B15 C5B14 C5B13 C5B12 C5B11 C5B10 C5B9 C5B8
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
C5B7 C5B6 C5B5 C5B4 C5B3 C5B2 C5B1 C5B0
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
WA W1
0 0
Coefficients for EQ and Bass Management are handled internally in the STA321MPL1 via
the RAM. Access to this RAM is available to the user via an I2C register interface.
A collection of I2C registers are dedicated to this function. One register contains a 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 register contains bits used to control the write of the
coefficient(s) to the RAM. Section 5.3, Section 5.4, Section 5.5, and Section 5.6 give the
instructions for reading and writing coefficients.
D7 D6 D5 D4 D3 D2 D1 D0
EBQ3_1 EBQ3_0 EBQ2_1 EBQ2_0 EBQ1_1 EBQ1_0 EBQ0_0 EBQ0_0
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
EBQ7_1 EBQ7_0 EBQ6_1 EBQ6_0 EBQ5_1 EBQ5_0 EBQ4_1 EBQ4_0
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
nshen EBQ9_1 EBQ9_0 EBQ8_1 EBQ8_0
0 0 0 1 0 0 0 0
Where x represents the channel and y the biquad number. For example, C0H41 is the b2
coefficient in the fourth biquad for channel 2.
By default, all user-defined filters are pass-through where all coefficients are set to 0, except
the b0/2 coefficient which is set to 0x400000 (representing 0.5). Mix coefficients use only ±1
range.
A special feature inside the digital processing block is available (active when the nshen bit is
set to ‘1’). In the case where poles are positioned at very low frequencies, biquads filters can
generate some audible quantization noise or unwanted DC level. In order to avoid this kind
of effect a quantization noise-shaping capability can be used. The filter structure including
this special feature, relative to each biquad is shown in Figure 9.
The new feature can be enabled independently for each biquad using the I2C registers. The
D7 bit, when set, is responsible for activating this function on the crossover filter while the
other bits address any specific biquads according to the previous table. Channels 1 and 2
share the same settings. Bit D7 is effective also for channel 3 if the related OCFG is used.
]
,QW 2XWW
E 4
] ]
E D
] ]
E D
&[0,;
&KDQQHO
&[0,;
&KDQQHO
&[0,;
&KDQQHO[
&KDQQHO
&[0,;
&KDQQHO
&[0,;
&KDQQHO
&[0,;
&KDQQHO
&[0,;
&KDQQHO
6.1 Post-scale
The STA321MPL1 provides one additional multiplication after the last interpolation stage
and before the distortion compensation on each channel. This is a 24-bit signed fractional
multiply.
The scale factor for this multiplication is loaded into the RAM using the same I2C registers
as the biquad coefficients and the bass-management.
This post-scale factor can be used in conjunction with an ADC-equipped microcontroller to
perform power-supply error corrections. All channels can use channel 1 by setting the post-
scale link bit.
Table 11. RAM block for biquads, mixing, and bass management
Index Index
Parameter Coefficient Default
(decimal) (hex)
Table 11. RAM block for biquads, mixing, and bass management (continued)
Index Index
Parameter Coefficient Default
(decimal) (hex)
… … … … …
423 0x1A7 Channel 1 - Mix#1 8 C1MX18 0x000000
424 0x1A8 Channel 2 - Mix#1 1 C2MX11 0x000000
425 0x1A9 Channel 2 - Mix#1 2 C2MX12 0x7FFFFF
… … … … …
479 0x1DF Channel 8 - Mix#1 8 C8MX18 0x7FFFFF
480 0x1E0 Channel 1 - Mix#2 1 C1MX21 0x7FFFFF
481 0x1E1 Channel 1 - Mix#2 2 C1MX22 0x000000
… … … … …
487 0x1E7 Channel 1 - Mix#2 8 C1MX28 0x000000
488 0x1E8 Channel 2 - Mix#2 1 C2MX21 0x000000
489 0x1E9 Channel 2 - Mix#2 2 C2MX22 0x7FFFFF
… … … … …
543 0x21F Channel 8 - Mix#2 8 C8MX28 0x7FFFFF
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
DCC15 DCC14 DCC13 DCC12 DCC11 DCC10 DCC9 DCC8
1 1 1 1 0 0 1 1
D7 D6 D5 D4 D3 D2 D1 D0
DCC7 DCC6 DCC5 DCC4 DCC3 DCC2 DCC1 DCC0
0 0 1 1 0 0 1 1
D7 D6 D5 D4 D3 D2 D1 D0
RCV11 RCV10 RCV9 RCV8 RCV7 RCV6 RCV5 RCV4
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
RCV3 RCV2 RCV1 RCV0 CNV11 CNV10 CNV9 CNV8
0 0 0 0 1 1 1 1
D7 D6 D5 D4 D3 D2 D1 D0
CNV7 CNV6 CNV5 CNV4 CNV3 CNV2 CNV1 CNV0
1 1 1 1 1 1 1 1
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
AdvM6 AdvM5 AdvM4 AdvM3 AdvM2 AdvM1 PDMSM[1:0]
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
bypRM1 CH1GG[5:0]
0 0 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
bypRM2 CH2GG[5:0]
0 0 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
bypRM3 CH3GG[5:0]
0 0 1 0 0 0 0 0
7 RW reserved
'1': Recombination of Mike_x is bypassed
6 RW bypRMx
'0': Recombination of Mike_x is active
5 RW
4 RW
3 RW
CHxGG[5:0] see Table 12
2 RW
1 RW
0 RW
D7 D6 D5 D4 D3 D2 D1 D0
LP1en CH1NCA[5:0]
0 1 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
LP2en CH2NCA[5:0]
0 1 1 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
LP3en CH3NCA[5:0]
0 1 1 0 0 0 0 0
7 RW
'1': Low-pass filter of mike x is enabled
6 RW LPxen
'0': Low-pass filter of mike x is not enabled
5 RW
4 RW
3 RW
CHxNCA[5:0] see Table 13
2 RW
1 RW
0 RW
D7 D6 D5 D4 D3 D2 D1 D0
CH1TH_N[5:0]
0 0 1 1 0 0 1 1
D7 D6 D5 D4 D3 D2 D1 D0
CH2TH_N[5:0]
0 0 1 1 0 0 1 1
D7 D6 D5 D4 D3 D2 D1 D0
CH3TH_N[5:0]
0 0 1 1 0 0 1 1
7 RW
Reserved
6 RW
5 RW
4 RW
3 RW
CHxTH_N[5:0] see Table 14
2 RW
1 RW
0 RW
0x00 0 0x0B -11 0x16 -22 0x21 -33 0x2C -44 0x37 -55
0x01 -1 0x0C -12 0x17 -23 0x22 -34 0x2D -45 0x38 -56
0x02 -2 0x0D -13 0x18 -24 0x23 -35 0x2E -46 0x39 -57
0x03 -3 0x0E -14 0x19 -25 0x24 -36 0x2F -47 0x3A -58
0x04 -4 0x0F -15 0x1A -26 0x25 -37 0x30 -48 0x3B -59
0x05 -5 0x10 -16 0x1B -27 0x26 -38 0x31 -49 0x3C -60
0x06 -6 0x11 -17 0x1C -28 0x27 -39 0x32 -50 0x3D -61
0x07 -7 0x12 -18 0x1D -29 0x28 -40 0x33 -51 0x3E -62
0x08 -8 0x13 -19 0x1E -30 0x29 -41 0x34 -52 0x3F -63
0x0A -10 0x15 -21 0x20 -32 0x2B -43 0x36 -54
6.5.7 Recombination control register 11, 12, and 13 (0x68; 0x69; 0x6A)
D7 D6 D5 D4 D3 D2 D1 D0
CH1TH_H[5:0]
0 0 0 1 1 0 1 1
D7 D6 D5 D4 D3 D2 D1 D0
CH2TH_H[5:0]
0 0 0 1 1 0 1 1
D7 D6 D5 D4 D3 D2 D1 D0
CH3TH_H[5:0]
0 0 0 1 1 0 1 1
7 RW 0
Reserved
6 RW 0
5 RW 0
4 RW 1
3 RW 1
CHxHCT[5:0] see Table 14
2 RW 0
1 RW 1
0 RW 1
D7 D6 D5 D4 D3 D2 D1 D0
7 RW 0 RMSZS2
Select channel for reading the zero-mute RMS
6 RW 0 RMSZS1 level on registers rmsZMH (0x7A) and rmsZML
(0x7B).
5 RW 0 RMSZS0
4 RW 0 ZMTHS2
Select the zero-mute threshold level. If signal is
3 RW 0 ZMTHS1
below this level, output will be in switch off mode.
2 RW 0 ZMTHS1
1 RW 0 ZMHYS1
Select the hysteresis window width.
0 RW 0 ZMHYS0
The STA321MPL1 implements an RMS-based zero-detect function (on serial input interface
data) which is able to detect in a very reliable way the presence of an input signal, so that
the power bridge outputs can be automatically connected to ground. When active, the
function mutes the output PWM when the input level becomes less than the threshold
- hysteresis.
Once muted, the PWM “unmutes” when the input level is detected as greater than the
threshold + hysteresis.
The measured level is then reported (each input channel is selected by the RMSZS[2:0]
value) on registers 0x7A and 0x7B.
000 1
001 2
010 3
011 4
100 5
101 6
110 7
111 8
000 -78
001 -84
010 -90
011 -96
100 -102
101 -108
110 -114
111 -114
00 3
01 4
10 5
11 6
D7 D6 D5 D4 D3 D2 D1 D0
000 1
001 2
010 3
011 4
100 5
101 6
110 7
111 8
Fs autodetection
D7 D6 D5 D4 D3 D2 D1 D0
PLLFI[15:8]
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
PLLFI[7:0]
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
PLLDD[1:0] PLLND[5:0]
0 0 0 0 0 0 0 0
3 RW 0 PLLND3
2 RW 1 PLLND2 5 ≤N DIV ≤55
1 RW 0 PLLND1
0 RW 1 PLLND0
D7 D6 D5 D4 D3 D2 D1 D0
Fin
Fout = ---------- × ( ND ) when PLLFC = 0
IDF
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
rmsZMx
D7 D6 D5 D4 D3 D2 D1 D0
rmsZMH
7 R RZM15
6 R RZM14
5 R RZM13
4 R RZM12
RMS zero-detect level register, H
3 R RZM11
2 R RZM10
1 R RZM9
0 R RZM8
rmsZML
7 R RZM7
6 R RZM6
5 R RZM5
4 R RZM4
RMS zero detect level register, L
3 R RZM3
2 R RZM2
1 R RZM1
0 R RZM0
rmsPOx
D7 D6 D5 D4 D3 D2 D1 D0
rmsPOH
7 R RPO15
6 R RPO14
5 R RPO13
4 R RPO12
RMS PWM out (post-processing) register, H
3 R RPO11
2 R RPO10
1 R RPO9
0 R RPO8
rmsPOL
7 R RPO7
6 R RPO6
5 R RPO5
4 R RPO4
RMS PWM out (post-processing) register, L
3 R RPO3
2 R RPO2
1 R RPO1
0 R RPO0
D7 D6 D5 D4 D3 D2 D1 D0
DPT4 DPT3 DPT2 DPT1 DPT0
1 1 1 0 0
0 RW 0 DPT0
1 RW 0 DPT1
Set a delay between the PWM and the tristate
2 RW 1 DPT2
signal to compensate the external amplifier delay.
3 RW 1 DPT3
4 RW 1 DPT4
D7 D6 D5 D4 D3 D2 D1 D0
RL3 RL2 RL1 RL0 RD SID1 FBYP RTP
0 0 0 0 0 1 0 1
4 RW 0 RL0
5 RW 0 RL1 Set a tristate duration (same value for
6 RW 0 RL2 startup/shutdown pop noise removal)
7 RW 0 RL3
D7 D6 D5 D4 D3 D2 D1 D0
UDDT15 UDDT14 UDDT13 UDDT12 UDDT11 UDDT10 UDDT9 UDDT8
0 0 0 0 0 0 0 0
D7 D6 D5 D4 D3 D2 D1 D0
UDDT7 UDDT6 UDDT5 UDDT4 UDDT3 UDDT2 UDDT1 UDDT0
1 1 1 1 1 1 1 1
8 Package information
'
$
'
$
$
PP FFF
6HDWLQJ3ODQH
%
%
(
(
(
&
H
/
/
.
A 1.60 0.063
A1 0.05 0.15 0.002 0.006
A2 1.35 1.40 1.45 0.053 0.055 0.057
B 0.17 0.22 0.27 0.0066 0.0086 0.0106
C 0.09 0.0035
D 11.80 12.00 12.20 0.464 0.472 0.480
D1 9.80 10.00 10.20 0.386 0.394 0.401
D3 7.50 0.295
e 0.50 0.0197
E 11.80 12.00 12.20 0.464 0.472 0.480
E3 7.50 0.295
L1 1.00 0.0393
9 Revision history
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.