824 views
in System Integration by
Reducing the power consumption is an important requirement for any kind of mobile / handheld / wearable device.
What steps are necessary in order to suspend and resume an Embedded Wizard UI application?

1 Answer

0 votes
by

In the following steps, it is assumed that the SDRAM content is kept while the CPU is in power-down mode. This  means, that the Embedded Wizard UI application itself still remains within the memory and all objects, all resources and all pointers are still valid when the system resumes.
Otherwise a complete shutdown/restart of the whole Embedded Wizard UI application would be necessary.
When the Embedded Wizard UI application should suspend, the following steps are necessary:

  • Stop the Embedded Wizard UI main loop
  • Stop the Embedded Wizard UI timer tick
  • Shut down the viewport - and optionally the framebuffer / CLUT
  • Make all necessary steps to power-down your hardware (e.g. switch off display, power down CPU,...)

When the Embedded Wizard UI application should resume, the following steps are necessary:

  • Make all necessary steps to power-up your hardware
  • Optionally: Create the framebuffer
  • Initialize the viewport and reload the CLUT in case of Index8 color format
  • Restart the Embedded Wizard UI timer tick
  • Force a complete screen refresh
  • Restart the Embedded Wizard UI main loop

Embedded Wizard Website | Privacy Policy | Imprint

...