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.

TAS2557: TAS2557: the quickest way to use MCU to bring up TAS2557 with SPI command

Part Number: TAS2557

I am trying to get the TAS2557 to start up with some sort of default configuration just to have the I2S bus up and running. I can read/write register without issue using SPI and i am following the "Power up and unmute sequence" described in the datasheet but it doesnt work. I also requested the pure path console software but i didnt get any feedback regarding that yet.

  • Hi Philippe,

    Can you provide the email address you're using to request access so we can verify its status?
    Once you're able to use PPC3, you can configure the device through the GUI, and then read back the register values for your configuration. Or you can Dump the Binary Files, this way you'll get some cfg files with the scripts used for your configuration.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators
  • Thanks Ivan,

    I just receive the information for the software. I will give it a shot and come back to you if i still have issues.

    Regards,
  • Hi Ivan,

    We would like to use the PPC3 application to generate proper header files but it doesnt really work. The only things i can do is to generate the binary file and some .cfg files but not the header files. When reading the user manual it seems like we need to actually connect to the device to generate those header files which is not really possible for us since we are not using the EVM board but our own prototype board. Even if we could connect, the application seem to be only doing I2C but not SPI...

    Regards,
  • Hi Philippe,

    Yes, EVM only works with I2C.
    If you don't have EVM for testing device configuration, you could use the default values provided by PPC3. The .cfg files provide a sequence of commands that can be sent to the device for its configuration.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators
  • Thanks Ivan,

    Now i have been able to start the I2S bus in master mode and i get proper clock configurations. I also have data going to ASI1_DIN but i guess i will need to program the DSP to have an output to the speaker? If i want to work with DSP in ROM mode 1, what is the simplest sequence to use to get it to work knowing that the I2S is properly configured? Should i use only the the program_0_ROM Mode 1.cfg or do i need to send multiple of these sequences?

    Thanks,
  • Hi Ivan,

    Also i am not able to set the sample rate to 24 kHz using ppc3 software. Does it mean that this sample rate is not supported by the TAS2557?

    Regards,
  • Hi Ivan (sorry another question),

    I got the speaker to work using only this file:

    combined_configuration_0_ROMMode1_48KHz.cfg

    As i said in my previous question, is it possible to generate the same file but at 24kHz?

    Also i feel like the volume is pretty low is it easy to edit the .cfg file to increase the volume or i need the EVM board to tune it?

    Best regards,
  • Hi Philippe,

    You can modify the cfg files based on the register descriptions, using the data sheet.
    PPC3 includes most commonly used configurations for audio sampling, although you can manually set different clock configurations.

    I can help you with the minor configurations on the cfg file, please share your current cfg, I'll make the necessary changes and send it back to you.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators
  • Hi Ivan,

    Thanks for your quick answer, i attached the .cfg file that i am currently using which use 48kHz sample rate.

    I am also configuring a few things prior to sending these configs like changing GPIOs to put the I2S in master mode.

    If i could work in 24 kHz mode that would be awesome but i checked in the datasheet and the only possible configurations in the registers are 8kHz, 16kHz, 44.1kHz and 48kHz.

    Regards,

    7701.combined_configuration_0_ROMMode1_48KHz.cfg

  • Hi Philippe,

    Unfortunately as you pointed out, the sampling rate of the ASI interface is not able to be configured for 24kHz. Internal clock tree might be more flexible but this is not an option for ASI interface.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators