Needed help to configure High Speed ADC in DMA mode.

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

Needed help to configure High Speed ADC in DMA mode.

419件の閲覧回数
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.
ラベル(1)
0 件の賞賛
2 返答(返信)

381件の閲覧回数
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 件の賞賛

381件の閲覧回数
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 件の賞賛