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

McBSP PCM

我想用DM3730下的PCM链接蓝牙,使用McBSP3接口,配置了sound/soc/omap/omap3stalker.c,无法播放,进不了DMA中断,下面是调试信息,是我寄存器没有配置正确么?

aplay -D hw:0,1 -f S16_LE -r 8000 -c 1 beep.gsm0 chunk_size 1024[ 3014.500061] configured 0 id 1 bus_id 2 sream 0

Playing raw data 'beep.gsm' : [ 3014.505798] id 2 2430 0 34xx 1 44xx 0
Signed 16 bit Little Endian, Rat[ 3014.512145] config->spcr2 560
e 8000 Hz, Mono
before set para[ 3014.517883] config->spcr1 32816
ms 1024
[ 3014.523681] config->rcr2 65
[ 3014.527465] config->rcr1 64
[ 3014.530273] config->xcr2 65
[ 3014.533264] config->xcr1 64
[ 3014.536071] config->srgr2 15
[ 3014.539031] config->srgr1 1792
[ 3014.542358] config->mcr2 0
[ 3014.545074] config->mcr1 0
[ 3014.547790] config->pcr0 0
[ 3014.550750] config->xccr 4105
[ 3014.553741] config->rccr 2057
[ 3014.556915] before omap_request_dma
[ 3014.560424] after omap_request_dma 0
after set params 112[ 3014.565948] omap_pcm_dma_irq

writei before ioctl
writei after ioctl
hw_writei: frames = 112, xferi.result = 112, err = 0
writei before ioctl
writei after ioctl
hw_writei: frames = 112, xferi.result = 112, err = 0
writei before ioctl
writei after ioctl
hw_writei: frames = 112, xferi.result = 112, err = 0
writei before ioctl
writei after ioctl
hw_writei: frames = 112, xferi.result = 112, err = 0

Aborted by signal Interrupt…

guozheng yang1:

回复 Chris Meng:

非常感谢

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