AnsweredAssumed Answered

Using Vybrid (VF65GS10) eDMA ‘s Scatter/gather feature

Question asked by rizwan on May 30, 2013
Latest reply on Jun 4, 2013 by Ioseph Martinez Pelayo

Hello,

 

We have tried enabling eDMA scatter/gather operation but it doesn’t seem to work properly. We do the following configurations:

 

  1. Setup descriptor in external SDRAM (0x8000 0000) in exactly the same way as in eDMA regisers. I mean same offsets are assumed. 32-bit aligned memory is used.
  2. Enable scatter/gather operation by setting TCDn_CSR[ESG] = 1
  3. Store memory address of descriptor setup in step.1 in the current descriptor’s DMAx_TCDn_DLASTSGA register and start the transfer.

 

However, only the first descriptor setup in eDMA registers is processed and after the first major loop completes, channel descriptor is not reloaded properly from memory (strange garbage values are loaded into registers) and nothing happens afterwards (no interrupts, transfer etc.).

 

Please help us if there is any solution to this problem.

 

Thanks,

Rizwan

 

Outcomes