Microchip
直播中

李焰

7年用户 205经验值
私信 关注
[问答]

怎么设置I2S

问候语,我在协调I2S音频协议方面遇到了一些麻烦。我所能找到的所有帮助文件都显示I2S应该是驱动程序下的选项,但是它不在那里。但是,在SPI驱动程序下,I2S使用的是什么,我可以将它设置为DVVISPIXPROSTOLL Type Type音频。接下来的两个选项显示为粉色,提示错误。单击按钮生成代码工作,但如果我试图构建项目(仅用生成的代码,没有编辑),则会产生与SPI音频相关的几十个错误。我使用的是和声2.05,我使用的是PIC3的MCU。2MX795F512L文档,我发现,我认为是和谐1。x,也许这就是为什么所有的I2S显示为分离的河流?如果是这样,有2 x的帮助文档吗?还是我错过了一些完全不同的东西?谢谢!

以上来自于百度翻译


      以下为原文

    Greetings,

I'm having some trouble setting up the I2S audio protocol in HARMony. All the help files I've been able to find show that I2S should be an option under Drivers, however, it is not there.

Under the SPI driver though, which is what I2S would use, I can set it to DRV_SPI_PROTOCOL_TYPE_AUDIO. The next two options though show up in pink suggesting an error.



Clicking the button to generate code works, but if I try to build the project (with just the generated code, nothing edited) it generates dozens of errors all related to the SPI audio.

I'm using Harmony 2.05
The MCU I'm using is the PIC32MX795F512L

The documentation I did find I think was for Harmony 1.X, maybe that's why it all showed I2S as a separate driver? If so, is there any help documentation for 2.x? Or is there something completely different I'm missing?

Thanks!

回帖(2)

廉鼎琮

2018-10-22 15:18:47
没关系,找到了我自己的问题的答案。MX7家庭不支持I2S.OPPS。

以上来自于百度翻译


      以下为原文

    Nevermind, found the answer to my own question. The MX7 family doesn't support I2S.
 
Opps.
举报

刘龙

2018-10-22 15:35:52
注意,DeVICEPIC32 MX795F512L不支持音频。它的SPI模块不支持“音频协议接口模式”。您可能想查看PIC32 MX470系列或PIC32 MZ系列MCU的音频支持。问候,SyeT。

以上来自于百度翻译


      以下为原文

    Note that the device PIC32MX795F512L does not support audio. It's SPI module does not support "Audio Protocol Interface Mode".
You might want to look into PIC32MX470 series or PIC32MZ series of MCUs for audio support.
 
Regards,
SyeT
举报

更多回帖

发帖
×
20
完善资料,
赚取积分