![](http://datasheet.mmic.net.cn/370000/TAS5028A_datasheet_16735498/TAS5028A_41.png)
TAS5028A Controls and Status
34
SLES112 — June 2004
TAS5028A
Strategy: Use the TAS5028A bank switching feature to allow for managing and switching three banks
associated with the three sample rates, 32 kHz (Bank 1), 44.1 kHz (Bank 2), and 48 kHz (Bank 3).
One possible algorithm is to generate, load, and automatically manage bank switching for this problem:
Generate bank-related coefficients (see above) for sample rates 32 kHz, 44.1 kHz, and 48 kHz and include
the same in the micro-based TAS5028A I
2
C firmware.
On TAS5028A power up or reset, the micro runs the following TAS5028A Initialization code:
Update bank 1 (Write 0x00048040 to register 0x40).
Write bank-related I
2
C registers with appropriate values for bank 1.
Write bank 2 (Write 0x00058040 to register 0x40).
Load bank-related I
2
C registers with appropriate values for bank 2.
Write bank 3 (Write 0x00068040 to register 0x40).
Load bank-related I
2
C registers with appropriate values for bank 3.
Select automatic bank switching (write 0x00038040 to register 0x40)
Now when the audio media changes, the TAS5028A automatically detects the incoming sample rate and
automatically switches to the appropriate bank.
In this example any sample rates other then 32 kHz and 44.1 kHz will use bank 3. If other sample rates are
used, then the banks need to be set up differently.
2.5.6 Bank Switching Example 2
Problem: The audio system uses all of the sample rates supported by the TAS5028A. How can the automatic
bank switching be set up to handle this situation
Strategy: Use the TAS5028A bank switching feature to allow for managing and switching three banks
associated with sample rates as follows:
Bank 1: Coefficients for 32 kHz, 38 kHz, 44.1 kHz, and 48 kHz
Bank 2: Coefficients for 88.2kHz and 96 kHz
Bank 3: Coefficients for 176.4 kHz and 192 kHz
One possible algorithm is to generate, load, and automatically manage bank switching for this problem:
Generate bank-related coefficients for sample rates 48 kHz (bank 1), 96 kHz (bank 2), and 192 kHz
(bank 3) and include the same in the micro-based TAS5028A I
2
C firmware.
On TAS5028A power
up or reset, the micro runs the following TAS5028A initialization code:
Update bank 1 (Write 0x0004F00C to register 0x40).
Write bank-related I
2
C registers with appropriate values for bank 1.
Write bank 2 (Write 0x0005F00C to register 0x40).
Load bank-related I
2
C registers with appropriate values for bank 2.
Write bank 3 (Write 0x0006F00C to register 0x40).
Load bank-related I
2
C registers with appropriate values for bank 3.
Select automatic bank switching (Write 0x0003F00C to register 0x40)
Now when the audio media changes, the TAS5028A automatically detects the incoming sample rate and
automatically switches to the appropriate bank.