background image

...the world's most energy friendly microcontrollers

2012-05-31 - t0014_0.11

1

www.energymicro.com

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.
• Several sensors, a 160-segment LCD Display, backup domain capacitor and an

on-board NAND Flash.

Summary of Contents for EFM32 Giant Gecko Starter Kit

Page 1: ...plication 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 Several sensors a 160 segment LCD Display backup domain capacitor and an on board NAND Flash ...

Page 2: ...2 battery 2 user buttons 2 user LEDs and a touch slider Ambient Light Sensor and Inductive capacitive metal sensor EFM32 OPAMP footprint 32 MB NAND Flash USB Micro AB OTG connector 0 03F Super Capacitor for backup power domain Crystals for LFXO and HFXO 32 768kHz and 48 000MHz 1 3 Getting Started The first step to get started with your new EFM32GG STK3700 is to go to http www energymicro com simpl...

Page 3: ...2 Giant Gecko Starter Kit is shown in Figure 2 1 p 3 Figure 2 1 EFM32GG STK3700 Block Diagram 32Mx8 NAND Flash USB Mini B Connector EFM32 Giant Gecko Microcontroller Device Host GPIO EBI ACMP LESENSE LESENSE Touch Slider DEBUG User Buttons LEDs GPIO EXP Header LC Sensor Light Sensor 8x20 Segment LCD BOARD CONTROLLER USB OTG Connector UART ...

Page 4: ...M32 Giant Gecko Starter Kit is shown below Figure 3 1 EFM32GG STK3700 hardware layout Expansion Header Debug Header EFM32 Reset Touch Slider Ambient Light Sensor User Push buttons BU Capacitor EFM32 Debug LC Sensor USB Interface 8x20 Segment LCD 32MB NAND Flash EFM32 Giant Gecko MCU EFM32 USB User LEDs CR2032 Battery Power Source Select ...

Page 5: ...ergy Monitor is now also connected in series allowing accurate high speed current measurements and energy debugging profiling With the switch in the USB position the integrated linear regulator in the EFM32 Giant Gecko MCU is used to power the rest of the chip as well as the USB PHY This allows a USB device application where the MCU acts as a bus powered device Finally with the switch in the BAT p...

Page 6: ...p 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 4 MCU Reset The EFM32 MCU can be reset by a few different sources The RESET button The on board debugger An external debugger by pulling the RST pin low 4 5 Board Controller Reset The Board Controller can be reset by removing and re inserting the J Link USB cabl...

Page 7: ... PE3 in an active high configuration Figure 5 1 Buttons LEDs User Buttons LEDs UIF_LED0 UIF_LED1 UIF_PB0 UIF_PB1 PB9 PB10 PE2 PE3 EFM32 MCU 5 2 LCD A 28 pin Energy Micro LCD display is connected to the EFM32 The LCD has 8 common lines and 20 segment lines giving a total of 160 segments in 8 plexed mode These lines are not shared on the breakout pads Figure 5 2 160 Segment LCD PB 2 0 PA 11 7 EFM32 ...

Page 8: ... levels Figure 5 4 Light Sensor LIGHT_EXCITE LIGHT_SENSE 22K TEMT6200FX01 PD6 LES_ALTEX0 PC6 ACMP0_CH6 EFM32 MCU Two pins are used for the light sensor operation one for excitation and one for sensing The sense pin is connected to ACMP0 CH6 Both the excitation pin and the sense pin can be controlled directly from the EFM32 s LESENSE module 5 5 LC Sensor In the bottom right corner there is an induc...

Page 9: ...ed to evaluate the EFM32 Giant Gecko MCU s backup power domain The capacitor has a nominal value of 33 mF and is connected with a 100 ohm series resistor to the BU_VIN pin of the EFM32 Because of the extremely low power consumption of the EFM32 in backup mode 400nA the capacitor can power a clock application using the low frequency crystal oscillator LFXO for more than 8 hours The series resistor ...

