AnsweredAssumed Answered

DMA transfer on 2 channels, one needs minor loop mapping and the other doesn't

Question asked by Tom Christiansen on Aug 21, 2019
Latest reply on Aug 27, 2019 by Jorge Antonio Alcala Vazquez

Hello,

 

I have a few different DMA channels being used but to simplify my example:  one is triggered by the PDB to transfer ADC values and a second is connected to the SPI driver in the SDK.  The ADC configuration requires the minor loop mapping (EMLM) to be enabled but the call to LPSPI_DRV_SlaveTransfer disables the EMLM.  

 

Is it possible to have some channels use the minor loop mapping and others that don't without changing the enable before each transfer?  In my case the PDB triggers the DMA directly without an interrupt so I don't know how to turn it back on.  Similar when doing the DMA transfer for the SPI except to turn it off.

 

Thank you.

Outcomes