LPC55S69 ADC to DMA using a HW Trigger

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC55S69 ADC to DMA using a HW Trigger

232 Views
Contributor I

Hello,

I am using the LPC55s69 Dev kit

I need to configure the ADC to be triggered from an SCT. and then the DMA to copy the data to RAM.

I am using the SDK 2.6.3. if there is a sample code it would be really appreciated.

I was able to use the sample code from Nxp and can trigger the adc by a software trigger, and request the dma to do the copy to ram

functions used to do the conversion and copy data:

DMA_StartTransfer( &g_DmaHandleStruct ); /* Enable the DMA every time for each transfer. */
LPADC_DoSoftwareTrigger( LPADC_BASE, 1U ); /* Trigger the ADC and start the conversion. */

whats needed:

use an SCT as a HW trigger and have the dma automatically copying data into a Ram buffer.

Regards,

Labels (1)
Tags (6)
0 Kudos
1 Reply

73 Views
Contributor I

Hi,

Did anyone found solution and configuration to above problem for Hw trigger ADC?

0 Kudos