Hi,
我看了一些有关ping pong缓冲的介绍,其大致的步骤是:CPU处理ping buffer中的数据,同时EDMA在传输数据到pong buffer;CPU处理完ping buffer中的数据后,等待EDMA传输完成;然后CPU切换到处理pong buffer中的数据,而EDMA开始传输数据到ping buffer。
我的问题是,如何保证CPU处理一个buffer的时间少于EDMA传输一个buffer的时间,需要先测试好吗?
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.