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.

[参考译文] AM625-Q1:在 CCS 中编译时与使用 makefile 编译时、DMA 代码的行为有所不同

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1515724/am625-q1-dma-code-behaving-differently-when-compiled-in-ccs-vs-with-makefile

器件型号:AM625-Q1

工具/软件:

我修改了 mcspi_performance_8bit、以便它使用 DMA 充当从器件。 使用 CCS (v12.8.1)编译和运行时、代码运行良好、但在使用 SDK 的 makefile 工程中编译(我使用版本11.0.0.16、但更改为较旧的 SDK (10.01)没有任何帮助)时、SPI 器件似乎可以正常工作、但在检查 RAM 中的数据时、它没有更新。

有什么想法可能导致这种情况? 附加了更新后的 syscfg 和 c 代码(在 main 中、将 mcspi_performance_main (NULL);替换为 mcspi_slave_test (NULL);)。  

e2e.ti.com/.../example.sys.cfge2e.ti.com/.../1106.mcspi_5F00_slave_5F00_test.c

PS: 我必须将 example.syscfg 重命名为 example.sys.cfg、因为该文件不会上传其他文件。