Rtos Tickless Mode; Additional Power Optimization Techniques - Infineon AIROC CYW43012 Manual

Low-power system design wi-fi & bluetooth combo chip and psoc 6 mcu
Table of Contents

Advertisement

Low-power system design with AIROC™ Wi-Fi & Bluetooth® combo
chip and PSoC™ 6 MCU
PSoC™ 6 MCU power optimization techniques
5.3

RTOS tickless mode

All RTOS requires a clock or a "tick" for timing and managing tasks. These ticks are usually small RTOS kernel
tasks that wake up periodically and update the RTOS tick count used by delays, timeouts, and other timing-
related tasks. Often, these ticks are configured in ms. This results in the CPU waking up often just to service the
tick task even if it is not running any useful tasks.
Applications that do not use delays or timeouts or use large delays need not wake up this often and can enter a
tickless mode provided by the platform. In tickless mode, the RTOS suspends the tick task and lets the CPU
enter a low-power state (Deep Sleep) for longer durations. This duration is typically determined by the time the
next task that depends on a delay needs to be triggered. If there are no tasks dependent on delays, the device
can remain in the low-power state indefinitely until an external event (such as a GPIO interrupt) wakes up the
device and triggers the task.
When delays are involved while entering tickless mode, a timer that is active in the System Deep Sleep state is
configured to generate an interrupt after the delay expires.
5.4

Additional power optimization techniques

See
AN219528
for additional power optimization techniques in PSoC™ 6 MCU.
Application note
28
002-27910 Rev. *C
2023-05-29

Advertisement

Table of Contents
loading

Table of Contents