SPI用DMA进行读写 ,发现发送FLASH 写命令(能进入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.
不用DMA SPI flash 是可读可写的,因为我们需要提高flash 读写速度,所以用DMA。经测试写完命令后,写数据时候DMA没有产生中断。如果将写的命令数据一次DMA发,写产生不了DMA完成中断
请参考下面Local FAE写的SPI EDMA自环例程K1_STK_v1.1\SPI。
https://e2echina.ti.com/support/processors/f/processors-forum/47664/faq-keystone1#pi239031350=2