Hi all:
I am using C6678. In the example project ( qmInfraExampleProject ), it shows how to transfer data with the PktDMA in a signle core. I want to know how to transfer data from coreA to coreB.
Haifei,
I want to make sure we understand what you're looking for. Are you asking to specifically use Packet DMA to transfer data between cores (i.e. CorePac 0 to CorePac 1) or just in general.
There are many ways that you can transfer data between cores. The main thing you need to keep in mind is to use the global address instead of the local address of the local L1 and L2 memories (i.e. for CorePac 0 you would use 0x10800000 for it's local L2 memory at address 0x00800000, and similarly it would be 0x118000000 for CorePac 1.) You can use Direct accesses (i.e. the CorePac 0 writes to CorePac1 using direct writes), you can use QDMA or EDMA, you can Packet DMA, you can even use peripherals such as the SRIO to do the transfers. There are many examples, but the one key area is to use the global addressing.
Best Regards,
Chad
------------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.