HI,您好:
我现在使用的TMS320C6748芯片,使用UPP 的I通道接收FPGA发送过来的数据,存放到DDR,然后使用EDMA将数据搬到L2中,接收一会后(可能很快)就会出现UORI错误。我想确认的是:是不是EDMA在搬移数据的过程中,导致UPP的DMA阻塞,然后出现溢出情况???像这样的情况应该怎么做可以较好的解决这个问题。
备注:
(1)单独的EDMA和单独的UPP都能够正常工作;
(2)在EDMA搬移过程中UPP有可能在接收数据的。
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.
HI,您好:
我现在使用的TMS320C6748芯片,使用UPP 的I通道接收FPGA发送过来的数据,存放到DDR,然后使用EDMA将数据搬到L2中,接收一会后(可能很快)就会出现UORI错误。我想确认的是:是不是EDMA在搬移数据的过程中,导致UPP的DMA阻塞,然后出现溢出情况???像这样的情况应该怎么做可以较好的解决这个问题。
备注:
(1)单独的EDMA和单独的UPP都能够正常工作;
(2)在EDMA搬移过程中UPP有可能在接收数据的。
请看一下下面TRM文档里对overflow的解释以及31.2.6.3 System Tuning Tips,和EDMA一起用时,把UPP的System Priority调高。
31.2.8.4 Underrun or Overflow (UOR) Event
This event occurs when the DMA channel fails to keep up with incoming or outgoing data on its associated interface channel. Typically, this error indicates that background system activity has interfered with normal operation of the peripheral. It does not occur simply when a channel is allowed to idle. After encountering this error, the uPP peripheral should be reset when this event occurs. This error should primarily occur when operating the uPP at high speed with significant system loading. To avoid this error, run the uPP at slower speeds or reduce background activity, such as non-uPP peripheral or DMA transactions. Additional tuning tips are given in Section 31.2.6.3.
www.ti.com/.../spruh79c.pdf