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: How to output a sine wave from the TAS2563 evaluation board using PPC3

Part Number: TAS2563


Tool/software:

Hi, some egineers.

I am currently trying to evaluate the audio quality of the TAS2563 using a measurement filter for Class D amplifiers.

So now I need a sine wave output, but I'm having trouble figuring out how to output a sine wave from the evaluation board using PPC3.

I'll tell you about my current situation.

・First, I can play any audio from "Tuning and Audio Processing" and confirm that it is being output from the speakers.

・By changing to ROM Mode in “Device Control,” you will be able to operate the “Tone Generator,” but even if you turn it ON, the sine wave audio will not be played.

・I copied the I2C from the following forum and wrote it to Direct I2C. After that, when I clicked "Execute", a sine wave sound was played for a moment.But I couldn't get it to ring continuously.

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1302342/tas2563-no-output-from-tone-generator?tisearch=e2e-sitesearch&keymatch=TAS2563%2520Tone#

With the above in mind, I would like you to answer the following questions:

1. Please tell me why the sine wave is only output for a moment, and what is the solution to make it continuous.

2. Is it possible to output a sine wave from the "Tuning and Audio Processing" operation rather than using Direct I2C?

3. Why can't the Tone Generator be operated unless it is in ROM Mode? First, please explain the difference between Tuning Mode and ROM Mode.

I'm sorry for asking so many questions, but I would appreciate your response.

Regards,

Fumiya.

  • Hi Fumiya,

    regarding you questions, please find answers below:

    1 you can refer to the answer in the link you shared, it need additional i2s signals(even very small) to keep the tone continue.

    2 the tone generator is used for pilot tone(PT) in tuning mode. but I can change the PT Frequency/Level for your test, please find below PPC3, the snapshot2(ss2) had changed the PT to 1000hz and 1vRMS. just click the ss2 to enable it. this not shared in datasheet, so if you need it, please share your PPC3 and requirement, I can modify it for your usage.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/6/TAS2563_2D00_PE.ppc3

    3. ROM mode means no DSP is running, Tuning Mode means the DSP is running TI algorithms like protection, EQ/DRC ...

    in tunning mode, the tone generator is used to generate the PT so it can't support manual control of the gone generator.

    Br,

    Wenbin

  • Hi, Wenbin.

    Thank you for your answer.
    I will ask additional questions about each.

    1. So, by inputting an I2S signal to SDIN, the tone is output. Doesn't that condition apply to the Audio Player in PPC3? I expected that the sound being played by the Audio Player would be input to the TAS2563 as an I2S signal.

    2. I was able to open the PPC3 file for now. When I clicked on Snapshot 2, it displayed "Applying Snapshot" as shown in the picture below.
    After this, how can I output the Tone?

    3. So the Tone Generator can only be controlled in ROM Mode?

    I'm sorry that I'm slow to understand because I don't have much knowledge about this. I would appreciate it if you could explain it to me in an easy-to-understand way.

    Regards,

    Fumiya.

  • Hi Fumiya,

    answers:

    1 the internal audio player or external player are all input to the chipTAS2563 as I2S signal.

    2 in my experience, maybe you need play a very short signal via audio player, it will be a trigger to enable the device. and after that, there will be the tone for continues.

    3 there is only one tone controller in TAS2563. in ROM mode, you can control it freely. but in tunning mode, the tone generator is used to generate the pilot tone, it must be matched with the algorithm. so it can't be used freely.

    Br,

    Wenbin

  • Hi, Wenbin.

    There has been some progress, so I would like to update you on the current situation. I also have some additional questions.

    Current situation

    I downloaded the PPC3 file from the URL below and loaded it into PPC3.
    /cfs-file/__key/communityserver-discussions-components-files/6/TAS2563_2D00_PE.ppc3

    I then selected "TI USB AUDIO" as the PC's audio output destination and played some music on the PC's media player.
    The result was a sine wave coming from the speaker along with the music of your choice.
    (Unfortunately, I was unable to confirm the above behavior in the PPC3 Audio Player.)

    Even when I set the playback volume to 1 and the music became almost inaudible, the sine wave continued to play at the same volume.

    So now I can play a continuous sine wave.
    (You'll need to play very low volume music in your media player, but I don't expect this to affect the noise floor.)

    Here a new question arose.

    How do you vary the volume of a sine wave?

    From what I have tested, "Input Gain/Audio Processing" and "Channel Gain/Device Control" do not seem to be related.

    I would appreciate your response.

    Regards,

    Fumiya.

  • Hi Fumiya,

    your findings are expected.

    after the tone is played, you can just play a silence through audio player. 

    and the tone will not be affected by the algorithm tuning as it is after the DSP. but it can be controlled to set the frequency and output level. but it is in the advanced setting. I can change it for you if you have detailed requirement for the frequency and level. there could be 10 snapshot.

    Br,

    Wenbin