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.

C6657 memory access priority of CPU vs. EDMA3

Expert 2875 points

Hi,

What and where is the register settings for memory access priority for CPU vs EDMA3?

I think my system give CPU higher priority in memory access.  I like to set EDMA3 to have higher priority.

Thank you.

Regards,

Steve

  • Steve,A local access is a direct DSP access to L1D, L1P, and L2.
    L1D/L1P (via CPUARBD), memory accesses made directly in L2.
    EMC blocks (via the CPUARBU and CPUARBE registers) use the priority(PRI).
    The default value of PRI is set so that the DSP transactions are the second to highest in the system.
    The DSP priority is run-time programmable, although you are expected to initialize the CPUARB registers at system initialization.
    On the otherhand, a global access is initiated by a DMA or by other system masters.
    Here,the EDMA transfers programmed by the DSP count as global accesses.
    To find more detailed information for priority, refer the section "2.14 EDMA3 Prioritization" and "4.2.1.8 Queue Priority Register (QUEPRI)" in the Keystone EDMA3 Controller user guide.
    The below wiki will be useful for EDMA
    http://processors.wiki.ti.com/index.php/EDMA3
    http://processors.wiki.ti.com/index.php/Programming_EDMA_without_EDMA3LLD_package
  • Hi Pubesh,

    I cannot find CPUARB D/E registers.  They are not in SPRS814A.pdf and SPRUGS5A.pdf.  Could they have other names?

    Thank you.

    Regards,

    Steve

  • Steve,
    Please find the more details for CPUARB D/E registers in the TMS320C66x DSP CorePac User Guide(SPRUGW0C).