Introduction
This example demonstrates the power profiling of WINC15x0 using SAMD21 as Host MCU. It demonstrates how switch to various low power modes of WINC and measure the power consumed
It uses the following hardware:
- the SAMD21 Xplained Pro.
- the WINC1500 on EXT1.
Main Files
- main.c : Configure and switch the WINC to various low power modes.
Usage
- Configure below code in the main.h for AP to be connected.
* #define MAIN_WLAN_SSID "DEMO_AP"
* #define MAIN_WLAN_PSK "12345678"
*
- Configure below code in the main.h for for configuring server information.
- Build the program and download it into the board.
- On the computer, open and configure a terminal application as the follows.
* Baud Rate : 115200
* Data : 8bit
* Parity bit : none
* Stop bit : 1bit
* Flow control : none
*
- Start the application.
- In the terminal window, the following text should appear:
* -- WINC1500 Power Profiling App --
* -- Compiled: xxx xx xxxx xx:xx:xx --
* *************** WINC1500 Power Modes Menu ***************
* Select a Test for WINC1500 Power profile measurement
* 1.Power Down mode
* 2.WINC1500 Deep Sleep Modes
* 22. Doze Mode
* 3. On_Transmit_Power Modes Datasheet Table 8.1
* 4. On_Receive_Power Mode Datasheet Table 8.1
* 5.WINC1500 Connection Profiles
* 6.Sample Test App STA mode
* 7.Sample Test App AP mode
* *********************************************************
*
- Warning
* Refer to the power profiling appnote and make sure the setup is as per
* the recommendation.
*
Compilation Information
This software was written for the GNU GCC compiler using Atmel Studio 7.0 Other compilers may or may not work.
Contact Information
For further information, visit Microchip.