LPC55S69 ADC to DMA using a HW Trigger

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55S69 ADC to DMA using a HW Trigger

1,278件の閲覧回数
mohamed_saber
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,

ラベル(1)
タグ(6)
0 件の賞賛
返信
1 返信

1,119件の閲覧回数
kulkar68
Contributor I

Hi,

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

0 件の賞賛
返信