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.

TAS5830: TAS5830 PPC3 how to set SAP_CTRL1 options?

Part Number: TAS5830

In the PPC3, how do I set the SAP_CTRL1 options? (Register Map lists it as "I2S Control 1")

In another thread I was advised to use the PPC3 to generate the TAS configuration for my custom application, as not all registers are listed in the datasheets.
However, the PPC3 seems to always use the default values for the SAP_CTRL1 register.
Our application relies on changing this register (in our case the I2S Word Length).

I already tried setting the value in the PPC3 Register Map, hoping it would use that value, however it always reverts the changes to default.

How do I resolve this issue whithout having to manually modify the generated configuration every time?

  • Hi Daniel,

    To confirm, by default do you mean it is reverting to I2S word length of 24 bits (0x02)? What value are you trying to set it to? Are you resetting the device at all? Are you changing any other I2S control registers in addition to this?

    Regards,

    Isaac

  • Our application provides I2S data in 16-bit format. That's why I'm trying to set the FRAME_LENGTH field of the SAP_CTRL1 register to 0x00 (16 bits).
    However, the PPC3 does not seem to provide a setting for this.
    Every time I generate and export a configuration file via the "system integration" function of the PPC3, it uses the default SAP_CTRL1 setting of 24 bits.
    This happens even when I manually change the corresponding bit in the Register Map window. My changes simply get reverted.
    To fix this I have to manually change the affected register in the generated file.

    Yes, I reset my device, but that doesn't matter in this case as the generated configuration is already incorrect.
    I'm changing other registers as well and they seem to be set correctly.

  • Daniel,

    Yes, the default value will be initially set at the top of your cfg file, but in the later sections in "Tuning coeffs" the final value of the register will change to what you set it to with your tuning. Look for the final entry of 0x33 in your cfg register dump.

    Regards,

    Isaac