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.

c6455在dspbios中两个线程调用edma3冲突



您好,我在使用6455时遇到如下问题:在定时周期的数据采集处理流程中,200ms一个周期。周期的处理工作是采集100k*32个数据,处理,然后网络发送出去。6455的emif外接fpga,fpga里实现了一个fifo,adc采集的数据一旦到达一定数量4k*32,会中断dsp,在中断响应函数里,会发一个信号量给readfifo线程。readfifo线程实现就是等待信号量,信号量来了启动edma3搬运fifo的数据到ddr2,搬运完100k后,会发信号量给process线程。readfigfo在ddr内存里面开了两个缓冲区,buf1和buf2,采用乒乓的方式写数据。线程优先级是8。

process线程优先级6,没有readfifo高。process线程使用edma3把数据从ddr搬运到l2,然后处理。