SLAA954 August   2020  – MONTH  TAS2563

 

  1.   Abstract
  2.   Trademarks
  3. 1End System Integration
    1. 1.1 Step 1: Exporting Binary and Configuration Files
    2. 1.2 Step 2: Configuration Selection
    3. 1.3 Step 3: Snapshot Selection
  4. 2Factory Test and Calibration (FTC)
    1. 2.1 Step 4: Pass/Fail Limits
    2. 2.2 Step 5: Configuration Summary
  5. 3Device Driver Integration
    1. 3.1 Case 1 : Initialization
    2. 3.2 Case 2: Power up
    3. 3.3 Case 3: New Configuration
    4. 3.4 Case 4: New Configuration and PLL
    5. 3.5 Case 5: New Configuration and Program
  6. 4Summary

Case 5: New Configuration and Program

Reconfigure TAS2563 and reprogram the DSP

Use case: Change from speaker protection mode (tuning mode) to ROM1 mode for factory testing. Assuming the new configuration index is X.

Status: DSP program memory and coefficients needs to be reprogrammed.

Steps to playback:

  1. [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)
  2. Hardware reset the device

    • It is strongly recommended to hardware reset the device for reliable operation before initialization

  3. Software reset the device

    • It is strongly recommended to software reset the device for reliable operation before initialization

  4. Initialization

    • This code is not part of the binary file. The purpose of this step is to format ASI selection, IRQ configuration, and other relevant system configurations. For both TAS2563 Mono and Stereo application; This code is not part of the binary file:

    • [A] See TAS2563 Mono/Stereo Driver

    • int tas2563_load_default(struct tas2563_priv *pTAS2563)
    • [AB] See TAS2563 Mono/Stereo Driver

    • int tas2563_load_default(struct tas2563_priv *pTAS2563)
  5. Download the Program

    1. [AB] Load TAS2563_BLOCK_PGM_ALL of configuration 0 in broadcasting mode

    2. [A] Load TAS2563_BLOCK_PGM_DEV_A of configuration 0

    3. [B] Load TAS2563_BLOCK_PGM_DEV_B of configuration 0

  6. 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

  7. 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

  8. 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

  9. 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

  10. Initialization Complete; Proceed to next step for Audio Playback

    Note:

    If the music is playing, continue to Step 12. If the music is not playing, stop at Step 10

  11. Feed the PLL clock. Audio stream may start any time after this step

  12. [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:

  1. [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)
  2. Turn off PLL Clock