LP17xx ADC and DMA

Started by Richard August 4, 2010
Hi

I have ADC with burst setup (all 8 channel), where I plan to use DMA to transfer ADC register result into ADC_Result[8].

I have read the NXP application note about DMA being used to transfer memory into DAC and provide sinewave.

I have tried to setup ADC and DMA, but it did not work out. The ADC is sampling (via Keil Link-Pro and MC1700).

Can anyone have tried and tested code so I can take look into DMA control and configure setup and what is configuration required for ADC.

Thanks

An Engineer's Guide to the LPC2100 Series

Hi,
Check out the latest LPC1700 peripheral driver library code, there is an ADC DMA example in there.

http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip

Good luck!
Ken

--- In l..., "Richard" wrote:
>
> Hi
>
> I have ADC with burst setup (all 8 channel), where I plan to use DMA to transfer ADC register result into ADC_Result[8].
>
> I have read the NXP application note about DMA being used to transfer memory into DAC and provide sinewave.
>
> I have tried to setup ADC and DMA, but it did not work out. The ADC is sampling (via Keil Link-Pro and MC1700).
>
> Can anyone have tried and tested code so I can take look into DMA control and configure setup and what is configuration required for ADC.
>
> Thanks
>