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.

TAS5825M : 0x71 Clock halt - no sound

Other Parts Discussed in Thread: TAS5825M

Hello TI Team,

My customer have some problem with I2S clock. We use evaluation board TAS5825m and TAS5825m amplifier. Our idea is to check the different  audio system configurations.

There are two configurations:

General settings are Speaker configuration : MONO and Audio processing : SmartAmp ( 1.1 48k)

1) Other settings are default.

2) The main idea of second configuration is "to make it simple to verify which channel is which." This is done by having a very wide split between the crossover frequency, between two drivers. So the bass-channel rolls off at around 350Hz and the tweeter rolls off at around 9kHz. So it should be easy to identify which channel is which. And it should also be easy to identify if my code have been loaded.

With only the bass, or full-range, driver attached to either channel you should hear either really deep base, or really high treble. The level will likely be low, as there isn't much output here.

picture 1 : Speaker configuration : MONO 

picture 2 : Audio processing : SmartAmp ( 1.1 48k)

picture 3: X-over looks like this ( second configuration )

Main configuration work's fine but if we use second configuration we don't have a sound and also sometimes we get error in 0x71 register with code " 0x04 "Clock error. Could you help ?

if you need any additional information, please let us know.

  • Short updating information

    1) It is first - default configuration                  www.dropbox.com/.../default.ppc3

    2) It is second - customer configuration        www.dropbox.com/.../channel-tester.ppc3

    Please check it

  • Hello Dmytro,

    Can you upload the files directly to your post. Dropbox links can't be accessed for security reasons.

    Best Regards,

    Luis

  • Hello Luis,

    Yes, sure.

    This is first configuration 

    default.zip

    and the second configuration

    channel-tester.zip

    Best Regards,

    Dmytro

  • Hello Dmytro,

    Can you provide a waveform capture of the I2S bus in both the case where there is no clock error and the case where you do see the clock error.

    Best Regards,

    Luis

  • Hello Luis,

    Thanks a lot of your help but during this week we don't opportunity working in our our laboratory. The main reason is COVID 19. I will back to you on the begin next week.

    So, maybe we can do some experiments with software part and send you status registers etc ?


    Best Regards,

    Dmytro Kalynenko

  • Hello Dmytro,

    Is the audio input using USB audio or driven externally via SPDIF/PSIA connections. If driven via USB can you provide your sound settings on windows(e.g. bit depth and sample rate).

    Best Regards,

    Luis

  • Hello Luis,

    I hope that next week i can send to you a waveform capture of the I2S bus.  About my Windows sound settings: I have not noticed anything strange.

    1) This picture show all sound devices.

    2 ) This picture show current sample rate. So if we use default.pcc3 setting all work's fine , and when i want to device channel - no sound.

    Sample rate: 48000

    2 channels , bit depth 16

    So, maybe i need to share something else ?

    However, I tried to reset all errors , write command "0x78, 0x80" ~ // Reset Errors and after that "0x03, 0x03" // // Set unmute and Play but also nothing happened.

    Best Regards,

    Dmytro Kalynenko

  • Hello Dmytro,

    In your PPC3 file, the audio input is configured as an optical input rather than a USB input. Is this intentional?

    Do you have an optical input connected to the PPC-CMBEVM or did you want to use USB audio.I tested the PPC3 configurations and did confirm i got audio playback and did not see faults unless the optical cable was disconnected.

     Also can you confirm that the system is connected like the image below. 

    Best regards,

    Luis

  • Hello Luis,

    You are right. Thanks for your answer , you are help to solve this problem in debug board and now we have sound.  But if it possible I have additional question about amplifier settings.
    The main key that we designed our own board with tas5825m amplifier. Control is via a board with a processor amlogic, arm architecture. We wrote special tas5825m driver for management  though i2c and i2s bus and also like "sound codec" in Linux. We have the same problem with "I2S clock error" and also we are not sure for 100% percent that h file loading correctly because we hear some sound distortion. In Linux we can use special software utility. It is "i2ctools" and it allow us to dump or get value from i2c bus.

    1) It is looks like this :

    So, but we only have the ability to read 77 registers (status errors, warnings, sound set value, etc.). I think this is a problem with the EG setting and we have an idea to check all these registers, but they are hidden. Do you have any software utilities that allow you to check not only 77 registers, but all.

    
    
  • Hi Dmytro,

    Several suggestions:

    • Check the startup / shutdown procedures to meet datasheet 9.5.3 Control via Software requirements.
    • I2C communication could be checked through CheckSum. No need to read back all register values.
    • Clock error is indicted once the clock error was happened. It's suggested to write clear fault command and re-check the fault status.

    Regards

     

  • Hello Matthew Miao,

    I am sorry for the delay with the answer, I will try to give an answer for all your questions.

    Would you explain please what you mean by "checked through CheckSum"? I think we have great I2C communication because we can read the value of all registers at any time. It is no problem for us. We are thinking that the main problem is with incorrect settings of register values  during the loading process. As I said before we would like some software tool or script which allows us in real time to parse required registers. Our problem is that we can only read register 77 and we don't have access to other registers. As far as i know this means that we can't see if the amplifier EQ setup was correct or not ?

    I had already tried to reset all errors and faults. The clock error has disappeared but the sound quality has not changed in any way. We still hear a distorted sound output.

    About datasheet 9.5.3 "Control via Software requirements" - yes , I checked all this requirement and we have the same settings as in the datasheet. 

    Best Regards,

    Dmytro Kalynenko

  • Hello Dmytro,

    We have a Checksum tool in the Direct I2C tab on PPC3 you see what the calculated checksum is and compare it to what you read in the register

    As far as real-time checking registers you can look at the In-system Debug/Tuning tool in PPC3, here are slides that elaborates on how to do this.

    /cfs-file/__key/communityserver-discussions-components-files/14/In_2D00_System-Tuning.pdf

    Best Regards,

    Luis