请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:MSPM0G3507 工具/软件:
如何在 MSPM0G3507开发板上实现串行端口传输 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.
工具/软件:
如何在 MSPM0G3507开发板上实现串行端口传输 DMA 和接收空闲中断?
您好、
请查看以下示例、了解使用 DMA 的 SPI 控制器: https://dev.ti.com/tirex/explore/node?node=A__AMcsroJBA2tS1rJ7SlwCVQ__MSPM0-SDK__a3PaaoK__LATEST
这应该为使用串行通信设置 DMA 提供良好的指南。
要处理空闲中断、您只需 在示例中所示的 ISR 中添加一个案例来处理" DL_SPI_IIDX_IDLE"。
此致、
Sam