lpc54628 adc value decaying issue

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

lpc54628 adc value decaying issue

376 Views
kuanweichi
Contributor I

I follow up the fsl driver to initialize lpc54628 adc. My vcc is 3.3 and vref is also 3.3. While I sampled a 1.8V, I got a 0x8B0 at first time. However, the second time I sampled, I've got a 0x892, and the third time 0x888, and so on decaying until zero.

I don't know what's going on.

But I find out that the phenomenon is resetable by POWER_EnablePD(kPDRUNCFG_PD_ADC0); and POWER_DisablePD(kPDRUNCFG_PD_ADC0);

Is any configuration I forgot?

I've try burst, single step, any config ,and the decaying still happened.

Labels (1)
Tags (3)
0 Kudos
0 Replies