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.

DMA Transfer on Local Addresses

Other Parts Discussed in Thread: TMS320C6670

Hello, i'm going through the EDMA3 examples under edma3_lld_02_11_05_02\examples. It can perform a successful DMA transfer within the L2 SRAM by converting the source and destination to global addresses( srcBuff1 = 0x10845380, dstBuff1 = 0x10845400). Since L2 is configured as all SRAM after device reset, the data transfered to the destination buffer is accessible by all the cores. I want to transfer data to the destination which is intended for that specific core and not accessible by other cores. I tried by giving the destn. addr. as a local address(dstBuff1 = 0x00845400) but the transfer failed. 
 I'm a beginner in using EDMA3 on TMS320C6670. Is it that I must change the L2 memory configuration using L2CFG register. Or am I missing something.

Regards-

Sud

  • Sud,

    If you want to transfer data to or from the internal memory of a CorePac, the target memory range must be configured as SRAM and must be accessed using the global address.

    If you want to prevent a CorePac from accessing another CorePac's internal memory, you will have to use the MPAX features to configure and enforce memory protection.

    Regards,
    RandyP