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.
您好,香榭丽舍
客户想要为 sysconfig 上的 SPI 配置 DMA。
目标是通过 sysconfig 生成此文件: DMA_configAddresses(Dma_CH1_base,(uint16_t *)(mySPI0_Base + SPI_O_TXBUF),(const void *) spapierSpace0);
如何修复以下所示的错误?:
是否可以通过“链接到外围设备”选项执行此操作,或者需要输入准确的地址?
谢谢
塔马斯
必须在 SPI 配置中添加 DMA!
因此,在 SPI 中,选择使用 RX 和 TX 的 DMA,然后它将自动使用该功能并找出写入/读取地址。