Hi Sung-Uk,
just small remark below: :smileyhappy:
so called "mem mode" is not real low power mode, because
really i.MX28 is completely powered down, while state of its main
modules [really not all], CLKCTRL, PinCtrl are saved in DDR memory
[so called "context"]. From sect.3.6.2 "Suspend-To-RAM mode "
AN4199 Using the i.MX28 Power Management Unit and Battery Charger:
"In this mode, the i.MX28 is placed in the Power-Off state. The DRAM is placed in the Self-Refresh state,
and all the context and register values are stored in the DRAM to allow the device to wake up quickly on
resume. As the i.MX28 is in Power-Off state, the DC-DC converter is not active. Therefore, an external
power supply is needed for the DRAM. Only PSWITCH can be used to wake up the device from
Suspend-To-RAM mode."
Practical consequence from this solution is next: for example some device is
active after OS start-up. Then your application wisely decided to turn it off just before
entering "mem mode". However after exit from "mem mode" you will see that it is still
active and current is more, then just before entering "mem mode". This happened because
you should save in "context" state of this device. Exit from "mem mode" is cold start-up
event with restoring only data, which one saved in "context".
So suggestion to check what is saved in your "context", this depends on particular
application.
Best regards
chip