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.

[参考译文] TMS320F28377D:SPI 在 CPU2中无法正常工作

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1435927/tms320f28377d-spi-does-not-work-in-cpu2

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

工具与软件:

您好!

当我在 CPU1中使用 SPIA 时、没有问题。 今天、我将 SPIA 移至 CPU2、然后 在 SPI_readDataBlockingNonFIFO (SPI_A_BASE)函数上遇到阻止错误。

初始化代码 由 SysConfig 工具自动生成。

SPIA 配置为主站、并在读取之前在 SPI_writeDataBlockingNonFIFO (SPI_A_BASE、DATA << 8)函数中生成 SPI_clk。 我不明白为什么 SPI 主器件被阻止。 让我知道任何线索。

此致、