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.
We are planning to use AM64x MPU in our productions in future. And when I use the DMA function of AM64x, I have one questions ask you
When the SysConfig version is 1.13.0, the DMA configuration is normal shown as follows:
However, when I change the SysConfig version to 1.20.0, the DMA configuration looks abnormal shown as follows:
Like you see, the PKTDMA_0 becomes grey, and when I debug, it shows
So I guess failed reason is that PKTDMA_0 becomes grey. So can you explain why it becomes grey?
您好,感谢回复,分享一下使用上的细节
1. 第一次使用:8.6 MCU+SDK版本,1.14.0的syscfg版本,TI Clang v2.1.2.LTS版本的编译器,配置了三个UART,前两个启用了PKTDMA,第三个没有启用DMA,运行正常,且配置如下:
2. 第二次使用:升级到10.0 MCU+SDK版本,1.20.0的syscfg版本,TI Clang v2.1.2.LTS版本的编译器,跟第一次是同样的程序,但不能正常运行,配置如下:
但此时程序不能正常运行,debug的时候卡在了这一步,如下图所示:
3. 第三次使用,直接在10.0 MCU+SDK版本,1.20.0的syscfg版本的例程上添加上述功能,同样使用TI Clang v2.1.2.LTS版本的编译器,配置了两个UART并启用PKTDMA,与此同时,还启用了另外一个BCDMA,配置如下:
此时程序也不能正常运行,debug的时候也卡在UART_open函数,但是console窗口并没有输出字符,所以可能是UART_open的不同位置,如下图所示:
综上,是编译器的问题?我自己使用的问题?还是有其他问题?
您好,
同时配置 BCDMA 和 PKTDMA是没有问题,请分享示例项目。
对于 UART 外设,应该使用 PKTDMA,并且从内存到内存复制,然后需要使用 BCDMA。
另外,有多少外设在应用程序中使用 DMA ?PKTDMA 使用的外围设备有哪些?