AN0885: EFM8UB Low Energy USB Overview

Similar documents
EFM8 Busy Bee Family EFM8BB2-SLSTK2021A Quick Start Guide

EFM32 Happy Gecko Family EFM32HG-SLSTK3400A Quick-Start Guide

EFM32 Pearl Gecko Family QSG118: EFM32PG1 SLSTK3401A Quick- Start Guide

EFM8 Laser Bee Family QSG110: EFM8LB1-SLSTK2030A Quick Start Guide

QSG144: CP2615-EK2 Quick-Start Guide

EFM8 Universal Bee Family EFM8UB2 Errata

AN999: WT32i Current Consumption

CP2114 Family CP2114 Errata

QSG114: CPT007B SLEX8007A Kit Quick- Start Guide

QSG123: CP2102N Evaluation Kit Quick- Start Guide

AN888: EZR32 Simple TRX Application Quick Start Guide

AN976: CP2101/2/3/4/9 to CP2102N Porting Guide

QSG119: Wizard Gecko WSTK Quick-Start Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

QSG107: SLWSTK6101A Quick-Start Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

SMBus. Target Bootloader Firmware. Master Programmer Firmware. Figure 1. Firmware Update Setup

QSG159: EFM32TG11-SLSTK3301A Quick- Start Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Humidity/Temp/Optical EVB UG

Figure 1. CP2108 USB-to-Quad UART Bridge Controller Evaluation Board

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Translate HCSL to LVPECL, LVDS or CML levels Reduce Power Consumption Simplify BOM AVL. silabs.com Building a more connected world. Rev. 0.

AN888: EZR32 Quick Start Guide

Wireless Development Suite (WDS) is a software utility used to configure and test the Silicon Labs line of ISM band RFICs.

CP2103-EK CP2103 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

EFM32 EFM32GG11 Giant Gecko Family QSG149: EFM32GG11-SLSTK3701A Quick-Start Guide

CP2104-EK CP2104 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

AN125 INTEGRATING RAISONANCE 8051 TOOLS INTO THE S ILICON LABS IDE. 4. Configure the Tool Chain Integration Dialog. 1. Introduction. 2.

Date CET Initials Name Justification

QSG107: SLWSTK6101A/B Quick-Start Guide

C8051F411-EK C8051F411 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Kit Overview. 3. Evaluation Board Interface LCD User Interface

EFM8 Universal Bee Family EFM8UB1 Errata

UG294: CPT213B SLEXP8019A Kit User's Guide

UG254: CP2102N-MINIEK Kit User's Guide

CP2105-EK CP2105 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

Table 1. Kits Content. Qty Part Number Description. Si4010 Simplified Key Fob Demo Kit 868 MHz

C8051F36x-DK. C8051F36x DEVELOPMENT KIT USER S GUIDE. 1. Relevant Devices. 2. Kit Contents. 3. Hardware Setup Using a USB Debug Adapter

UG369: Wireless Xpress BGX13P SLEXP8027A Kit User's Guide

UG345: Si72xx Eval Kit User's Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

QSG153: Micrium s μc/probe Tool Quick- Start Guide

UG322: Isolated CAN Expansion Board User Guide

AN1106: Optimizing Jitter in 10G/40G Data Center Applications

Software Release Note

UG271: CP2615-EK2 User's Guide

AN1160: Project Collaboration with Simplicity Studio

The Si50122-Ax-EVB is used to evaluate the Si50122-Ax. Table 1 shows the device part number and corresponding evaluation board part number.

Figure 1. Traditional Biasing and Termination for LVPECL Output Buffers

QSG155: Using the Silicon Labs Dynamic Multiprotocol Demonstration Applications

QSG107: SLWSTK6101A/B Quick-Start Guide

EFR32 Mighty Gecko Family EFR32MG1 with Integrated Serial Flash Errata History

WT12 EVALUATION KIT DATA SHEET. Monday, 09 September Version 1.7

EFM8 Busy Bee EFM8BB1 Errata

The process also requires the use of the following files found in the Micriµm Quick Start Package for the FRDM-KL46Z:

µc/probe on the Freescale FRDM-KL05Z without an RTOS

UG313: Thunderboard Sense 2 Bluetooth Low Energy Demo User's Guide

