English
Language : 

FAB2210 Datasheet, PDF (17/35 Pages) Fairchild Semiconductor – Audio Subsystem with Class-G Headphone and 3.3W Mono Class-D Speaker with Dynamic Range Compression
Speaker Amplifier Noise Gate
The speaker noise gate automatically mutes the
speaker amplifier when its input amplitude is below a
predetermined noise gate threshold to reduce noise
during inactivity. (This function is more useful for speech
than music.) The amplitude is measured after the
speaker volume control, but before the speaker amplifier
block. The speaker noise gate’s threshold level is set by
the SP_NG_RAT register. The amplitude must be less
than the noise gate threshold for the hold time
determined by the NG_ATRT register.
The speed at which the volume is reduced is
determined by the attack time setting in the NG_ATRT
register. When the volume is reduced by the noise gate,
the SP_ATT register’s readback value remains
unchanged. An internal register keeps track of the
actual volume setting.
If the speaker channel’s amplitude goes above the
speaker noise gate threshold, the speaker volume is
raised back to the SP_ATT value at a rate determined
by the release time setting in the NG_ATRT register.
To avoid unpredictable behavior, noise gate settings
should not be changed while the speaker amplifier is on.
Table 2. Speaker Volume Change Behavior
SP_SVOFF
1
1
0
0
SP_ZCSOFF Behavior when SP_ATT is Changed
1
Volume changes immediately.
0
Wait until a zero crossing occurs in the input before changing volume. If a zero
crossing does not occur within 200µs, volume is forced to the new setting.
1
Volume is ramped to the new setting at a rate of 200µs per step.
Volume is changed by one step when a zero crossing occurs. If a zero crossing
0
does not occur within 200µs, a step is forced. Only the first zero crossing within
200µs triggers a volume change; volume does not change again until the next
200µs.
Speaker Volume Ramp and Zero-Crossing
Detection
The SP_SVOFF and SP_ZCSOFF I2C bits control the
speaker volume when SP_ATT is changed.
SP_SVOFF and SP_ZCSOFF do not slow down turn-on
or turn-off when using the SP_AMIX, SP_BMIX, or
SRST bits. Thermal, over-current, and DC offset
shutdown conditions are not slowed by SP_SVOFF and
SP_ZCSOFF.
SP_SVOFF and SP_ZCSOFF have no effect on DRC
and noise gate timing. DRC and noise gate timing have
no effect on speaker volume ramp and zero-crossing
detection. In the event of a conflict between these
systems, the lowest volume setting is chosen.
I2C Control
Writing to and reading from registers is accomplished
via the I2C interface. The I2C protocol requires that one
device on the bus initiates and controls all read and
write operations. This device is called the “master”
device. The master device generates the SCL signal,
which is the clock signal for all other devices on the bus.
All other devices on the bus are called “slave” devices.
The FAB2210 is a slave device. Both the master and
slave devices can send and receive data on the bus.
During I2C operations, one data bit is transmitted per
clock cycle. All I2C operations follow a repeating nine
clock-cycle pattern that consists of eight bits (one byte)
of transmitted data followed by an acknowledge (ACK)
or not acknowledge (NACK) from the receiving device.
Note that there are no unused clock cycles during any
operation; therefore, there must be no breaks in the
stream of data and ACKs/NACKs during data transfers.
For most operations, I2C protocol requires the SDA line
to remain stable (unmoving) whenever SCL is HIGH; i.e.
transitions on the SDA line can only occur when SCL is
LOW. The exceptions to this rule are when the master
device issues a START or STOP condition. The slave
device cannot issue a START or STOP condition.
START Condition: This condition occurs when the SDA
line transitions from HIGH to LOW while SCL is HIGH.
The master device uses this condition to indicate that a
data transfer is about to begin.
STOP Condition: This condition occurs when the SDA
line transitions from LOW to HIGH while SCL is HIGH.
The master device uses this condition to signal the end
of a data transfer.
Acknowledge and Not Acknowledge: When data is
transferred to the slave device, the slave device sends
an acknowledge (ACK) after receiving every byte of
data. The receiving device sends an ACK by pulling
SDA LOW for one clock cycle.
When the master device is reading data from the slave
device, the master sends an ACK after receiving every
byte of data. Following the last byte, a master device
sends a “not acknowledge” (NACK) instead of an ACK,
followed by a STOP condition. A NACK is indicated by
leaving SDA HIGH during the clock after the last byte.
© 2011 Fairchild Semiconductor Corporation
FAB2210 • Rev. 1.1.1
17
www.fairchildsemi.com