MSPM0L1227-Q1: How to enter the STANDBY1 mode.

Part Number: MSPM0L1227-Q1
Other Parts Discussed in Thread: SYSCONFIG, ENERGYTRACE

Ver
MCU M0L1227QRGZRQ1
Code Composer Studio  12.8.1
MSPM0 SDK 2.0.0.03
SysConfig 1.19.0
Compiler GNU 9.2.1

Hi Experts.

Our customer faced the issue when they tried to enter the STANDBY1 mode as using following code.

image.png

After executed DL_SYSCTL_setPowerPolicySTANDBY1(); , Program Counter is waiting at __WFI(); So. cusotmer thought it should be entered to STANDBY1 mode.

But they measured the current. The current was 2120uA. It should be around 1~2uA. It means that it doen't change to STANDBY1 mode. And customer thought that 2120uA is RUN mode. Because 2120uA = 106 uA/MHz * 20MHz(current clock speed is 20MHz). So Could you advice them the correct steps how to enter STANDBY1 mode.

image.png

image.png

And they checked the register as following. It seems there is no problem.

image.png

Could you check it and give them feedback ASAP?

Best regards,

Ito

 (5d80d4e3-7f44-4141-ac2a-1ee96be09ede)

  • Hi Ito,

    Could you please check:

    1. What is the hardware customer is using to measure power consumption? The launchpad or their customer board?

    2. How does customer measure the consumption? By EnergyTrace or by resistor?

    3. The 2mA power consumption could be the board consumption, or the power consumption by MCU peripherals, could you check whether customer has used UART or I2C, and whether the UART RX pin has been pullup?

    Best Regards,

    Pengfei

  • Hi Pengfei,

    Here is feedback from our customer.

    1. They are using custom board.

    2. They measured the actual power current with register physically.

    3.  They are using UART.

    UART RX was low, but we disabled UART/DMA which generated by SysConfig, it seems the statement moves to Standby. (waveform of SysOSC from CLKOUT was stopped).

    -> We think there is possibility that there are missing configuration of register for UART/DMA before statement moves to Standby mode. Could you consider this point as well.

    Best regards,

    Ito

  • Hi Ito,

    To get the similar standby mode power consumption as datasheet shows, we recommend to disable or reset the used peripherals before entering standby, and re-configure the peripherals after MCU is waked.

    For UART module, customer could use  DL_UART_Main_disablePower() to disable UART, and then apply DL_UART_Main_enablePower() + SYSCFG_DL_UART_0_init() after MCU is wakeup. Specifically, we need to at least make sure UART RX pin is pullup when MCU is in standby mode if UART is not disabled.

    Best Regards,

    Pengfei

  • Hi Pengfei,

    Thank you very much for your great help.

    Customer could archive the standby mode after disable UART power.

    Thanks a lots. Please close this thread.

    Best regards,

    Ito