Our chip is 14682. We are using a GPIO pin to wake up the chip from hibernation. To save power, we set the wake-up pin as input(not as other demos, set it as input_pullup).
hw_gpio_configure_pin(WKUP_PORT, WKUP_PIN, HW_GPIO_MODE_INPUT, HW_GPIO_FUNC_GPIO, 0);
hw_wkup_configure_pin(WKUP_PORT, WKUP_PIN, 1, HW_WKUP_PIN_STATE_HIGH);
Before going to sleep:
We can wkup within 1-2 mins after hibernation, but if 5 mins or longer past, it cannot wake up again. We notice that V18 and V18P drops down gradually after entering hibernation. Is that the possible reason?
We use LR44, a non-rechargeable 1.5V coin battery for all the power supply(involving regulator to convert into 1.8V). But we don't set the battery type in config(thus it should be the default setting). Is that another possible reason? If so, how should we set to ensure it can wake up even after a long time?