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.

Can't get the correct TVP5158 audio over DM368 Soc

Other Parts Discussed in Thread: TVP5158

Hi All:

      I had meet one issue that can't get TVP5158 audio over DM3658 Soc, I can't get the correct audio in CPU side, here copy some details here:

1. TVP5158 Audio Registers


2. ALSA Parameters
          Access Type: Interleaved
          PCM Format: 16-bit little endian
          Number of Channels: 1 
          Sample Rate: 8KHz
          Period Size of Frames: 1000
          Buffer Size: 8000;

          I have 4 slots audio input over TVP5158, so I suppose we can get 64K bytes data per seconds in CPU side, but unfortunately, I always get the 32K bytes data per second, it's really strange. By analyzing the 32K bytes PCM data, seems the sound is: channel-1 & channel-3 mixed and channel-2 and channel-4 mixed.

           Anyone who can help check this?

           Any comments would be appreciate!

  • I test the TVP5158 serial audio Interfaces' Clock by oscilloscope,

    the status of  BCLK_R freq is 512KHz , and LRCLK_R freq is 8KHz, is right?

    in theory, the data in CPU side(DM368) should be 64KB/s, but get 32KB/s by ALSA,

    who know how to configure the CPU side and ALSA parameters? thank you!

  • I want use tvp5158 audio under the ALSA architecture, but i couldn't found the alsa sound driver supported tvp5158 audio!

    where do you find the tvp5158 audio alsa driver?could you tell me?

    many thx!