SLAA954 August 2020 – MONTH TAS2563
Reconfigure tuning data and different PLL with the same program
Use case: Device is in playback with 48 kHz sample rate and needs to switch to music playback with 44.1 kHz sample rate. Assuming the new configuration index is X
Status: DSP program memory has been programmed but coefficients and PLL need to be updated.
Steps to playback:
[AB] if the music is playing and the devices are running, load the mute sequence to shutdown. If the music is not playing, skip Step 1, 6, and 7
[AB] mute and shutdown TAS2563; This code is not part of the binary file.
static int tas2563_mute(struct snd_soc_dai *dai, int mute)
Download PLL
For TAS2563 Mono application:
[A] Load TAS2563_BLOCK_PLL of configuration 0
For TAS2563 Stereo application:
[AB] Load TAS2563_BLOCK_PLL of configuration 0
Download the pre-data of the configuration
[A] Load TAS2563_BLOCK_CFG_PRE_DEV_A of configuration 0
[B] Load TAS2563_BLOCK_CFG_PRE_DEV_B of configuration 0
Download the coefficient
[A] Load TAS2563_BLOCK_CFG_COEFF_DEV_A of configuration 0
[B] Load TAS2563_BLOCK_CFG_COEFF_DEV_B of configuration 0
Download calibration data if present
[A] Load TAS2563_BLOCK_CFG_CAL_A of configuration 0
[B] Load TAS2563_BLOCK_CFG_CAL_B of configuration 0
Feed the PLL clock. Audio stream may start any time after this step
[A/AB] Unmute; This code is not part of the binary file.
static int tas2563_mute(struct snd_soc_dai *dai, int mute)
Steps to sleep:
[AB] mute and shutdown TAS2563; This code is not part of the binary file.
static int tas2563_mute(struct snd_soc_dai *dai, int mute)
Turn off PLL Clock