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.

TAS2555: How to config TAS2555 ASI interface timing in PPC3

Part Number: TAS2555
Other Parts Discussed in Thread: TAS2557

Now I have generate binary firmware in PPC3, but I can't find ASI1 timing setting(clock and format) in PPC3

How to config it and merge it in binary file?

  • Hi,

    We will take a look at this and will answer as soon as possible.

    Best regards,
    Luis Fernando Rodríguez S.

  • Hi,

    There are a couple questions I'd like to ask about your application:

    • Are you using mono or stereo PPC3 app?
    • Are you using the device in ROM mode or tuning mode?
    • What timing settings would you like to adjust?

    Binary file is exported using the End System Integration from PPC3, it cannot be edited once it is exported. Only cfg files can be edited.

    Regarding the timing settings, you can find several options in the End System Integration, you should first select the Mode, then the Sampling Frequency and at the end the Clock Source and its Frequency.

    Unfortunately the format is not selectable within PPC3 so it uses the default I2S format. If you need a different format or bit offset, you would need to do some additional register writes after initializing the device. If you use cfg file, these additional settings can be merged after exporting the file.

    You can also consider using TAS2557 which is a next generation of TAS2555, although the binary/cfg file conditions are basically the same on these two devices.

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

  • Thanks for your reply.

    Ivan Salazar said:
    • Are you using mono or stereo PPC3 app?    using mono mode
    • Are you using the device in ROM mode or tuning mode?  using ROM2 mode
    • What timing settings would you like to adjust?   sample rate and bit offset

    If you need a different format or bit offset, you would need to do some additional register writes after initializing the device.

    As your said,   Do I need patch the android driver out of binary firmware?

    Another question:  How to get cal file before system runs without calibration? I just get only one binary firmware in ppc3

    tas2555-core.c

    #define TAS2555_CAL_NAME    "/data/tas2555_cal.bin"

  • Hi,

    The bit offset cannot be adjusted within PPC3 to obtain the binary files, so you would need to add this additional configuration commands after the device is initialized with the binary file extracted from PPC3.
    The _cal.bin file is obtained during calibration, the related tools are available in the repository: https://git.ti.com/tas2555sw-android

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