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.

MSPM0L1106: Slow Wake Up with I2C

Part Number: MSPM0L1106

Hello,

We want to wake up the MSPM0L1106 from our I2C peripheral. We have tested SLEEP and STOP mode, and observed very slow wake up (~500ms).

Our I2C peripheral pulls down the SCL line for 300ms to turn on the MCU. How do we need to configure the MCU to achieve a fast wake up time?

Glitch filter is disabled and the fast wakeup for the port is enabled.

Thank you and best regards,

Ambroise

  • Really? Based on the datasheet it is much shorter than 500ms or 300ms as below

    How do you do the test?

  • Hello Gary,

    The test process is as follows:

     

    1. Coming from reset, MCU initializes
      1. Prepares all periphery to enter standby
      2. Saves state of wake up sources
        1. SCL line status (always high)
        2. GPIO 1 status (high / low)
        3. GPIO 2 status (high / low)
      3. Enables interrupt on all wake up source
      4. Enter STOP2 mode
    2. Wake up is triggered
      1. Wake up source is determined based on state saved before
      2. Machine wakes up and application starts

       

      When triggering the wake up with the I2C (SCL pulled low for 300ms), no wake up source is detected. This means that the wake up takes longer than 300ms.

      Could this be related to the glitch filtering?

      Best regards,

      Ambroise

    1. Dose the MSPM0L1106 act as slave, right?

      For the trigger source from low power mode, is that you have enable the I2C start condition interrupt to wake up the device, right?

      Could you share a simple code to reproduce this issue?

    2. Hello Gary,

      To answer your questions:

      • Is the MCU configured as I2C slave or master before sleep?
        The is configured as I2C master.
      • For the trigger source from low power mode do you have enabled the I2C start condition interrupt to wake up the device?
        The trigger source is a pin interrupt, not any I2C periphery interrupt. The pin is reconfigured before sleep.
      • Could you share a simple code to reproduce this issue?
        We are working on this.

      Thank you and best regards,
      Ambroise

    3. Can I do the test just that use a GPIO to wake up the device and send the data by I2C in the GPIO interrupt to see how long it is?