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.

LP-MSPM0G3507: COMP Sampled output mode - low power mode is mandatory?

Part Number: LP-MSPM0G3507

Tool/software:

Hello

Here is the sequence of Sampled output mode

1. In run/active mode, do all the necessary COMP configurations (DAC8 in sampled mode, COMP in ULP mode, etc.)

2. Set power policy to standby0 (DL_SYSCTL_setPowerPolicySTANDBY0)

3. Enable COMP (CTL1.EN bit to be written)

4. Wait for COMP OUTRDYIFG to be set (wait for bit number 3 in RIS register to be 1) 5. Enter Standby0 low power mode (using __WFI() function)

Is it mandatory to enter Standby0 mode? or optional?

Why does the sequence enter Standby0 mode?

Thank you

  • Hi Ryan,

    1. In run/active mode, do all the necessary COMP configurations (DAC8 in sampled mode, COMP in ULP mode, etc.)

    This is not necessary on RUN/ACTIVE mode, while you need configure it into sample/ULP mode before you entry the standby mode.

    2. Set power policy to standby0 (DL_SYSCTL_setPowerPolicySTANDBY0)

    3. Enable COMP (CTL1.EN bit to be written)

    4. Wait for COMP OUTRDYIFG to be set (wait for bit number 3 in RIS register to be 1) 5. Enter Standby0 low power mode (using __WFI() function)

    This is required.

    The WFI() is used to entry the low power mode. Others is the settting required for COMP to let it work in standby mode.

    B.R.

    Sal

  • Thank you Sal.

    I have one more question

    In this sequence, sampled output mode runs under standby0 mode

    Is it just for low power mode? or reduce noise?

  • Hi Ryan,

    It is for low power mode. Sample mode could let it periodically sampling and do comparison.

    B.R.

    Sal