请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:RM57L843 您好!
我已经将 DMA 通道配置为从 SPI 接收数据到存储器、每帧一个元素、帧数为8、我希望在接收完所有帧后获得中断、
请建议我、如何继续、
谢谢、
Shantanu S.
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.
您好!
我已经将 DMA 通道配置为从 SPI 接收数据到存储器、每帧一个元素、帧数为8、我希望在接收完所有帧后获得中断、
请建议我、如何继续、
谢谢、
Shantanu S.
您好 Shantanu,
我很抱歉耽误你的答复。 自从德克萨斯州恶劣的天气以来、我遇到了断电和互联网中断。
DMA 可被配置成在多种传输条件下产生中断:
您可以使用 BTC 中断:
/*传输完成后为接收启用块传输完成中断*/
dmaEnableInterrupt (DMA_CH0、BTC、DMA_INTA);
void dmaGroupA 通知(dmaInterrupt_t inttype、uint32通道)
{
if (通道=0) //MibsPI1 RX
gioSetBit (gioPORTA、0x0、0x1); //在接收8个帧(1个块)后设置 GIOA[0]
}