TI中文支持网
TI专业的中文技术问题搜集分享网站

tvp5158 audio 错误

我们使用的是ti8148,我们自己的板子现在tvp5158接的是mcasp1上面的。我认真检查了我的代码应该是没有问题了,但还是报如下错误(粗体部分标出),我的改动部分在附件里:

1: Set   Audio Storage Path

2: Start Audio Capture

3: Stop  Audio Capture

4: Start Audio Playback

5: Stop  Audio Playback

6: Set Audio Capture Configuration

p: Previous Menu

Enter Choice: 1

Enter file write path : /home

Selected file write path [/home]

Store path set to /home

Trying to set storage path to /home

===================

Audio Settings Menu

===================

1: Set   Audio Storage Path

2: Start Audio Capture

3: Stop  Audio Capture

4: Start Audio Playback

5: Stop  Audio Playback

6: Set Audio Capture Configuration

p: Previous Menu

Enter Choice: 2

Select AUDIO CAPTURE CH ID [0 .. 3] : 0

Selected CH ID = 0

Removing /home/01/record01.pcm

Removing /home/01/record02.pcm

Removing /home/01/record03.pcm

Removing /home/01/record04.pcm

Removing /home/01/record05.pcm

Removing /home/01/record06.pcm

Removing /home/01/record07.pcm

Removing /home/01/record08.pcm

Removing /home/01/record09.pcm

Removing /home/01/record10.pcm

AUDIO >>  opened plughw:1,0 device

[ SOUND ] set codec DAI configuration: sound/soc/davinci/davinci-evm.c : evm_hw_params : 102 name[TVP5158AUDIO]

[ SOUND ] set cpu DAI configuration: sound/soc/davinci/davinci-evm.c : evm_hw_params : 119 name[TVP5158AUDIO]

===================

Audio Settings Menu

===================

1: Set   Audio Storage Path

2: Start Audio Capture

3: Stop  Audio Capture

4: Start Audio Playback

5: Stop  Audio Playback

6: Set Audio Capture Configuration

p: Previous Menu

Enter Choice: Opened /home/01/ [ SOUND ] : sound/soc/davinci/davinci-mcasp.c : davinci_mcasp_start : 410

[ SOUND ] : sound/soc/davinci/davinci-mcasp.c : mcasp_start_rx : 352

[ AUDIO ] : sound/core/pcm_lib.c : 1733 : name=subdevice #0

record01.pcm for recording..

capture write error (DMA or IRQ trouble?)

AUDIO >> read f [ SOUND ] : sound/soc/davinci/davinci-mcasp.c : davinci_mcasp_stop : 440

[ SOUND ] : sound/soc/davinci/davinci-mcasp.c : mcasp_stop_rx : 426

rom audio interface failed (Input/output error)

AUDIO >>  CAPTURE ERROR Input/output error, capture wont continue…

AUDIO >> Device closed

Leon Yu:

建议你用示波器看一下TVP5158的输出,检查一下是否正确。

赞(0)
未经允许不得转载:TI中文支持网 » tvp5158 audio 错误
分享到: 更多 (0)