This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I have a low power application that normally runs in LPM3 and briely wakes every 10seconds to do some work. This has been operating fine and the LPM3 current consumption is approximately 3.6uA when in low power mode.
I have recently added a new function to the work section, that enables the ADC, runs a single conversion to determine the Vcc level on CH11 and then shuts down the ADC_12 module. However I include this new function the LPM3 current rises to about 160uA. So it would appear that I am not correctly shutting down the ADC_12 module.
The code I am using simply sets the ADC control registers back to thier reset state.
/* Disable the ADC module */
ADC12CTL0 = 0x0000;
ADC12CTL1 = 0x0000;
ADC12CTL2 = ADC12RES_2; // + ADC12TCOFF ???
Does anyone know of anything further that needs to be done to completely shut down the ADC12 module?
Regards
Roy
Hi,
That is spot on. Changed code to clear the ENC bit first and now it all operates fine. Many Thanks!!
**Attention** This is a public forum