Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.
CC3200 Sleep Application
Sleep is one of the low power modes supported by the CC3200 device. There are various options available to select the module to be active during a low power mode by appropriately configuring the designated registers of the PRCM module and thereby causing an exit from the low power mode based on activity on the chosen active module. The clock to the other modules, that are not chosen to be active, get disabled.
The various modules that can be clock gated (enabled/disabled) are:
Also activity on the WiFi network triggered by the NWP can also be chosen as a cause for the wakeup.
The objective of this application is to showcase the sleep power mode supported by the CC3200 device using two of the modules.
The modules chosen in this example are:
- WatchDog Timer based Sleep
- General Purpose Timer (GPT) based Sleep
The device enters the low power mode (sleep) on executing the wifi instructions. Also there are some pre-requisite settings to be performed before the device enters the low power mode.
Source Files briefly explained
- gpt_if - APIs to configure the GPT as a one shot timer with specified timeout.
- pinmux - Pinmux configurations as required by the application.
- main - Main file that showcases the sleep functionality using the WDT and GPT modules by invoking the corresponding APIs.
- uart_if - To display status information over the UART
- wdt_if - Setup the watchdog timer with the timeout value.
Note: It is recommended that the application be tested by flashing the .bin file onto the serial flash on LaunchPad only. The IAR and CCS debuggers will disconnect on entering low power modes and cannot be used for subsequent debug.
- Setup a serial communication application (HyperTerminal/TeraTerm). For detail info visit Terminal setup
On the host PC. The settings are:
- Port: enumerated COM port
- Baud rate: 115200
- Data: 8 bit
- Parity: None
- Stop: 1 bit
- Flow control: None
- Run the reference application (Flashing the bin/IAR/CCS).
- Observe the status messages on the host over serial port to understand the sequence of operations performed by the application.
- Terminal snapshot when application runs on device: