Revision as of 12:20, 23 August 2022 by Registered User (→‎Introduction)

1. Introduction

The tiny low power manager module has been designed to facilitate the power optimization within an application.

tiny lpm overview.jpg

The application shall configure the LPM module to select the right low power mode compatible with his current state. When the application has no action to perform, it enters the Idle task which is used to execute the low power allowed by the LPM settings.

The module provides the capabilities to drive three different LPMMode:

  • Sleep mode: WFI or WFE mode where any incoming interrupt/event shall exit the mode.
  • Stop mode: this mode must be allowed by each part of the application according their HW restriction (for example during a DMA transfer STOP mode must be forbidden due to incompatibility between DMA and Stop mode)
  • Off mode: Default low power mode selected after the initialization, the exit of this mode is a platform reset and the application context shall be restored.

The timy lpm utility is divided in three layers :

  • Application: configure the LPMActor and call LPM enter mode function when no actions are required.
  • Tiny LPM services: API to configure LPMActor and enter le low power mode.
  • Tiny LPM IF: API to enter/exit each low power mode.

2. Example

3. Implementation

No categories assignedEdit