AM6231 A核spi怎么使用DMA呢?DMA的转移量多大呢?
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.
你好,我这边好像没有mcu_plus_sdk_am62x_08_06_00_18这个资料包,可以去哪里下载呢?另外还想请问一下按照这个方法使用的dma模式的SPI,dma的Buffer有多大呢?我这边想了解一下单次满Dma能传输多少字节的数据
可以到下面的网站下载mcu sdk。
https://www.ti.com/tool/download/MCU-PLUS-SDK-AM62X
DMA一次搬移的数据最大是64byte,可以看一下TRM文档。
https://www.ti.com/lit/ug/spruiv7b/spruiv7b.pdf
目的地址可以指定的。
可以参考C:\ti\mcu_plus_sdk_am62x_08_06_00_18\examples\drivers\mcspi\mcspi_loopback_dma例程
这个例程为啥没法编译呢?请问有相关的使用步骤吗
请看 TRM文档 11.1.3 DMSS Hardware/Software Interface Chapter 11
11.1.3.1 Data Buffers
The Buffer Length field of the packet/buffer descriptor indicates the number of valid data bytes in the buffer. There may be from 1 to 4M-1 valid data bytes in each buffer.