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.

[参考译文] AM6442:具有 3 个以上 SPI 外设的 SPI 多控制器的问题初始化

Guru**** 2872500 points

Other Parts Discussed in Thread: SYSCONFIG

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1639769/am6442-problem-initialization-of-spi-multi-controller-with-more-than-3-spi-peripherals

器件型号: AM6442
主题: SysConfig 中讨论的其他器件

你(们)好

当我尝试使用 SysConfig (11_00_00_18) 在 SPI0 上分配 3 个以上的外设(芯片选择)时、驱动程序初始化 (Drivers_mcspiOpen) 将失败。
代码在 R5_0_0 内核上运行。 SPI 实例配置为“多控制器“、具有 4 个 MCSPI 通道配置

故障发生在 UDMA_rmAllocTxCh 中、对于所有 SPI 接口、该故障似乎限制为 3 个 DMA-TX 通道。 它看起来会尝试为每个 CS 分配一个通道。

不确定 DMA-TX-channels 在这种情况下的含义、但我不知道为什么每个 SPI 实例需要多个 DMA 通道用于 TX、1 个 DMA 通道用于 Rx。

出现此故障的原因是什么? 我在 SysConfig 中配置的 SPI 是否有误?

 

此致、

Mathias