Hello,
I modified the sample application under:
${PDK_1_0_0_17}\packages\ti\csl\example\edma
I managed to build and run QDMA test with PSET settings given in the following code snipplet:
ITCCHEN = 0x0; TCCHEN = 0x0; ITCINTEN = 0x0; TCINTEN = 0x1;
TCC = 0x0; TCCMODE = 0x0; FWID = 0x0; STATIC = 0x0; SYNCDIM = 0x1; DAM
= 0x0; SAM = 0x0 */
paramSetup_pcie.option = CSL_EDMA3_OPT_MAKE(0,0,0,1,0,0,0,0,1,0,0);
paramSetup_pcie.aCntbCnt = CSL_EDMA3_CNT_MAKE(pcie_max_payload,
buff_size/pcie_max_payload);
paramSetup_pcie.srcDstBidx = CSL_EDMA3_BIDX_MAKE(pcie_max_payload,pcie_max_payload);
paramSetup_pcie.srcDstCidx = CSL_EDMA3_CIDX_MAKE(0,0);
paramSetup_pcie.cCnt = 1;
paramSetup_pcie.linkBcntrld = CSL_EDMA3_LINKBCNTRLD_MAKE(CSL_EDMA3_LINK_NULL,0);
paramSetup_pcie.srcAddr = (Uint32)srcAddr;
paramSetup_pcie.dstAddr = (Uint32)dstAddr;
This code block is taken from PCIe User Guide (SPRUGS6A). However, I have given the srcAddr and dstAddr over DDR3 in order to see whether DMA
transfers can be made succesfully.
What I want to do is, however, to replace srcAddr with PCIe start address of C6678 memory map since I want to transfer data from PCIe with the
TLP DBS (data burst size) of 128-bytes.
What I wonder is whether QDMA can be used for data transfer from PCIe using the mechanism given I have just described?
Regards,
Hakan