Router-E and Router-E-PA Wireless Router PRODUCT MANUAL

Figure 1. Precision32 AppBuilder

UG274: Isolated USB Expansion Board User Guide

AN690. Si4010 DEVELOPMENT KIT QUICK-START GUIDE. 1. Purpose. 2. Kit Content. Table 1. Kit Content

AN1139: CP2615 I/O Protocol

AN116. Power Management Techniques and Calculation. Introduction. Key Points. Power Saving Methods. Reducing System Clock Frequency

AN0059.1: UART Flow Control

EFM32 Zero Gecko EFM32ZG Errata

BRD4300B Reference Manual MGM111 Mighty Gecko Module

AN1095: What to Do When the I2C Master Does Not Support Clock Stretching

Also available for purchase separately are socket daughter boards for the QFN-11 and QFN-10 packages.

UG365: GATT Configurator User s Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

UDP UPPI Card UG UDP UPPI CARD USER S GUIDE. 1. Introduction. Figure 1. UPPI Cards with and without Radio

8-Bit MCU C8051F85x/86x Errata

QSG126: Bluetooth Developer Studio Quick-Start Guide

Termination Options for Any-Frequency Si51x XOs, VCXOs

AN1143: Using Micrium OS with Silicon Labs Thread

C8051F00x/01x-DK C8051F00X/01X DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. 2. Hardware Setup using a USB Debug Adapter

Bluegiga WF111 Software Driver Release Notes

8-bit MCU Family C8051F93x/92x Errata

AN324 ADVANCED ENCRYPTION STANDARD RELEVANT DEVICES. 1. Introduction. 2. Implementation Potential Applications Firmware Organization

Date CET Initials Name Justification

USBXpress Family CP2102N Errata

Si1146 UVIRSlider2EK Demo Kit

USB Debug. Adapter USB DEBUG ADAPTER. J4 Silicon Laboratories. Stop Power. Run AC/DC. Adapter. Figure 1. Hardware Setup Using a USB Debug Adapter

AN0059.0: UART Flow Control

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

AN1117: Migrating the Zigbee HA Profile to Zigbee 3.0

UG352: Si5391A-A Evaluation Board User's Guide

2. Key Points. F93x F92x F91x F90x. Figure 1. C8051F93x-C8051F90x MCU Family Memory Size Options

TS9004 Demo Board FEATURES ORDERING INFORMATION

Date CET Initials Name Justification

AN719 PRECISION32 IDE AND APPBUILDER DETAILED TUTORIAL AND WALKTHROUGH. 1. Introduction. Figure 1. Precision32 IDE and AppBuilder Walkthrough Overview

EFR32MG13, EFR32BG13 & EFR32FG13 Revision C and Data Sheet Revision 1.0

QSG166: WF200 Wi-Fi Development Kit Quick Start Guide

AN1083: Creating and Using a Secure CoAP Connection with ARM s mbed TLS

UG366: Bluetooth Mesh Node Configuration User s Guide

AN1119: Using RAIL for Wireless M-Bus Applications with EFR32

ETRX3DVK Development Kit Quick-Start Guide

TS7001 Demo Board. A Micropower, 2-channel, ksps, Serial-Output 12-bit SAR ADC FEATURES

Transcription:

More USB peripherals are being connected to things with batteries or are powered from a battery. Systems are not just a guaranteed 100 ma any longer. MCUs with good power begin to look more attractive in the USB space, especially when those USB interface MCUs aren t the only element in the system. In one of these systems, most of the power is consumed just communicating over USB. n the EM8UB1 devices, Silicon Labs has implemented techniques to reduce the amount of power consumed by the USB module and system-level hooks that can reduce the overall power consumption of the entire device. This document discusses these features and how they can be leveraged to reduce system power consumption in a USB application. Note that this document assumes some familiarity with USB transfer types and terms. KEY PINTS Most of the energy in low energy USB systems is consumed in the USB communcation. The low energy USB features of the EM8UB1 Universal Bee family can dramatically reduce this USB energy consumption. The device can use low power modes when idle to further reduce device energy consumption. current Suspend S Idle RX Idle TX Idle S Idle RX Idle TX Idle t Current reduction silabs.com Smart. Connected. Energy-friendly. Rev. 0.1

