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.

c6748 upp UORI错误

Other Parts Discussed in Thread: TMS320C6748

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

  • Shine:

    按您说的方式修改后,在Debug模式下已经没有出现这个错误了。但我将.out文件通过AISGEN生成.bin固化到flash后,重新上电,还是会出现UORI错误。我输出了UPP的System Priority的值,确实是已经调高了的。我也对比了AISgen中的配置和GEL中的配置是一样的。像这样的情况,一般会因为什么原因导致的呢??

  • 建议用仿真器跟踪一下代码,比较一下寄存器配置和在线调试时是否一样?
    processors.wiki.ti.com/.../Debugging_Boot_Issues