This application note is for anyone who uses low-power support for an application running on one of the following kits: 1. CYW943907AEVAL1F 2. CYW954907AEVAL1F Application note Please read the sections “Important notice” and “Warnings” at the end of this document 002-37426 Rev. ** www.infineon.com 2023-05-11...
AIROC™ CYW9x907 Wi-Fi connectivity processor low-power modes Introduction Introduction The AIROC™ CYW9x907 Wi-Fi connectivity processor supports all rates specified in the IEEE 802.11 b/g/n specifications and includes an Arm® Cortex®-based applications processor, a single-stream IEEE 802.11n MAC/baseband/radio, a dual-band (2.4 GHz/5 GHz) transmit power amplifier (PA), and a receive low noise amplifier (LNA).
AIROC™ CYW9x907 Wi-Fi connectivity processor low-power modes Low-power mode features Low-power mode features This MCU platform has two CPUs: 1. Application processor (APP CPU) 2. Wireless LAN processor (WLAN CPU) Power modes for both the CPUs are independent and can be used together or separately. Application processor (APP CPU) The APP CPU runs the user application.
AIROC™ CYW9x907 Wi-Fi connectivity processor low-power modes APP CPU low-power mode settings APP CPU low-power mode settings The setting for the APP CPU low-power mode is in <app_root_directory>/bsps/ TARGET_APP_CYW943907AEVAL1F/cybsp.h. Table 1 APP CPU low-power settings Define Notes CY_CFG_PWR_MODE_ACTIVE Active mode – do not go into any sleep mode CY_CFG_PWR_MODE_SLEEP Sleep mode –...
Page 6
AIROC™ CYW9x907 Wi-Fi connectivity processor low-power modes APP CPU low-power mode settings Table 2 Hibernation wakeup source Define Notes CYHAL_SYSPM_HIBERNATE_WDT Configures the WDT interrupt as the wakeup source. This is the only wakeup source currently supported. Code Listing 2 Calling hibernate from main() #include "cyhal_syspm.h"...
AIROC™ CYW9x907 Wi-Fi connectivity processor low-power modes WLAN CPU low-power modes WLAN CPU low-power modes The WLAN CPU runs a fixed firmware image that is loaded at power-up of the device. The WLAN CPU runs independently of the APP CPU and talks to the APP CPU through a dedicated M2M DMA channel. The application running on the APP CPU can send commands to the WLAN CPU that allows the WLAN CPU to determine when to go into a low-power mode.
AIROC™ CYW9x907 Wi-Fi connectivity processor low-power modes HAL functions HAL functions The Hardware Abstraction Layer (HAL) API provides functions for applications to affect the power mode of the device. See Hardware Abstraction Layer power management API for more information. When Sleep or DeepSleep occurs, the code hits an Arm® Cortex®-R4 “Stop and Wait for Interrupt” (SWI) instruction.
AIROC™ CYW9x907 Wi-Fi connectivity processor low-power modes HAL functions 5.1.2 Single-threaded application using tickless Sleep or DeepSleep The following code listings show the steps to use the low-power timer (lptimer) and the tickless sleep functions to enable the APP CPU to enter Sleep or DeepSleep mode for a specified time. The APP CPU Sleep mode may end earlier than the specified time due to an interrupt.
AIROC™ CYW9x907 Wi-Fi connectivity processor low-power modes HAL functions Multi-threaded applications In multi-threaded applications, the user application does not call the sleep functions directly. They are called from the RTOS in the idle task. Code Listing 10 Code Listing 11 show how to enable the RTOS to call Sleep and DeepSleep mode.