![](http://datasheet.mmic.net.cn/Texas-Instruments/TAS5711PHP_datasheet_107108/TAS5711PHP_36.png)
2
Bit
–23
S_xx.xxxx_xxxx_xxxx_xxxx_xxxx_xxx
2
Bit
–5
2
Bit
–1
2 Bit
0
SignBit
2 Bit
1
M0125-01
SLOS600A – DECEMBER 2009 – REVISED AUGUST 2010
www.ti.com
BANK SWITCHING
The TAS5711 uses an approach called bank switching together with automatic sample-rate detection. All
processing features that must be changed for different sample rates are stored internally in three banks. The
user can program which sample rates map to each bank. By default, bank 1 is used in 32kHz mode, bank 2 is
used in 44.1/48 kHz mode, and bank 3 is used for all other rates. Combined with the clock-rate autodetection
feature, bank switching allows the TAS5711 to detect automatically a change in the input sample rate and switch
to the appropriate bank without any MCU intervention.
An external controller configures bankable locations (0x29-0x36, 0x3A-0x3F, and 0x58-0x5F) for all three banks
during the initialization sequence.
If auto bank switching is enabled (register 0x50, bits 2:0) , then the TAS5711 automatically swaps the coefficients
for subsequent sample rate changes, avoiding the need for any external controller intervention for a sample rate
change.
By default, bits 2:0 have the value 000; indicating that bank switching is disabled. In that state, updates to
bankable locations take immediate effect. A write to register 0x50 with bits 2:0 being 001, 010, or 011 brings the
system into the coefficient-bank-update state update bank1, update bank2, or update bank3, respectively. Any
subsequent write to bankable locations updates the coefficient banks stored outside the DAP. After updating all
the three banks, the system controller should issue a write to register 0x50 with bits 2:0 being 100; this changes
the system state to automatic bank switching mode. In automatic bank switching mode, the TAS5711
automatically swaps banks based on the sample rate.
Command sequences for updating DAP coefficients can be summarized as follows:
1.
Bank switching disabled (default): DAP coefficient writes take immediate effect and are not
influenced by subsequent sample rate changes.
OR
Bank switching enabled:
(a)
Update bank-1 mode: Write "001" to bits 2:0 of reg 0x50. Load the 32 kHz coefficients.
(b)
Update bank-2 mode: Write "010" to bits 2:0 of reg 0x50. Load the 48 kHz coefficients.
(c)
Update bank-3 mode: Write "011" to bits 2:0 of reg 0x50. Load the other coefficients.
(d)
Enable automatic bank switching by writing "100" to bits 2:0 of reg 0x50.
26-Bit 3.23 Number Format
All mixer gain coefficients are 26-bit coefficients using a 3.23 number format. Numbers formatted as 3.23
numbers means that there are 3 bits to the left of the decimal point and 23 bits to the right of the decimal point.
Figure 54. 3.23 Format
36
Copyright 2009–2010, Texas Instruments Incorporated