lpcware

LPCOpen 2.16v + LPC4337 + ADC + DMA triggered by peripheral

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 18, 2016 by lpcware
Content originally posted in LPCWare by rob.konieczny on Fri Apr 01 16:13:06 MST 2016
Hi,
Can someone give some example how to configure ADC and DMA in the way that DMA transfer is triggered by peripheral (GPDMA_TRANSFERTYPE_P2M_CONTROLLER_PERIPHERAL)?
I've tried on many ways but all the time with the same result - DMA triggered once, operates without waiting for next trigger from ADC. Like it would be GPDMA_TRANSFERTYPE_P2M_CONTROLLER_DMA.
Similar problem described here DMA ADC sync.

Thanks and regards,
Robert

Outcomes