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.
Hi Tom Christiansen
Unfortunately, no, this feature is not available in the S32K1xx device family, when you disable the Minor loop mapping, it is disabled in all the channels. As long as you are not able to differentiate when the ADC transfer or the SPI transfer will occur, you cannot enable it and disable it. Sorry for the inconveniences that this may cause you.
Best regards
Jorge Alcala