Hello,
My goal is start/stop DMA transfers via software control. From the main loop I would like to start/stop DMA transfers.
The version of the SDK that I am using is v.3.04.000 and the example project is spis_dma. The reason for using this version is that I am working with legacy code that expects this version of the SDK. I am not planning on using the latest SDK and do not plan to.
From my understanding, I need to configure the DMA to be software trigger driven. From the UM10850 14.7.1 doc:
I am unsure if I am configuring the DMA to be software driven.
Also, I don’t know what function/register I should call to start/stop the transfer. I’m calling the Chip_DMA_SetTrigChannel() function from the main loop, I don’t think I’m using this function correctly.
All that I am trying to do is set a DMA transfer once a second from the main loop via a software trigger. I could really use some help on how to do this.
The changes that I made to spis_dma.c
Any help on how to set up a software DMA trigger would be appreciated.
Thanks!
Hi @rhsalced
I have already replied to this link.
Re: LPC54102 DMA Software Trigger - NXP Community
BR
Harry