Hi all,
I have a problem of power cunsumption in VLPS mode. In the KL25 datasheet there is 16μA max for this mode and i have approximately 200μA.
The LPTimer module is enabled on the internal clock to 1kHz and this is LPTimer_ISR at 1sec that wakeup the micro.
Before going VLPS, oscillator is in FEE mode.
In STOP mode, is that the type of operation of the oscillator operates in the power consumption? I can not found in the doc, there is a note for WAIT mode, but nothing to the STOP mode.
Regards,
Eric
Solved! Go to Solution.
I had this line to stop the adc in stop mode:
SIM_SCGC6 &= ~SIM_SCGC6_ADC0_MASK; // disable ADC
but this is not sufficient, I added the following line to stop the adc
ADC0_CFG2 &= ~(ADC_CFG2_ADHSC_MASK | ADC_CFG2_ADACKEN_MASK);
I have now a correct current comsumption of 4µA in VLPS mode.
Regard the current consumption I would like to know if actually your device is working at 25C, because in the same spec is mentioned that current consumtion in VLPS mode at 105C will be 201μA.
About consumption in stop mode you will find in the same table that there is a IDD_STOP information, this consumption is generated because in stop mode the core does not execute anything but many other modules remain powered and working as well as memory.
Cheers,
Perla
-------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-------------------------------------------------------------------------------
I had this line to stop the adc in stop mode:
SIM_SCGC6 &= ~SIM_SCGC6_ADC0_MASK; // disable ADC
but this is not sufficient, I added the following line to stop the adc
ADC0_CFG2 &= ~(ADC_CFG2_ADHSC_MASK | ADC_CFG2_ADACKEN_MASK);
I have now a correct current comsumption of 4µA in VLPS mode.