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.

关于dm368上的speaker测试的问题



Hi,Ti的工程师们:

      我们在dm368的板子上添加了一个8Ω的小喇叭,然后测试音频功放功能,发现没有任何声音,我在串口中输入了两种测试方法:

1)

root@(none):~# aplay alarm_1_8K.wav
Playing WAVE 'alarm_1_8K.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono

2)
root@(none):~# speaker-test -c2 -twav
speaker-test 1.0.24.2
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 384 to 98304
Period size range from 24 to 6144
Using max buffer size 98304
Periods = 4
was set period_size = 6144
was set buffer_size = 98304
 0 - Front Left
 1 - Front Right
Write error: -32,Broken pipe
Time per period = 0.864163
 0 - Front Left
 1 - Front Right
Write error: -32,Broken pipe
Time per period = 0.517549
 0 - Front Left
Write error: -32,Broken pipe
 1 - Front Right
Time per period = 0.604499
 0 - Front Left
Write error: -32,Broken pipe

然后,用示波器测量了CPU上的SPP:B9和SPN:A9,我们想看看从CPU里出来数据没有,发现波形一直没变,播放音频文件前后都是这样:


想在这里,请教各位工程师,我的测试方法是否有问题?还是我的音频驱动加载的有问题?为什么从CPU里没有信号出来?!