Power Manager Configuration#
This section describes how to configure the Power Manager Service for Silicon Labs SiWx917x devices. It explains the purpose and use of each configuration file, including default settings, advanced options, and wake-up source parameters. These files are typically managed through the Universal Configurator (UC), but you can also edit them manually for advanced use cases.
Configuration Files Overview#
The Power Manager Service relies on three key configuration files to define power states, peripheral behavior, and wake-up sources:
sl_si91x_power_manager_config_1.h: Primary configuration.sl_si91x_power_manager_advance_config_1.h: Advanced configuration.sl_si91x_power_manager_wakeup_source_config.h: Wake-up source configuration.
Each file plays a distinct role in managing power efficiency and system responsiveness. The following sections describe each file in detail.
Primary Configuration File#
sl_si91x_power_manager_config_1.h
This file provides the main configuration for the Power Manager Service. It defines:
The default power state and clock profile.
Enable or disable settings for High-Performance (HP), Ultra-Low-Power (ULP), and Ultra-Ultra-Low-Power (UULP) peripherals using power gates.
RAM retention settings, either by size (in kilobytes) or by selecting specific RAM banks.
At run time, this configuration generates the following structures:
sl_power_peripheral_t.sl_power_ram_retention_config_t.
These structures are used to apply the configured power settings during system operation.
Advanced Configuration File#
sl_si91x_power_manager_advance_config_1.h#
Use this file for finer control over power management compared to the primary configuration. It allows:
Conservative default settings for each peripheral (for example, disabling many peripherals by default).
Separate presets for RAM retention.
This configuration is ideal when you need tighter control over power consumption or want to minimize baseline power usage.
Wake-up Source Configuration File#
sl_si91x_power_manager_wakeup_source_config.h#
This file configures wake-up sources for low-power states such as Power Save 1 (PS1), Standby, and Sleep. It enables and fine-tunes the following wake-up mechanisms:
Calendar and alarm
Deep Sleep Timer (DST)
General-Purpose Input/Output (GPIO), with per-pin polarity settings
Wireless wake-ups
You can also configure timing parameters such as:
Alarm period
DST timeout
Per-source enable flags
These settings determine which events can wake the system from low-power states.
Note: When you use the Universal Configurator (UC), these configuration headers are updated automatically based on your selections. Manual editing is only necessary if you bypass UC or require advanced customization.