Post Go back to editing

MAX32660 Deep Sleep Issue

Category: Software

Hi ADI's

One of my customers is developing using the MAX32660 and is having difficulties with Deep Sleep.

The Deep Sleep Mode entry code is as follows.

================================================================================

gpio_cfg_t wakeup_signal2 = {PPG_INT_PORT, PPG_INT_PIN, GPIO_FUNC_IN, GPIO_PAD_PULL_UP};
LP_EnableGPIOWakeup((gpio_cfg_t*)&wakeup_signal1);
LP_EnableGPIOWakeup((gpio_cfg_t*)&wakeup_signal2);
LP_EnableGPIOWakeup((gpio_cfg_t*)&gpio_cfg_i2c1);

Watchdog_Disable();

ICC_Disable();
LP_DisableBandGap();
LP_DisableVCorePORSignal();
LP_EnableRamRetReg();
LP_DisableBlockDetect();
LP_EnableFastWk();
LP_ClearWakeStatus();
LP_EnterDeepSleepMode();
/////////////////////////////////////////////////////
ICC_Enable();
LP_ClearWakeStatus();
LP_EnableBandGap();
LP_EnableVCorePORSignal();
LP_DisableRamRetReg();
Watchdog_Initialization();
Sleep_TimerCount_Clear();

===========================================================================================

It operates normally until it enters deep sleep mode, but there are devices that wake up normally and devices that do not.

Currently, about 600 have been tested, and about 80 of them do not wake up properly.

I would like to inquire about what issues may cause this problem in the MAX32660 and if there is a way to resolve them.

Alternatively, if you have sample code for the MAX32660's deep sleep mode operation, please provide it.

Thank you

  • Additional information regarding the inquiry confirmed to the customer

    It seems to wake-up, but it is judged not to be working.

    (Judging by current consumption of MAX32660)

    Products that are operating abnormally continue to operate abnormally, and external interrupts, including communication, do not work at all.

    Thank you