Hello,
I need to trigger DMA channel y when channel x is exhausted.
I use the example project lpcxpresso54628_dma_channel_chain for a test and UM10912 Rev 2.4
The function should be:
Ch X start the transfer with a software trigger (later adc) and transfer a uint32_t (4Byte) value. After three triggers (12Byte) Ch x is exhausted, sets a trigger (for Ch y) and reload the ch x descriptor.
Ch y transfer uint32_t (4Byte) after two trigger from Ch x the Ch y is also exhausted and reload the ch y descriptor.
I not able implement this function.
My example project never triggers ch y when ch x is exhausted.
Or when I comment in Line 90 INPUTMUX->DMA_OTRIG_INMUX[0] = 0; //ch0 is always triggers ch y when I trigger ch x.
I don’t get it what do I have to set let it word properly.
How do I have to set the DMA?