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.

Wave File Playing Problem using OMAP35x WinCE BSP v6.15.00

Other Parts Discussed in Thread: TPS65930, OMAP3530

Hi everyone,

Our custom board has an OMAP3530 and a TPS65930.  I want to test the audio path so I write a test program that contains a loop to play a wave file over and over again by calling the Window API function PlaySound(WaveFileName, NULL, SND_FILENAME).  There is a delay of 3 seconds between each play.  The wave file takes about 1 second to play.

The audio output at pins PreDriv.LEFT and PreDriv.RIGHT is good about 90% of the time.  In the other 10%, the output is incorrect; it either has gap in the middle of the audio signal or the signal is a bit longer than it should be.

The picture  below is the way the audio signal should be

0601.Typical.TIF

 

The one below has gap in the second segment

2654.gap.TIF

 

The second second in the picture below is wider than it should be

8764.longer.TIF

 

I appreciate any help that you can give me to resolve this issue.

Thanks,

Luan

  • Luan,

    Few questions. I assume you are using WinCE6.

    - Did you try playing the file with CEPlayer (Windows Media Player for WinCE) in which you can put the file to be played out continuously. Just wanted to get an independent baseline from your test code

    - Where is the wav file that you are playing, stored (SD card, USB stick, memory??)

    - What is the priority of your test code?

    Jatin

     

  • Hi Jatin,

    It is OK playing with the CEPlayer.  I do not see the gaps in the middle of the waveform.  I store the wav file on the flash and set the priority of my test code to 1.  At this time, I am not worried about it.  In my actual application, I might not see this problem at all.

    Thanks for your help,

    Luan