I need to configure GPIO02 as wake up pin

Hi JerryChang,
This way by using jumper to BUTTON_PWR_ON + GND I can enable suspend and resume the system.
But it take a time duration of 20s to wake system from sleep mode.
Is there any way to reduce the time duration by making changing in the device tree?

hello Merry,

could you please gather the bootloader logs for reference?
in addition, what’s your expected consuming time to wake from suspend.

Hi JerryChang,
Here is the logs for reference.


Now it takes around 20s to wake from suspend. Our expected consuming time to wake from suspend is 1 to 2s.

hello Merry,

it appears lots of i2c transfer timeout failures. it usually the regulator issue cause i2c communication failure. please review your driver implementation to resolve those errors.
besides,
we’ve also check the same on the DevKit, it takes around 2-3 seconds to wake-up device from suspend by using BUTTON_PWR_ON + GND.

Hi JerryChang,
Thanks a lot for the information.I resolved i2c transfer timeout failures by making changes in device tree.
Everything is working fine now.As you said ,it takes around 2-3 seconds to wake-up device from suspend.
Thanks for checking.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.