...the world's most energy friendly microcontrollers USER MANUAL Starter Kit EFM32GG-STK3700 The EFM32 Giant Gecko Starter Kit is a feature rich platform for evaluation, prototyping and application development for the EFM32 Giant Gecko MCU family with the ARM Cortex-M4 CPU core. Main features: • Advanced Energy Monitoring provides real-time information about the energy consumption of an application or prototype design. • On-board debugger with the possiblity to debug external targets.
...the world's most energy friendly microcontrollers 1 Introduction 1.1 Description The EFM32GG-STK3700 is an excellent starting point to get familiar with the EFM32 Giant Gecko microcontrollers. The kit contains sensors and peripherals demonstrating some of the MCU's many capabilities. The kit can also serve as a starting point for application development. 1.2 Features • • • • • • • • • • • • • • EFM32GG990F1024 MCU with 1 MB Flash and 128 KB RAM.
...the world's most energy friendly microcontrollers 2 Kit Block Diagram An overview of the EFM32 Giant Gecko Starter Kit is shown in Figure 2.1 Figure 2.1. EFM32GG-STK3700 Block Diagram USB Mini- B Connector 8x 20 Segm ent LCD GPIO BOARD CONTROLLER DEBUG EXP Header UART LESENSE Light Sensor 32Mx 8 NAND Flash EFM32 Giant Gecko Microcontroller EBI LESENSE User Buttons & LEDs 2013-10-10 - t0014_0.21 USB OTG Connector 3 ACMP GPIO Device/ Host LC Sensor Touch Slider www.silabs.
...the world's most energy friendly microcontrollers 3 Kit Hardware Layout The layout of the EFM32 Giant Gecko Starter Kit is shown below. Figure 3.1. EFM32GG-STK3700 hardware layout 8x 20 Segm ent LCD 32MB NAND Flash BU Capacitor Am bient Light Sensor Debug Header USB Interface EFM32 Reset Ex pansion Header CR2032 Battery User Push- buttons LC Sensor Power Source Select User LEDs 2013-10-10 - t0014_0.21 EFM32 USB EFM32 Giant Gecko MCU 4 Touch Slider EFM32 Debug www.silabs.
...the world's most energy friendly microcontrollers 4 Power Supply and Reset 4.1 MCU Power Selection The EFM32 Giant Gecko MCU on the EFM32GG-STK3700 is designed to be powered by three different sources: • Through the on-board debugger. • Through the EFM32's own USB regulator. • By a 3V Battery. Selecting the power source is done with the slide switch in the lower left corner of the board. Figure Figure 4.1 shows how the different power sources can be selected with the slide switch.
...the world's most energy friendly microcontrollers 4.3 Backup Power Domain The kit contains a backup capacitor that can be used together with the EFM32 Giant Gecko's backup power domain. In this case, all other power sources are removed from the kit, and only a small part of the EFM32 runs off the capacitor. It is also possible to enter backup mode while the Board Controller is powered by selecting either BAT or USB with no battery in the socket or USB cable in the connector. 4.
...the world's most energy friendly microcontrollers 5 Peripherals The starter kit has a set of peripherals that showcase some of the features of the EFM32 Giant Gecko microcontroller. Be aware that most EFM32 I/O routed to peripherals are also routed to the breakout pads. This must be taken into consideration when using the breakout pads for your application. 5.1 Push Buttons and LEDs The kit has two user push buttons marked PB0 and PB1.
...the world's most energy friendly microcontrollers 5.3 Capacitive Touch Slider A touch slider utilizing the capacitive touch capability is available. It is placed beneath the two push buttons on the kit. The slider interpolates 4 separate pads to find the exact position of a finger. For low power operation, the touch slider can be used together with LESENSE to continuously scan all 4 pads, using LESENSE channels 8 to 11. Figure 5.3.
...the world's most energy friendly microcontrollers 5.5 LC Sensor In the bottom right corner there is an inductive-capacitive sensor for demonstrating the low energy sensor interface. By setting up oscillating currents in the inductor, metal nearby the inductor can be sensed by measuring the oscillation decay time. The effective range is a few millimeters. Figure 5.5. LC Metal Sensor DAC_LC_EXCITE 100 nF 330 pF PC7 (ACMP0_CH7) LES_LC_SENSE 1.5K EFM32 MCU 2013-10-10 - t0014_0.
...the world's most energy friendly microcontrollers 5.6 NAND Flash A 32MB NAND Flash is connected to the external bus interface of the EFM32 Giant Gecko MCU. The interface is a simple 8-bit parallel interface. This peripheral demonstrates the EFM32 Giant Gecko's EBI module's NAND support with built in ECC generation. Figure 5.6. NAND Flash Interface VMCU PB15 NAND_PWR_EN PE[15..8] EBI_AD[7..0] I/ O[7..
...the world's most energy friendly microcontrollers 5.8 USB Micro-AB Connector The EFM32GG-STK3700 board is equipped with a USB Micro-AB connector supporting USB Device and Embedded Host modes. The figure below shows how the USB lines are connected to the EFM32. The USB_VBUSEN line is connected to a current limited switch which supplies the VBUS line with 5V when operating as a USB Host.
...the world's most energy friendly microcontrollers 6 Advanced Energy Monitor 6.1 Usage The AEM (Advanced Energy Monitor) data is collected by the board controller and can be displayed by the energyAware Profiler, available through Simplicity Studio. By using the energyAware Profiler, current consumption and voltage can be measured and linked to the actual code running on the EFM32 in realtime. 6.2 AEM theory of operation In order to be able to accurately measure current ranging from 0.
...the world's most energy friendly microcontrollers 7 Board Controller The kit contains a board controller that is responsible for performing various board level tasks, such as handling the debugger and the Advanced Energy Monitor. An interface is provided between the EFM32 and the board controller in the form of a UART connection. The connection is enabled by setting the EFM_BC_EN (PF7) line high, and using the lines EFM_BC_TX (PE0) and EFM_BC_RX (PE1) for communicating.
...the world's most energy friendly microcontrollers 8 Board Support Package The Board Support Package (BSP) is a set of C source and header files that enables easy access to, and control over some board specific features. Compared to the Energy Micro development kit, the functionality is limited. Unless you need/want some of the functions contained in the BSP, there is really no need to include or use it.
...the world's most energy friendly microcontrollers 1. Make sure you define the correct part number (i.e. EFM32GG990F1024) as a preprocessor defined symbol 2. Make sure you define the correct part number (i.e. EFM32GG990F1024) for your project file 3. Add and include the EFM32_CMSIS-files (startup_efm32.s, system_efm32.c, core_cm3.c) to your project 4. Add and include all BSP package .c-files, with the bsp-prefix to your project 5.
...the world's most energy friendly microcontrollers 9 Connectors 9.1 Breakout pads Many of the EFM32's pins are routed out to "breakout pads" at the top and bottom edges of the kit. A 2.54mm pitch pin header can be soldered in for easy access to these pins. Most I/O pins are available, with the exception of pins used to drive the LCD and some pins used to drive the NAND flash. Note Some of the breakout pads are shared by on-board EFM peripherals.
...the world's most energy friendly microcontrollers Figure 9.2. Expansion Header GND PC0 PC3 PC4 PC5 PB11 PB12 PC6 PD7 GND 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20 VMCU PD0 PD1 PD2 PD3 PD4 PD5 PD6 5V 3V3 Table 9.1.
...
...the world's most energy friendly microcontrollers 9.3 Debug connector This connector is used for Debug In and Debug Out (see chapter on Debugging). The pinout is described in Table 9.2. Figure 9.3. Debug Connector VTARGET 1 #TRST 3 TDI 5 TMS/ SWDIO 7 TCK/ SWCLK 9 RTCK 11 TDO/ SWO 13 #RESET 15 PD 17 PD 19 2 4 6 8 10 12 14 16 18 20 NC GND GND GND GND GND GND GND Cable Detect GND Table 9.2. Debug connector pinout Pin number Function Note 1 VTARGET Target voltage on the debugged application.
...the world's most energy friendly microcontrollers Figure 9.4. Trace Header VTref GND GND NC GND NC NC GND GND GND 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20 SWDIO/ TMS SWCLK/ TCK SWO/ TDO TDI (NC) nRESET TRACECLK TRACE- DATA[0] TRACE- DATA[1] TRACE- DATA[2] TRACE- DATA[3] Table 9.3. Trace header pinout Pin number Function Note 1 VTref Target reference voltage.
...the world's most energy friendly microcontrollers 10 Integrated Development Environments The Energy Micro software packages contains various examples in source form to use with the Starter Kit. The following IDEs are supported. 10.1 IAR Embedded Workbench for ARM An evaluation version of IAR Embedded Workbench for ARM is included on a CD in the EFM32GGSTK3700 package. Check the quick start guide for where to find updates, and IAR's own documentation on how to use it.
...the world's most energy friendly microcontrollers 11 energyAware Commander and Upgrades The energyAware Commander is a program that comes with Simplicity Studio. It can perform various kit and EFM32 specific tasks. 11.1 eA Commander Operation This utility gives the ability to program the EFM32, upgrade the kit, lock and unlock devices and more. Some of the features will only work with Energy Micro kits, while other will work with a J-Link debugger connected.
...the world's most energy friendly microcontrollers 12 Schematics, Assy Drawings and BOM The schematics, assembly drawings and bill of materials (BOM) for the EFM32 Giant Gecko Starter Kit board is available through Simplicity Studio when the kit documentation package has been installed. 2013-10-10 - t0014_0.21 23 www.silabs.
...the world's most energy friendly microcontrollers 13 Kit Revision History and Errata 13.1 Revision History The kit revision can be found printed on the box label of the kit, as outlined in the figure below. Figure 13.1. Revision info Table 13.1. Kit Revision History Kit Revision Released Description A05 18.10.2012 Added USB micro-B to USB A female adapter cable to kit BOM. A04 15.06.2012 Updated PCB to improve USB micro-AB connector footprint. A03 15.05.
...the world's most energy friendly microcontrollers 14 Document Revision History Table 14.1. Document Revision History Revision Number Effective Date Change Description 0.21 10.10.2013 Updated document template and Silicon Labs contact/legal information. 0.20 10.04.2013 Updated kit revision section. 0.11 31.05.2012 Fixed error in expansion header pinout shown in Figure 9.1 0.10 15.05.2012 First version with revision history. 2013-10-10 - t0014_0.21 25 www.silabs.
...the world's most energy friendly microcontrollers A Disclaimer and Trademarks A.1 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.
...the world's most energy friendly microcontrollers B Contact Information Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 Please visit the Silicon Labs Technical Support web page: http://www.silabs.com/support/pages/contacttechnicalsupport.aspx and register to submit a technical support request. 2013-10-10 - t0014_0.21 27 www.silabs.
...the world's most energy friendly microcontrollers Table of Contents 1. Introduction .............................................................................................................................................. 2 1.1. Description .................................................................................................................................... 2 1.2. Features .................................................................................................................
...the world's most energy friendly microcontrollers List of Figures 2.1. EFM32GG-STK3700 Block Diagram ........................................................................................................... 3 3.1. EFM32GG-STK3700 hardware layout ......................................................................................................... 4 4.1. EFM32GG-STK3700 Power Switch ............................................................................................................ 5 5.1.
...the world's most energy friendly microcontrollers List of Tables 9.1. Some peripheral functions available on Expansion Header ............................................................................ 9.2. Debug connector pinout ......................................................................................................................... 9.3. Trace header pinout .............................................................................................................................. 13.