Page 10: ...SB_VREGI USB_VREGO 4 7uF 1uF VBUS Enable 5V PF5 USB_VBUSEN VBUS D D ID Overcurrent 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 By soldering 0603 sized resistors the EFM32 internal operational amplifier can be evaluated with exact resistor value...

Page 11: ...occurs around 250uA Digital filtering and averaging is done within the Board Controller before the samples are exported to the energyAware Profiler application During startup of the kit an automatic calibration of the AEM is performed This calibration compensates for the offset error in the sense amplifiers Figure 6 1 Advanced Energy Monitor 4 7R Sense Resistor LDO 3 3V VMCU Current Sense Amplifie...

Page 12: ...roller 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 Specific library functions has been provided in the kit Board Support Package that supports various requests to be made to the board controller such as quering AEM voltage or current To use these functions the Board Support P...

Page 13: ...Data Roaming energymicro kits EFM32GG_STK3700 or something similar depending on your OS Windows version All files in the board support package are prefixed by stk 8 2 Application Programming Interface To use the BSP include the Starter Kit header file like this include stk h All functions in the BSP are prefixed with STK_ The main initialization routine is defined as void STK_Init void and must be...

Page 14: ...easiest way to include the BSP in your application is to base your work on the example application that use the BSP The following items are recommended for correct configuration 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...

Page 15: ... S E T S W D I O S W O 5 V P B 1 0 P B 9 G N D P B 1 1 P B 1 2 P D 1 5 G N D P D 0 P D 1 P D 2 P D 3 P D 4 P D 5 G N D P D 6 P D 7 P D 8 P D 1 3 P D 1 4 V M C U 3 V 3 Debug Pins Expansion Header 19 17 15 13 11 9 7 5 3 1 GND PC0 PC3 PC4 PC5 PB11 PB12 PD7 PC6 GND Debug Connector Note Pins PC3 PC4 PC5 and PC6 are also available as surface mounted pads beneath the USB Micro AB connector 9 2 Expansion ...

Page 16: ... Header pin number USART1_TX PD0 4 USART1_RX PD1 6 USART1_CLK PD2 8 USART SPI USART1_CS PD3 10 I2C1_SDA PC4 7 I C I2C1_SCL PC5 9 LEUART0_TX PD4 12 Low Energy UART LEUART0_RX PD5 14 ADC0_CH0 PD0 4 ADC0_CH1 PD1 6 ADC0_CH2 PD2 8 ADC0_CH3 PD3 10 ADC0_CH4 PD4 12 ADC0_CH5 PD5 14 ADC0_CH6 PD6 16 Analog to Digital Converter ADC0_CH7 PD7 15 DAC0_CH0 PB11 11 Digital to Analog Converter DAC0_CH1 PB12 13 ACMP...

Page 17: ...re TIMER1_CC2 PB11 11 LETIM0_OUT0 PD6 PB11 PC4 16 11 7 Low Energy Timer LETIM0_OUT1 PD7 PB12 PC5 15 13 9 LES_CH0 PC0 3 LES_CH3 PC3 5 LES_CH4 PC4 7 LES_CH5 PC5 9 LES_CH6 PC6 17 LES_ALTEX0 PD6 16 Low Energy Sensor Interface LESENSE LES_ALTEX1 PD7 15 PCNT0_S0IN PD6 16 PCNT0_S1IN PD7 15 PCNT1_S0IN PC4 7 PCNT1_S1IN PC5 9 PCNT2_S0IN PD0 4 Pulse Counter PCNT2_S1IN PD1 6 Peripheral Reflex System PRS PRS_C...

Page 18: ...K or Serial Wire clock 11 RTCK JTAG RTCK 13 TDO SWO JTAG TDO or Serial Wire Output 15 RESET Target MCU reset 17 PD This pin has a 100k pulldown 18 Cable detect This signal must be pulled to ground by the external debugger or application for cable insertion detection 19 PD This pin has a 100k pulldown 4 6 8 10 12 14 16 20 GND 9 4 Trace Header A header with connections to the Embedded Trace Module E...

