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.

[参考译文] TDA4VM:About-McASP-demo

Guru**** 2439670 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1543516/tda4vm-about-mcasp-demo

器件型号:TDA4VM


工具/软件:

您好 TI 专家
SDK:0902.

现在、我使用以下设计:

我现在 有 mcasp4 有 4 个 串行器:  

PIN_PRG1_PRU0_GPO18 作为  MCASP4_ACLKX
PIN_PRG1_PRU0_GPO19 作为   MCASP4_AFSX
PIN_PRG1_PRU1_GPO5 作为   MCASP4_AXR0(这是输出)  
PIN_PRG1_PRU1_GPO7 作为   MCASP4_AXR1 (这是输出)  
PIN_PRG1_PRU1_GPO8 作为   MCASP4_AXR2(这是输入)
PIN_PRG1_PRU1_GPO9 作为   MCASP4_AXR3(这是输入)

我指的是 pdk_jacinto_09_02_00_30/packages/ti/drv/McASP/Example/use/audioSample_io.c src 演示、并发现它使用了两个串行器、一个用于发送、一个用于接收。
Q1 μ s:
如果我引用 pdk_jacinto_09_02_00_30/packages/ti/drv/McASP/Example/TX/audioSample_io.c 中的 createStreams () src、我是否只需要创建一次 TX 和 RX?

Q2:Ω

我使用上述 mcasp4 的所有串行器来发送和接收 TDM16 数据、那么如何配置已传输或接收的 TDM16 数据的分配?
 
例如:
   Slot0 插槽 1… 在接收过程中、哪些插槽在串行器 3 中、哪些插槽在串行器 4 中?

我在 TRM 中找不到上述信息、您能告诉我吗?

此致
Eason