imx8mm作为I2S主设备,codec为从设备实现录音和播放功能

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mm作为I2S主设备,codec为从设备实现录音和播放功能

1,632 Views
xcyhere
Contributor I

你好:

         我现在需要实现将imx8mm作为I2S主设备,codec作为从设备实现录音和播放双工能:

pastedImage_1.png

      其中,imx8mm发送和接收使用的是默认配置:Tx:异步,Rx:同步,我在基于Linux 4.14.98版本的BSP中修改:

      imx-wm8988.c中修改imx_hifi_hw_params函数:配置cpu_dai、codec_dai采样格式(从模式、I2S)、设置slot、设置cpu_dai时钟和方向

   pastedImage_3.png

pastedImage_4.png

结果在执行录音命令arecord时候,报错

pastedImage_5.png

希望能够得到帮助!

0 Kudos
1 Reply

1,475 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

The question is the same as that of link:https://community.nxp.com/message/1183180?commentID=1183180#comment-1183180 

so discuss it on the link, please!

0 Kudos