This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TAS2563: PPC vs regbin

Part Number: TAS2563

Tool/software:

I'm currently in the process of tuning the TAS2563 embedded in my design. I'm confused about the tools and what to do in which tool. We have the regbin tool which allows manual register settings to be made, but no DSP settings. It's looks like that almost every setting can also be done in PPC3. The driver requires both bin file (regbin + ppc3 output). What happens when I set the current limit to 4A in my regbin config and 3A in PPC3, which one will it be and how is this determined? Does this have something to do with ROM(=regbin) and tuning(=ppc3) mode? What register/bit is used to switch between these modes?

Another question, when I list all controls in amixer I get the following:

amixer -c0
Simple mixer control 'Configuration',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 0
  Mono: 0 [0%]
Simple mixer control 'Program',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 1
  Mono: 0 [0%]
Simple mixer control 'TASDEVICE Profile id',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 0
  Mono: 0 [0%]
Simple mixer control 'tas2563-amp-gain-volume',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 28
  Mono: 16 [57%]
Simple mixer control 'tas2563-digital-volume',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 65535
  Mono: 7807 [12%]

I understand what "TASDEVICE Profile id", "tas2563-amp-gain-volume" and "tas2563-digital-volume" do, but what is "configuration" and "program" for?

  • Hi Allard,

    I'll check on your questions and get back to you tomorrow.

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • Hi Allard,

    The binary generated from regbin tool contains mainly the settings for registers on page 0, and it's used to write power up and power down commands. You should include here any specific settings related to TDM Rx and Tx configuration, PDM interface configuration (if used).
    If you set different limiter settings on regbin and PPC3, my expectation is that regbin will override the settings as it's the sequence used during power up for any playback command.

    Regarding PPC3 bin file, this can be generated for either ROM or Tuning Modes. Changing between ROM and Tuning is not a commonly used procedure, in general it's best to initialize the device to either mode from the beginning, using separate bin files for each purpose.

    I'll ask for support regarding the configuration and program question.

    Best regards,
    -Ivan Salazar
    Applications Engineer

  • regbin file have the higher priority over dspbin made by PPC3.

    regbin mainly config the book0page0 register. Some registers also can be set in PPC3, normally, regbin will overwirtes them.

    One important thing, tas2563 poweron/poweroff is controlled by regbin.

    config and program are used to call the algorithm inside the dspbin.

    program mean the algorithm, such as drc. eq, and speaker protection, etc. Normally, dspbin file only contain one program.

    configs are the settings of the algorithm, dspbin can contain several configs.

    ROM file is not regbin. ROM is the bypass-dsp, belongs to dspbin file.

    One more thing, is the guideline useful for you.

    PowerPoint 演示文稿 (ti.com)

  • It is clear now, thank you both. The TAS2563 is a impressive chip.

  • Enjoy tas2563 and its driver.