Needed help to configure High Speed ADC in DMA mode.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Needed help to configure High Speed ADC in DMA mode.

402 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by suhel on Mon May 26 21:54:43 MST 2014
Hi,

This is the requirement,

We are using LPC_4370 and want to use HS ADC in DMA mode. where on a HS ADC trigger DMA can do the transfer.

actually we want 1024 ADC samples and once the transfer of these samples is completed by DMA, we want to stop HSADC conversion.

Have not been able to find a good document which will provide information regarding how to configure the DMA and HSADC.

User manual also does not provide any information regarding HS ADC.

please provide if any example code or documentation which we can refer to .


Thanks.
Labels (1)
0 Kudos
2 Replies

364 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by suhel on Sun Jun 01 22:25:10 MST 2014
Hi drs,

Thanks for your reply.

But, sorry i could not find any such example in the v2.12 platform driver pack.

As part of the package this is what i could find, related to DMA and HSADC,
1. periph_hsadc ==> uses HSADC is interrupt mode.
2. periph_dma_timertrig ==> uses timer to create a software trigger for DMA.

Please provide the example project name, that would be really helpful. Thanks in advance.

Regards,
Suhel
0 Kudos

364 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by drs on Fri May 30 13:39:38 MST 2014
There is an example that uses DMA with the HSADC on this part in the v2.12 LPCOpen Platform driver pack: http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc43xx-packages
0 Kudos