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.

[参考译文] TMS320F28388D:内核之间共享 SPI

Guru**** 2391415 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1412263/tms320f28388d-sharing-spi-between-cores

器件型号:TMS320F28388D

工具与软件:

您好!

我希望能够从全部三个处理器(Core1、Core2和 CM)访问 SPI 总线。 这些示例都显示单核访问、我无法判断我们是否能够动态(以编程方式)切换所有权以访问外部器件。 这是可行的吗?

如果不是这样、那么允许其中一个处理器(例如 CM)控制 SPI 外设、那么我是否可以使用 DMA 间接访问外部器件? 这种方法类似于  dma_ex1_shared_periph_CPUx 示例。 虽然这种方法可行、但比仅协调共享 SPI 总线更麻烦。

感谢您的建议!