Page 19: ...t Output 4 SWCLK TCK Serial Wire Clock input 6 SWO TDO Serial Wire Output trace port 8 TDI Not Connected on the EFM32GG STK3700 10 nRESET Target CPU reset signal 12 TRACECLK Trace clock output Trace clock 1 2 CPU clock 14 TRACE DATA 0 Trace data output pin 0 16 TRACE DATA 1 Trace data output pin 1 18 TRACE DATA 2 Trace data output pin 2 20 TRACE DATA 3 Trace data output pin 3 7 11 13 NC Not Connec...

Page 20: ...bugger is connected to EFM32 on the EFM32GG STK3700 Debug IN In this mode the on board debugger is disconnected and an external debugger can be connected to debug the EFM32 on the EFM32GG STK3700 Debug OUT In this mode the on board debugger can be used to debug an EFM32 mounted in your own application Selecting the active debug mode is done with a drop down menu in the energyAware Commander tool w...

Page 21: ... on how to use it You will find the IAR project file in the iar subfolder of each project 11 2 Rowley Associates CrossWorks for ARM See the quick start guide for download details for CrossWorks for ARM You will find CrossWorks project files in the rowley subfolder of each project 11 3 CodeSourcery Sourcery G See the quick start guide for download details for Sourcery G The codesourcery subfolder c...

Page 22: ...de 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 Press the F1 button or select the Help Help menu item for a full description 12 2 Upgrades Upgrading the kit is done through Simplicity Studio The Studio will automatically check for new updates on startup You can also use the energyAware Com...

Page 23: ...0014_0 11 23 www energymicro com 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 ...

Page 24: ...oduction 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 10 is a 0402 sized footprint instead of 0603 This is a minor problem and might cause some difficulties when trying to add a capacitor here The error i...

Page 25: ...trollers 2012 05 31 t0014_0 11 25 www energymicro com 15 Document Revision History 15 1 Revision 0 11 2012 05 31 Fixed error in expansion header pinout shown in Figure 9 1 p 15 15 2 Revision 0 10 2012 05 15 First revision with revision history ...

Page 26: ...gy Micro 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 Energy Micro A Life Support System is any product or system intended to support...

Page 27: ...WAY 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 com for information on global distributors and representatives or contact sales energymicro com for additional information Americas Europe Middle East and Africa Asia and Pacific www energymicro c...

Page 28: ...age 13 8 1 Installation location 13 8 2 Application Programming Interface 13 8 3 Example Applications 14 8 4 How to include in your own applications 14 9 Connectors 15 9 1 Breakout pads 15 9 2 Expansion header 15 9 3 Debug connector 18 9 4 Trace Header 18 10 Debugging 20 10 1 Debug Modes 20 10 2 Debugging during battery operation 20 11 Integrated Development Environments 21 11 1 IAR Embedded Workb...

Page 29: ...GG STK3700 hardware layout 4 4 1 EFM32GG STK3700 Power Switch 5 5 1 Buttons LEDs 7 5 2 160 Segment LCD 7 5 3 Touch Slider 8 5 4 Light Sensor 8 5 5 LC Metal Sensor 8 5 6 NAND Flash Interface 9 5 7 EFM32 USB Connector 10 6 1 Advanced Energy Monitor 11 9 1 Breakout pads and Expansion Header 15 9 2 Expansion Header 16 9 3 Debug Connector 18 9 4 Trace Header 19 ...

Page 30: ...rs 2012 05 31 t0014_0 11 30 www energymicro com List of Tables 9 1 Some peripheral functions available on Expansion Header 16 9 2 Debug connector pinout 18 9 3 Trace header pinout 19 10 1 Debug modes 20 14 1 Kit Revision History 24 14 2 Kit Errata 24 ...

Page 31: ......

Reviews: