Preliminary ...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-M3 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.
Preliminary ...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.
Preliminary ...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 (p. 3) Figure 2.1. EFM32GG-STK3700 Block Diagram USB Mini-B Connect or 8x20 Segm ent LCD GPIO BOARD CONTROLLER DEBUG EXP Header UART LESENSE Light Sensor 32Mx8 NAND Flash EFM32 Giant Gecko Microcont roller EBI LESENSE User But t ons & LEDs 2012-05-15 - TBD USB OTG Connect or 3 ACMP GPIO Device/Host LC Sensor Touch Slider www.
Preliminary ...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 8x20 Segm ent LCD 32MB NAND Flash BU Capacit or Am bient Light Sensor Debug Header USB Int erface EFM32 Reset Expansion Header CR2032 Bat t ery User Push-but t ons LC Sensor Power Source Select User LEDs 2012-05-15 - TBD EFM32 USB EFM32 Giant Gecko MCU 4 Touch Slider EFM32 Debug www.energymicro.
Preliminary ...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 (p. 5) shows how the different power sources can be selected with the slide switch.
Preliminary ...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.
Preliminary ...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.
Preliminary ...the world's most energy friendly microcontrollers Figure 5.3. Touch Slider PC8 (ACMP1_CH0) PC9 (ACMP1_CH1) PC10 (ACMP1_CH2) PC11 (ACMP1_CH3) UIF_TOUCH0 UIF_TOUCH1 UIF_TOUCH2 UIF_TOUCH3 Touch Slider EFM32 MCU The capacitive touch slider works by sensing changes in the capacitance of the pads when touched by a human finger.
Preliminary ...the world's most energy friendly microcontrollers Figure 5.6. NAND Flash Interface VMCU PB15 NAND_PWR_EN PE[ 15..8] EBI_AD[ 7..0] I/O[ 7..0] PC1 EBI_A24 ALE PC2 EBI_A25 CLE PF8 EBI_WE# WE# PF9 EBI_RE# RE# PD13 NAND_WP# WP# PD14 NAND_CE# CE# PD15 NAND_R/B# R/B# EFM32 MCU NAND256W3A A separate power switch is used to enable/disable the NAND flash, thus avoiding excess current draw when not used.
Preliminary ...the world's most energy friendly microcontrollers Figure 5.7. EFM32 USB Connector 5V PF6 (GPIO) PF5 (USB_VBUSEN) Overcurrent VBUS Enable ID PF12 (USB_ID) D- PF10 (USB_DM) D+ PF11 (USB_DP) VBUS USB_VBUS USB OTG Connect or USB_VREGI USB_VREGO 1uF 4.7uF 5.9 Op-Amp Footprint If the kit is flipped over there is a silk-print model of a typical operational amplifier feedback circuit. The actual operational amplifier is one of the op-amps inside the EFM32.
Preliminary ...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.
Preliminary ...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.
Preliminary ...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.
Preliminary ...the world's most energy friendly microcontrollers In addition to these main functions, full documentation of the complete API is included in the Doxygen/ HTML documentation of the installed package. 8.3 Example Applications Under the kits/EFM32GG_STK3700/examples folder in your installation directory, you will find an example program using the BSP, with corresponding project/Makefiles for the supported IDEs.
Preliminary ...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.
Preliminary ...the world's most energy friendly microcontrollers Figure 9.2. Expansion Header GND PC0 PC3 PC4 PC5 PB11 PB12 PD7 PC6 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.
Preliminary ...
Preliminary ...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 (p. 18) . Figure 9.3. Debug Connector NC 2 GND 4 GND 6 GND 8 GND 10 GND 12 GND 14 GND 16 Cable Det ect 18 GND 20 1 3 5 7 9 11 13 15 17 19 VTARGET # TRST TDI TMS/SWDIO TCK/SWCLK RTCK TDO/SWO # RESET PD PD Table 9.2.
Preliminary ...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.
Preliminary ...the world's most energy friendly microcontrollers 10 Debugging The EFM32GG-STK3700 contains an integrated debugger, which can be used to download code and debug the EFM32 Giant Gecko MCU. In addition to programming the microcontroller on the kit, the debugger can also be used to program and debug external Energy Micro devices. 10.1 Debug Modes Programming external devices is done by connecting to a target board through the provided debug connector, and by setting the debug mode to OUT.
Preliminary ...the world's most energy friendly microcontrollers 11 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. 11.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.
Preliminary ...the world's most energy friendly microcontrollers 12 energyAware Commander and Upgrades The energyAware Commander is a program that comes with Simplicity Studio. It can perform various kit and EFM32 specific tasks. 12.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.
Preliminary ...the world's most energy friendly microcontrollers 13 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. 2012-05-15 - TBD 23 www.energymicro.
Preliminary ...the world's most energy friendly microcontrollers 14 Kit Revision History and Errata 14.1 Revision History Table 14.1. Kit Revision History Kit Revision Released Description A02 26.04.2012 Initial production version A03 15.05.2012 Updated PCB to add test-points for EFM32 USB. 14.2 Errata Table 14.2. Kit Errata Kit Revision Problem Description A02 Footprint of C250 is wrong. One of the capacitors on the OPAMP footprint, as described in Section 5.9 (p.
Preliminary ...the world's most energy friendly microcontrollers 15 Document Revision History 15.1 Revision 0.10 2012-05-15 First revision with revision history. 2012-05-15 - TBD 25 www.energymicro.
Preliminary ...the world's most energy friendly microcontrollers A Disclaimer and Trademarks A.1 Disclaimer Energy Micro AS 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 Energy Micro products.
Preliminary ...the world's most energy friendly microcontrollers B Contact Information B.1 Energy Micro Corporate Headquarters Postal Address Visitor Address Technical Support Energy Micro AS P.O. Box 4633 Nydalen N-0405 Oslo NORWAY Energy Micro AS Sandakerveien 118 N-0484 Oslo NORWAY support.energymicro.com Phone: +47 40 10 03 01 www.energymicro.com Phone: +47 23 00 98 00 Fax: + 47 23 00 98 01 B.2 Global Contacts Visit www.energymicro.
Preliminary ...the world's most energy friendly microcontrollers Table of Contents 1. Introduction .............................................................................................................................................. 2 1.1. Description .................................................................................................................................... 2 1.2. Features ....................................................................................................
Preliminary ...the world's most energy friendly microcontrollers List of Figures 2.1. 3.1. 4.1. 5.1. 5.2. 5.3. 5.4. 5.5. 5.6. 5.7. 6.1. 9.1. 9.2. 9.3. 9.4. EFM32GG-STK3700 Block Diagram ........................................................................................................... 3 EFM32GG-STK3700 hardware layout ......................................................................................................... 4 EFM32GG-STK3700 Power Switch ............................................
Preliminary ...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 .....................................................................................................................