Taking Advantage of Bus Idle Times 1. Taking Advantage of Bus Idle Times USB traffic is inherently bursty. ull-speed frames occur every millisecond, and the frame is shared amongst all the devices connected to the bus. rom a single end-node's perspective, this generally means that much of the frame will be spent talking to other devices. Normal USB devices stay fully operational during this entire frame, even if they aren't actively communicating on the bus. This device is idle for most of the frame Start of rame Interrupt Device 1 Interrupt Device 2 Control Packet Bulk Device 1 Bulk Device 1 Bulk Device 2 Bulk Device 2 Bulk Device 2 Bulk Device 2 igure 1.1. Example ull-speed USB rame current Suspend S Idle RX Idle TX Idle S Idle RX Idle TX Idle t igure 1.2. Example Standard ull-speed USB Device Energy Consumption Instead, the EM8UB1 Universal Bee devices use two mechanisms to reduce the overall energy consumed during standard USB bus traffic whenever the device USB transceiver is idle: Reducing transceiver energy consumption. Gating the clock to the USB peripheral. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 1

Taking Advantage of Bus Idle Times Additionally, the hardware has different options for when to move to a low-energy mode. The two options are: Move to a low-energy mode any time the bus is idle. Move to a low-energy state when NAKing an UT packet. A low-energy mode when the bus is idle saves the most energy in most systems. The second option of moving to a low-energy state when NAKing an UT packet is mostly intended for situations where the device is actively receiving lots of data from the host in a Bulk application and having to NAK a lot of packets. The hardware can select either one of these options, none, or both. As a result of these mechanisms, the EM8UB1 Universal Bee family can lower the overall energy consumption of the system. current Suspend S Idle RX Idle TX Idle S Idle RX Idle TX Idle t Current reduction igure 1.3. Example EM8UB1 Universal Bee ull-speed USB Energy Consumption silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 2

Bus-Loading Examples 2. Bus-Loading Examples The Low Energy USB features reduce more energy consumption the more the device is idle on the bus. This means that low transferrate USB transfer types like Interrupt transfers (i.e., HID) will conserve more energy with the Low Energy USB features enabled than high transfer-rate USB transfer types like Bulk transfers. 2.1 Bulk Transfers Bulk transfers are usually the least energy-friendly, as there is always activity when a device is engaged with the driver. Typically, the low-level bulk driver will just fill the bus with requests, and using up the bandwidth available as a Bulk endpoint means little to no energy savings. However, Bulk data transfers tends to be bursty, and the low-energy techniques help applications during times when the device is active while there is no traffic on the bus. This Bulk device is idle for this part of the frame Start of rame Control Packet igure 2.1. Example Bulk Device Traffic Enabling low-energy when NAKing UTs in the EM8UB1 USB transceiver makes gains in some lower-bandwidth Bulk out scenarios. Reducing IN data requests from the host will also have a positive impact on energy consumption as well. In other words, if the host sends requests for the device less frequently when a data stream isn't active, this will help reduce the device energy consumption with the transceiver low energy features enabled. In PC-based systems, however, it may not be possible to control the number of IN packets sent to the device from the application level, as it is controlled by low-level host USB drivers. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 3

Bus-Loading Examples 2.2 Isochronous Transfers The Low Energy USB benefit for Isochronous devices is potentially higher than Bulk devices. In this case, the energy savings will directly relate to the bandwidth used by the audio or video device. or example, a 16-bit 48 khz audio device supporting two channels (left and right) and playback only will require 192 bytes per ull-speed frame, or 3 packets. The device will be idle the rest of the frame and will be able to stay in a lower power mode. This Isochronous device is idle for most of the frame Start of rame Control Packet Isochronous Packet Isochronous Packet Isochronous Packet igure 2.2. Example Isochronous Device Traffic 2.3 Interrupt Transfers Interrupt transfers are the lowest bandwith of all the USB transfer types, with 64 bytes per millisecond in ull-speed systems. These types of transfers are therefore able to make the most use of the Low Energy USB features, since the device is idle most of the time in each frame. Reducing the USB host polling rate of the device and the number of bytes sent per packet may also help reduce energy consumption. This Interrupt device is idle for most of the frame Start of rame Control Packet Interrupt Packet igure 2.3. Example Interrupt Device Traffic silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 4

