Part Number: MSPM0L1306
Hello,
I use the comparator to wakeup the MSPM0L1306 from standby mode 1. It works but the power consumption during the sleep is higher than expected.
I tried to disable the comparator before going to standby 1 : the comparator consume approximately 22 uA when it is enabled during the sleep mode.
The component datasheet indicates that the comparator current is 0.8 uA typical (ULP mode with DAC).
static DL_COMP_Config COMP_0Config_STR = {
.channelEnable = DL_COMP_ENABLE_CHANNEL_POS,
.mode = DL_COMP_MODE_ULP,
.negChannel = DL_COMP_IMSEL_CHANNEL_0,
.posChannel = DL_COMP_IPSEL_CHANNEL_0,
.hysteresis = DL_COMP_HYSTERESIS_NONE,
.polarity = DL_COMP_POLARITY_NON_INV
};
static const DL_COMP_RefVoltageConfig cCOMP_0VRefConfig_STR = {
.mode = DL_COMP_REF_MODE_STATIC,
.source = DL_COMP_REF_SOURCE_VDDA_DAC,
.terminalSelect = DL_COMP_REF_TERMINAL_SELECT_NEG,
.controlSelect = DL_COMP_DAC_CONTROL_SW,
.inputSelect = DL_COMP_DAC_INPUT_DACCODE0
};
Do you have any idea of the cause of this current leakage ?
The comparator output doesn't change during the current measure. Input is low, without noisy signal.
I use the positive input on IO26, negative input is the voltage from DAC, output pin is not enabled.
Regards
