I'm having problems figuring out what some of the configuration parameters for DMA controller mean. Could I get some help here? The supplied documentation is not very clear. I'm modifying the PingPong example which will be moving data between peripheral and memory, instead of memory to memory.
I'm modifying the dmaConfig structure, but I'm running into some problems because I'm not sure what some of the parameters are doing and they don't seem to map back to the DMA configuration registers as described in the DMA PRG. Can someone clarify these elements?
dmaConfig.trigger: Is this the same as the Sync bit in the Transfer Control register?
dmaConfig.chanDir: What does this mean? The api_reference.chm doc simply says reading or writing to a device. Every DMA transfer contains a src read and dst write. Does device mean peripheral? This is not at all clear.
dmaConfig.trfType: The options are MEMORY or IO_MEMORY. I am assuming that IO means a peripheral, but not sure. Can someone verify?
If you every have a need to make big revisions to the CSL could you please make definitions more detailed and clearer. Also,make CSL configuration options more closely match the PRG wording so making modifications wouldn't be so time consuming.
Thanks.