lpc1768 adc power down problem

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 18, 2016 by lpcware
Content originally posted in LPCWare by unknownobj on Sun Jun 12 18:21:59 MST 2016
hi, all

i am working on lpc1768 adc now, and the code to do the polling of adc works.
and then i want to use the power down of adc to minimize the current,
so i set the PDN bit(ADC_PowerDownCmd) before the adc function and clear it after adc.
i fount that the ADC_ChannelGetStatus function returns zero after ADC_StartCmd.

why? how can i let adc go to power down mode and repower it up before adc sampling?

any help is appreciated.