hi guys: My platform is DM365+DVSDK4.0. I need to output video through SPI2, so I change the SPI driver( using EDMA) as slave device and modify the "encode" demo. But I found some interesting things. 1、I wrote some data transfer test program through SPI2 with EDMA, and it seems OK. We used a DSP as SPI host to read the data through DM365. When DM365 runs without video encode, the data transfer OK. It was tested OK both under 10Mbps and 3Mbps SPI clock. 2、when I run the "encode" demo, and write the video data to SPI2 bus, the EDMA seems to be interrupted by others. For example, when I start SPI2's EDMA to transmit 4096 Bytes, the Host need to provide more than 4096byte clock, otherwise the EDMA may be stuck. It means when EDMA is transmitting data ,but interrupted by the video encode module, at the same time the SPI Host contineously provide clock and read data. At the end Host SPI stop but EDMA lost some clock to transmit other data and thus it is stuck. When the spi clock is 10Mbps, the error happens frequently. When using 3Mbps, the error become less. So I think it's the problem of priority of EDMA or the DDR throughput . What do you guys think ? could someone give some tips? Thanks!