System-Level Savings 3. System-Level Savings In addition to the Low Energy USB features themselves, the EM8UB1 devices have additional ways to save power in the system. 3.1 scillator Management The USB oscillator is a high-frequency, precision oscillator that runs at 48 MHz. Using this oscillator only for USB in the system will reduce the overall energy consumption of the device, since the core accesses flash at a slower rate. This can save energy in systems that do not need the extra instructions per second when running on a faster clock to perform other tasks. 3.2 Power Mode Management If the core is not performing other tasks in between USB packets, the system can take advantage of the lower power modes available on the EM8UB1 devices to reduce system energy consumption. or example, the core can switch to Idle mode in the main loop to reduce the device current consumption by approximately 2 ma in between packets. This can be a significant percentage of the device or system current consumption. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 5

Low Energy USB Example 4. Low Energy USB Example The HID Joystick demo for the EM8UB1 devices demonstrates the Low Energy USB features discussed in this document. The example uses all three hardware features in the USB transceiver to reduce power consumption. In addition, the example switches to Idle mode running from the Low requency scillator (80 khz) in the main loop whenever it's not sampling the joystick or buttons (every 1 ms) to further reduce the device power consumption. Table 4.1. USB Joystick Current Consumption Comparison Low Energy USB Example Settings Switching to LSC0 in Main Loop Idle in Main Loop Current Consumption (ma) % Energy Consumed Compared to No Low- Energy ptions ff ff ff 9.34 ff ff n 7.08 75.8% ff n ff 4.7 50.3% ff n n 4.7 50.3% n ff ff 5.59 59.9% n ff n 3.94 42.2% n n ff 1.55 16.6% n n n 1.55 16.6% igure 4.1. Using Advanced Energy Monitoring (AEM) with the EM8UB1 USB Joystick Demo After downloading the latest version of Simplicity Studio and installing using the ull or 8-bit MCUs options: silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 6

Low Energy USB Example 1. Provide power to the board by connecting the DBG USB connector to the PC using the provided USB cable. 2. Move the switch to the AEM position. 3. Click the [Refresh detected hardware] button and select the EM8UB1 Universal Bee Starter Kit under [Detected Hardware]. 4. Click the [Demos] tile under [Tools] to load the available demos. 5. Click the [USB Joystick] demo and click [Start] to download and run the demo. To view and debug the source code for the USB Joystick demo: 1. Click the [Software Examples] tile under [Software and Kits]. 2. In the wizard, select the EM8UB1 Starter Kit and click [Next]. 3. Select the [USB Joystick] from the list under the [Demos] folder and click [Next]. 4. Click [inish]. 5. Click the [Debug] button in the IDE to build and download the code to the hardware. 6. Click the [Resume] button to start running the example. 7. Connect the device USB connector on the board to the PC. The board can now be used as a joystick or game pad on the PC. silabs.com Smart. Connected. Energy-friendly. Rev. 0.1 7

Simpilcity Studio ne-click access to MCU tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux! www.silabs.com/simplicity MCU Portfolio www.silabs.com/mcu SW/HW www.silabs.com/simplicity Quality www.silabs.com/quality Support and Community community.silabs.com Disclaimer Silicon Laboratories intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Laboratories products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Laboratories reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Laboratories shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products must not be used within any Life Support System without the specific written consent of Silicon Laboratories. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Laboratories products are generally not intended for military applications. Silicon Laboratories products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons. Trademark Information Silicon Laboratories Inc., Silicon Laboratories, Silicon Labs, SiLabs and the Silicon Labs logo, CMEMS, EM, EM32, ER, Energy Micro, Energy Micro logo and combinations thereof, "the world s most energy friendly microcontrollers", Ember, EZLink, EZMac, EZRadio, EZRadioPR, DSPLL, ISmodem, Precision32, ProSLIC, SiPHY, USBXpress and others are trademarks or registered trademarks of Silicon Laboratories Inc. ARM, CRTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 USA http://www.silabs.com