Hello everyone,
I'm using S32K344 and S32K3 RTD AUTOSAR 4.4 2.0.1 D2207.
I would like to program SPI with DMA (Transfer completed notification and allocation in the memory), but these two options (Global and Transfer) in DMA configurator are very confused for me:
How can I configure SPI + DMA? Is there a document/example for explain it?
Thanks,
MVR
Solved! Go to Solution.
Hello @MVR,
The transfer configuration of the DMA channels is done by the LPSPI driver if the DMA channels are linked in the LPSPI driver.
Just configure the Global DMAMUX source for each channel
And initialize the DMA driver in the source code (Dma_Ip_Init()).
Regards,
Daniel
Hello @MVR,
The transfer configuration of the DMA channels is done by the LPSPI driver if the DMA channels are linked in the LPSPI driver.
Just configure the Global DMAMUX source for each channel
And initialize the DMA driver in the source code (Dma_Ip_Init()).
Regards,
Daniel
Thanks Daniel,
It worked for me!