Home
EFM32LG-STK3600 Leopard Gecko Starter Kit User`s
Contents
1. o AEN ob CH N OD gr Sod ND A ON NV O zt 0 left AN ff NEN D SLES LLL TLE LOPS PMP PML LONS GE an a I oo e e O EXP Header ia hdd a ik Ee Top row Bottom row aa y Zei zua GND a a 2 5V PD7 Ja PD6 PC6 O PD5 PB12 O PD4 PB11 PD3 PC PD2 PC4 PD1 PC3 EE SH PDO PCO Dx co VMCU GND 1 o Ze ZG ee eo e ee eo e e e TI e EI OO e oo o eeeee MASS Pa HARD Gy NNNNA ANENII LS E NI IoD S SB SSN D LS VRR Note Pins PC3 PC4 PC5 and PC6 are also available as surface mounted pads beneath the USB Micro AB connector 9 2 Expansion header On the right hand side of the board an angled 20 pin expansion header is provided to allow connection of peripherals or plugin boards The connecter contains a number of I O pins that can be used with most of the EFM32 Leopard Gecko s features Additionally the VMCU 3V3 and 5V power rails are also exported Figure Figure 9 1 shows the pin assignment of the expansion header With the exception of a few pins most of the Expansion Header s pins are the same as those on the EFM32 Gecko or E
2. Pin Function Note number 1 VTref Target reference voltage 2 SWDIO TMS Serial Wire Data Input Output 4 SWCLK TCK Serial Wire Clock input 6 SWO TDO Serial Wire Output trace port 8 TDI Not Connected on the EFM32LG STK3600 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 Connected 3 5 9 GND 15 17 19 Note The EFM32LG STK3600 debugger does not contain any trace functionality apart from the basic functionality provided with Serial Wire View SWV This header is only useful together with an external trace emulator 2013 10 10 t0026_0 21 www silabs com the world s most energy friendly microcontrollers 10 Debugging The EFM32LG STK3600 contains an integrated debugger which can be used to download code and debug the EFM32 Leopard 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 The same connector can also be used to connect an external emulator to the EFM32 MCU on the kit by setting the debug mode
3. PF6 GPIO PF5 USB_VBUSEN PF12 USB ID PF10 USB_DM PF11 USB_DP e USB_VBUS S Connector USB_VREGI USB_VREGO 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 values 2013 10 10 t0026_0 21 www silabs com EFMI32 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 1uA to 50mA 114dB dynamic range a current sense amplifier is utilized together with a dual gain stage The current sense amplifier measures the voltage drop over a small series resistor and the gain stage further amplifies this voltage with two different gain settings to obtain two current ranges The transition between these two ranges occurs around 250uA Digital filtering and averaging is done within the Board Controller bef
4. Device Host oo ole ml User Buttons amp LEDs USB OTG Connector Touch Slider 2013 10 10 t0026_0 21 www silabs com EFMI32 the world s most energy friendly microcontrollers 3 Kit Hardware Layout The layout ofthe EFM32 Leopard Gecko Starter Kit is shown below Figure 3 1 EFM32LG STK3600 hardware layout Debug 8x20 Segment 32MBNAND BU Capacitor Ambient reader LCD Flash Light Sensor Z I GC We DA KSC Ges UBS E der Interface Fae 00000 d amp 90 REN d bs fn Expansion Header CR2032 User Push buttons Battery we LC Sensor Ze Lc ey Power Source Select EFM32 Debug 2013 10 10 t0026_0 21 www silabs com De world s most energy friendly microcontrollers 4 Power Supply and Reset 4 1 MCU Power Selection The EFM32 Leopard Gecko MCU on the EFM32LG STK3600 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 Figure 4 1 EFM32LG STK3600 Power Switch Advanced Energy Monitor Connector VMCU E USB OTG Connector Ds KS I 3V Lithium Battery CR2032 With the switch in the DBG position an on board low noise LDO
5. 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 EFM32LG STK3600 package Check the quick start guide for where to find updates and IAR s own documentation 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 contains Makefiles for use with the Sourcery G development environment 11 4 Keil MDK ARM See the quick start guide for download details for evaluation versions of Keil MDK ARM The arm subfolder in each project contains project files for MDK ARM Please see the MDK ARM documentation for usage details 2013 10 10 t0026_0 21 www silabs com EFM32 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
6. PDO 14 4 Timer Compare Capture TIMERO_CCO PD1 6 TIMERO_CC1 PD2 8 TIMERO_CC2 PD3 10 TIMER1_CCO PD6 16 TIMER1_CC1 PD7 17 TIMER1_CC2 PB11 11 Low Energy Timer LETIMO_OUTO PD6 PB11 PC4 16 11 7 LETIMO_OUT1 PD7 PB12 PC5 17 13 9 Low Energy Sensor LES CHO PCO 3 Interface LESENSE LES CH3 SCH S LES CHA PC4 7 LES _CH5 PC5 9 LES_CH6 PC6 15 LES_ALTEXO PD6 16 LES_ALTEX1 PD7 17 Pulse Counter PCNTO_SOIN PD6 16 PCNTO_S1IN PD7 17 PCNT1_SOIN PC4 7 PCNT1_S1IN PC5 9 PCNT2_SOIN PDO 4 PCNT2_S1IN PD1 6 Peripheral Reflex System PRS_CH2 PCO 3 PRS Please note that this table only sums up some of the alternate functions available on the expansion header Consult the EFM32LG990F 256 datasheet for a complete list of alternate functions 2013 10 10 t0026_0 21 www silabs com 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 oo 2 NC TRST 3 oo 4 GND TDI 5 oo 6 GND TMS SWDIO 7 5 2 8 GND TCK SWCLK 9 I o 10 GND RTCK 11 Jao 12 GND TDO SWO 13 o a 14 GND RESET 15 oo 16 GND PD 17 a0 18 Cable Detect PD 19 ao 20 GND Table 9 2 Debug connector pinout Pin number Function 1 VTARGET Target voltage on the debugged application 2 NC Not Connected 3 TRST JTAG tap res
7. Capacitor Asmall super capacitor is provided to evaluate the EFM32 Leopard 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 allows measuring of the current drawn from the capacitor into the EFM32 device by simply using a multimeter to measure the voltage across it Please refer to the schematic and assembly drawings to locate the series resistor 2013 10 10 t0026_0 21 www silabs com E ED SZ the world s most energy friendly microcontrollers 5 8 USB Micro AB Connector The EFM32LG STK3600 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 current limited switch also has a flag signal connected to the EFM32 which can notify itin case excessive current is drawn by the attached device Note that the J Link USB cable must be inserted to provide 5V to the device when operating the EFM32 in host mode Figure 5 7 EFM32 USB Connector 5V Overcurrent
8. Micro kits while other will work with a J Link debugger connected Press the F1 button or select the Help gt 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 Commander for manual upgrades Select the Kit icon use the Browse button to select the correct file ending in emz and press the Install package button 2013 10 10 t0026_0 21 www silabs com E EP SZ 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 Leopard Gecko Starter Kit board is available through Simplicity Studio when the kit documentation package has been installed 2013 10 10 t0026_0 21 www silabs com EFMS2 the world s most energy friendly microcontrollers 14 Kit Revision History and Errata 14 1 Revision History The kit revision can be found printed on the box label of the kit as outlined in the figure below Figure 14 1 Revision info Leopard Gecko Starter Kit eo pre a E CT III um a gt R ud KoHS C FE Q Qty 1 ie ee ee le an il 115100140 S n r friendly microcontrollers and others are the trademarks of Energy Micro ARM Cortex MO0 M3 and Keil are the registered trademark and trademarks of Rev A03 ARM Limited Other terms and
9. and Inductive capacitive metal sensor e EFM32 OPAMP footprint e 32 MB NAND Flash e 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 EFM32LG STK3600 is to go to http www energymicro com simplicity The Simplicity Studio software package contains all the tools drivers software examples and documentation needed to use the EFM32 Leopard Gecko Starter Kit Some important tools for use with the EFM32LG STK3600 are e energyAware Commander e energyAware Profiler The energyAware Commander is a tool for updating the kit s firmware programming the MCU and launching demos The energyAware Profiler is the PC side interface to the Advanced Energy Monitor It provides the possibility to do energy debugging and profiling of application code 2013 10 10 10026 _0 21 www silabs com EFMS2 2 Kit Block Diagram An overview of the EFM32 Leopard Gecko Starter Kit is shown in Figure 2 1 the world s most energy friendly microcontrollers Figure 2 1 EFM32LG STK3600 Block Diagram 50 11 08 Ss S Cep ee Wes wo y USB Mini B 8x20 Segment LCD Connector GPIO EXP Header BOARD CONTROLLER na LESENSE K Light Sensor EFM32 Leopard Gecko 32Mx8 NAND Microcontroller Flash LESENSE GPIO ACMP
10. with a fixed output voltage of 3 3V is used to power the MCU This LDO is again powered from the J Link USB cable The Advanced Energy 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 Leopard Gecko MCU is used to power the rest ofthe 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 position a 20mm coin cell battery in the CR2032 socket can be used to power the device Note The Advanced Energy Monitor can only measure the current consumption of the EFM32 when the power selection switch is in the DBG position 4 2 Board Controller Power The Board Controller is responsible for important features such as the debugger and the Advanced Energy Monitor and is powered exclusively through the USB port in the top left corner of the board This part ofthe kit resides on a separate power domain so a different power source can be selected for the MCU while retaining debugging functionality This power domain is also isolated to prevent current leakage from the MCU power domain when power to the Board Controller is removed 2013 10 10 t0026_0 21 www silabs com EFM 32 the world s most energy friendly microcontrollers 4 3 Backup Power Domain The kit contains a backup capacitor that can be use
11. 13 10 10 10026 _0 21 www silabs com EFM 32 the world s most energy friendly microcontrollers 1 Make sure you define the correct part number i e EFM32LG990F256 as a preprocessor defined symbol 2 Make sure you define the correct part number i e EFM32LG990F 256 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 Configure include paths to point at the CMSIS CM3 CoreSupport and CMSIS CM3 DeviceSupport EnergyMicro EFM32 directories 6 Configure include paths to point to the kits EFM32LG_STK3600 bsp directory Make sure you call BSP_Init early at startup and you should be all set 2013 10 10 t0026_0 21 www silabs com EFMS2 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 schematic must be consulted to make sure that it is OK to use a shared pin in your application Figure 9 1 Breakout pads and Expansion Header
12. 1_CHO NEE PC9 ACMP1_CH1 UIF_TOUCH1 UIF TOUCH2 Bell PC10 ACMP1_CH2 PC11 ACMP1_CH3 SIR TOUEHS Touch Sider EFM32 MCU The capacitive touch slider works by sensing changes in the capacitance of the pads when touched by a human finger Sensing the changes in capacitance is done by setting up the touch pad as part of an RC relaxation oscillator using the EFM32 s analog comparator and then counting the number of oscillations during a fixed period of time 5 4 Ambient Light Sensor The kit has a light sensitive transistor type ambient light sensor connected to the low energy sensor interface of the EFM32 Leopard Gecko MCU The sensor is placed above the push buttons and can be used to sense changes in ambient light levels Figure 5 4 Light Sensor LIGHT_EXCITE PD6 LES ALTEXO Ka PC6 ACMPO_CH6 __ LIGHT SENSE TEMT6200FX01 EFM32 MCU Two pins are used for the light sensor operation one for excitation and one for sensing The sense pin is connected to ACMPO CHE Both the excitation pin and the sense pin can be controlled directly from the EFM32 s LESENSE module 2013 10 10 t0026_0 21 www silabs com EFM32 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 measuri
13. B10 In addition to the two push buttons the kit also features two yellow LEDs marked LEDO and LEDT that are controlled by GPIO pins on the EFM32 The LEDs are connected to pins PE2 and PES in an active high configuration Figure 5 1 Buttons LEDs UIF_LEDO UIF_LED1 HH PB9 AB User Buttons PB10 UIF_PB1 amp LEDs 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 3 PA 11 7 LCD_SEG 39 35 A Je HH PB 2 0 LCD_SEG 34 32 Ki Di Cl CH Cl ck Ni PD 12 9 LCD_SEG 31 28 A PA 6 0 PA15 LCD_SEG 19 12 8x20 Segment LCD PB 6 3 LCD_COMI7 4 PE7 4 LCD_COMI3 0 EFM32 MCU Capacitors for the EFM32 Leopard Gecko LCD boost function are also available on the EFM32LG STK3600 2013 10 10 t0026_0 21 www silabs com EFMS32 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 Touch Slider PC8 ACMP
14. EFM32 the world s most energy friendly microcontrollers USER MANUAL Starter Kit EFM32LG STK3600 ES Ey 0 The EFM32 Leopard Gecko Starter Kit is a feature rich platform for evaluation prototyping and application development for the EFM32 Leopard Gecko MCU family with the ARM Cortex M4 CPU core Main features e Advanced Energy Monitoring provides real time information about the energy consumption of an application or prototype design e On board debugger with the possiblity to debug external targets e Several sensors a 160 segment LCD Display backup domain capacitor and an on board NAND Flash SILICON LABS EFM32 the world s most energy friendly microcontrollers 1 Introduction 1 1 Description The EFM32LG STK3600 is an excellent starting point to get familiar with the EFM32 Leopard 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 e EFM32LG990F256 MCU with 256 KB Flash and 32 KB RAM Advanced Energy Monitoring system for precise current tracking Integrated Segger J Link USB debugger emulator with debug out functionality e 160 segment Energy Micro LCD e 20 pin expansion header Breakout pads for easy access to I O pins e Power sources include USB and CR2032 battery e 2 user buttons 2 user LEDs and a touch slider Ambient Light Sensor
15. FM32 Tiny Gecko starter kits Some of the chip peripheral functions that are available on the Expansion Header are listed in table Table 9 1 2013 10 10 10026 0 21 www silabs com Figure 9 2 Expansion Header coooooooooao coooooooooao Table 9 1 Some peripheral functions available on Expansion Header the world s most energy friendly microcontrollers 2013 10 10 t0026_0 21 Peripheral Peripheral pin MCU Pin EXP Header pin number USART SPI USART1_TX PDO 4 USART1_RX PD1 6 USART1_CLK PD2 8 USART1_CS PD3 10 IC 12C1_SDA PC4 7 12C1_SCL PC5 9 Low Energy UART LEUARTO_TX PD4 12 LEUARTO_RX PD5 14 Analog to Digital ADCO_CHO PDO 4 nn ADCO CH PD1 6 ADCO_CH2 PD2 8 ADCO_CH3 PD3 10 ADCO_CH4 PD4 12 ADCO_CH5 PD5 14 ADCO_CH6 PD6 16 ADCO_CH7 PD7 17 Digital to Analog DACO_CHO PB11 11 SE DACO CH PB12 13 Analog Comparator ACMPO_CHO PCO 3 ACMPO_CH3 PC3 5 ACMPO_CH4 PC4 7 ACMPO_CH5 PC5 9 ACMPO_CH6 PC6 15 ACMPO_O PD6 16 ACMP1_O PD7 17 Operational Amplifier OPAMP_NO PC5 9 OPAMP_PO PC4 7 www silabs com the world s most energy friendly microcontrollers Note Peripheral Peripheral pin MCU Pin _ EXP Header pin number OPAMP_OUTO PB11 11 OPAMP_N1 PD7 17 OPAMP_P1 PD6 16 OPAMP_OUT1 PB12 13 OPAMP_N2 PD3 10 OPAMP_P2 PD4 12 OPAMP_OUT2 PD5
16. akout pads and Expansion Header 16 9 2 Expansion Header isis arher s t tege deet e diet cds e ha Be ER dE EELER Ee LE dE ERE 17 9 32 DEBUG CONNELION re geed 19 9 4 Trace Header u degt et egen sa el Bu ale ben lb nen al elle a cess 20 14 1 REVISION info WEE 25 2013 10 10 t0026_0 21 www silabs com the world s most energy friendly microcontrollers List of Tables 9 1 Some peripheral functions available on Expansion Header 17 9 2 Debug connector PINOUt 6 eee eee eee ee eee ttt ee eee eet e netstat ede cece ee esse eaeeseeseeeeeaeeeeeaeeeeeaes 19 9 3 Trace header PINOUT sett enee eege Ben ann e End Fr RE Seek anes gitar EENS 20 10 1 Debug lu le TEE 21 14 1 Kit Revision HIStory a ie ae EA AEE nn ee 25 14 Oo KCE DEE 25 15 1 Document Revision History ccececeeee eee eee eee eee ee nenne nennen nnnnnnnnnnnennnnnnnnnnnn nenne nenne nnnnnnnnnnnn nenn 26 2013 10 10 t0026_0 21 www silabs com GECKO LEOPARD GIANT WONDER ARM Cortex M3 ARM Cortex M3 ARM Cortex M3 ARM Cortex M4
17. ch as Win7 C Users username AppData Roaming energymicro kits EFM32LG_STK3600 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 bsp h All functions in the BSP are prefixed with BSP_ The main initialization routine is defined as void BSP_Init BSP_INIT_STK_BCUART and must be called before any access to the STK functions This function call will setup the UART communication channel with a 115800 baud rate This baud rate depends on the current core clock so correct clock configuration should be set before calling this function float BSP _CurrentGet void Returns instant current usage in milliamperes float BSP_VoltageGet void Returns instant voltage VMCU reading in volt 8 3 Example Applications Under the kits EFM32LG_STK3600 examples folder in your installation directory you will find an example program using the BSP with corresponding project Makefiles for the supported IDEs The examples folder also contains examples showing how to use the different peripherals on the EFM32LG STK3600 8 4 How to include in your own applications The 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 20
18. d together with the EFM32 Leopard 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 4 MCU Reset The EFM32 MCU can be reset by a few different sources e 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 cable Removing the Board Controller USB cable will not reset the EFM32 but whenever the Board Controller is powered up again it will issue a RESET to the EFM32 through the on board debugger 2013 10 10 t0026_0 21 www silabs com EFM32 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 Leopard 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 PBO and PB1 They are connected to the EFM32 and are debounced by RC filters with a time constant of 1ms The buttons are connected to pins PB9 and P
19. e iresten aeania iaa iaa anna dann dan ann an anna SEENEN Sen 23 12 2 Upgrades ainara an ae a a aa herr ana a nen nn Ba ner a an ehe sage nalen en 23 T3 Schematics Assy Drawings and BOM u sense Ben savanna Hohn a cota cued wets EE ERR a Ra here nee er 24 14 Kit Revision History and Errata nenne nenne eee eens neta nenne nnnnnnen 25 14T Revision History seroraren land EE Bra See dE ENEE Li HB a E BEE ea anna Hi 25 EE eege nee 25 15 DOCUMENT REVISION History na na na en en ET He EEN en 26 A Disclaimer and el ul 27 Psd DISCIAIMCR eege EE EE E 27 Az2 Trademark Information 0 sa ee da ah nain panes nE aE p Na ARETA EEE TON AE ee ced 27 B Contact Information a0 an a an a ENEE EEN ae Be nen rn el Rare 28 a EE 28 2013 10 10 t0026_0 21 www silabs com the world s most energy friendly microcontrollers List of Figures 2 1 EFM32L G STK3600 Blo ck Diagram e geseet EES ee 3 3 1 EFM32LG STK3600 hardware layout nenne nenne nenne nenne nnnnnennnnnennnnne nenn nennen 4 4 1 EFM32LG ST K3600 Power Switch u ee see ee nein 5 Dwr E lee DEE H 5 2160 Segment LOD EEN 7 9 3 RETTEN eae 8 9 4 Die lu EE 8 55 LG Metal Sensor enges e en aa a E E a EHE ie deed ETE e 9 5 6 NAND Flash Interface 44444444HHRnnnnnnnnnnnnnn EE nenn nnnnnn nenn nnnnnnnnnnnnnsnnnnnnnnnnsnnnnnnnnn nenn 10 5 72 EEM32 USB ee LEE 11 6 1 Advanced Energy Monitor seiere 0 dee aan eng cn ann de EE An TA aan Denke ine 12 9 1 Bre
20. er EE 13 Ss Board SUPDOM Package EE 14 8 1 Installati n location E 14 8 2 Application Programming Interface 4444s444Hesnennnnnnnnnennnnnnnnnnnennnnnennnennnnnnnnnnsnnnnnnnnnnnnnnnnnnnn 14 8 3 Example Applications 2 0 0 0 EE EE EEE nett nee ee ee etneraeegs 14 8 4 How to include in your own applications 4z44s4snnnnnnnnnnnnnnnnnnnnnnnnnnn nenne eed ea nenne nenne nenne nennen 14 ERD erte Eeer aE 16 9 1 Breakout E EE 16 9 2 EXPansioniheader ara Seege eege BEE EE 16 9 3 Debug connector ansehe nn in en Hrn ann en Dar nie nahe en ae ee Fame es 19 9 4 Trace Header zensiicnscransen seat ae AE deve dat eid ee ts Heben eee nee en 19 1 0 Debugging EE 21 10 1 Debug Oe TEE 21 10 2 Debugging during battery operation u4su s snnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnsnnnnnn nen 21 11 Integrated Development Environment nen 22 11 1 IAR Embedded Workbench for ARM 0eeeeeeeee teen cette eect eect eeeeseeseeseeseeseeseseeseeeeeeeeseeeeeeeeeeeeees 22 11 2 Rowley Associates CrossWorks for ARM ccceeeeee eect teeter teeter eee eee eee en sees eee eea sees eeeeseeeeeseeeees 22 11 3 GodeSourcery SOuUrcery EE EEN SUE ea La en DEEN ne SEENEN EE Peis EE LA 22 11 4 Keil MDK ARM nenne nenne nenne nenne nnnnnnnnnnennnnnnnnnnne nennen nenn 22 12 energyAware Commander and Upgrades nenne nenne nenne nenne nenne nnnnensnnnenennne nenn 23 12 1 CA Commander Operation is
21. et 5 TDI JTAG data in 7 TMS SWDIO JTAG TMS or Serial Wire data I O 9 TCK SWCLK JTAG TCK 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 GND 10 12 14 16 20 9 4 Trace Header A header with connections to the Embedded Trace Module ETM in the EFM32 Leopard Gecko MCU is provided on the reverse side of the PCB The header is not mounted by default but a 20 pin 1 27mm pitch SMD header can be soldered on to allow an external trace emulator to be connected In addition to the serial wire debug pins this header also contains the ETM_CLK and ETM_TD signals The pinout is described in Table 9 3 Please refer to the kit assembly drawing to locate the trace header which has the reference P200 2013 10 10 t0026_0 21 www silabs com EFMS2 the world s most energy friendly microcontrollers Figure 9 4 Trace Header VTret 1 o 2 SWDIO TMS GND 3 sa 4 SWCLK TCK GND 5 so 6 SWO TDO NC 7 aa 8 TDI NC GND 9 10 nRESET NC 11 a a 12 TRACECLK NC 13 a a 14 TRACE DATAI0 GND 15 o 16 TRACE DATA 1 GND 17 o o 18 TRACE DATA 2 GND 19 o 20 TRACE DATA 3 Table 9 3 Trace header pinout
22. gh and using the lines EFM_BC_TX PEO 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 Package must be installed See the Chapter 8 to find out more Note The board controller is only available when USB power is connected 2013 10 10 t0026_0 21 www silabs com EFM32 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 EFM32 in the Starter Kit is fully usable without BSP support and you can use all peripherals in the emlib without the BSP The BSP use EFM32 peripheral UARTO Location 1 TX pin PEO RX pin PE1 on baudrate 115200 8 N 1 to communicate with the board controller Note The BSP is only functional when the Starter Kit is USB powered using these function calls with USB disconnected will give unpredictable results 8 1 Installation location When installing Simplicity Studio the BSP will be installed in the user directory typically in a location su
23. ilicon 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
24. n ne her RENTE RE he 2 UE Getting WT WEE 2 2 Kit Block Ee EC EE 3 Ge Kil Hardware el 4 4 Power Supply and Reset nenne nenne nnnnne nenne nennen 5 4 1 MGU Power Selection u dats ee el een en ede Sie e AH 5 4 2 Board Controller Power 5 4 3 Backup Power Dom lh 22 02220 2 02a aa ee Ba nn Ban kn en a ae ehe 6 4A MICU ESOL ege atest ceca PETER KERN centres wales cane rena GR a a UFEHER PERESSESEHF SORT FERNE 6 4 5 Board Controller Reset 4 nenn anne nn naar ann nen na etwas E nn nee nenn sah ner nen 6 5 Peripherals 2422242244223 ree r AE SE EE EE RER EEEE nana REDEN RT IRRE HR BRETT RE EEE 7 5 1 Push Buttons and LEDS 0 cece cece cece eee e eee ee eee nena cece e deena eee e cess decease eaeeseeaeeeeeseeseeneeeeeaes 7 5 2 EO RE H 5 3 Capacitive Touch Slider mn ee Seege de Se BEE Ed de Sank edd 8 5 4 Ambient Light Sensor anne ne en ann er ann ee rn en RER Fe 8 o9 De 9 SCENE lee Dee 10 5 7 BackUp Domain GapacitOn su ae AER vata Ho EE dees nenn AE CERN dE EEN 10 5 8 USB Micro AB Connector cE EE En nnn et et et EEEE E EEEE 11 5 9 Op Amp FOOtprints ioeie dis hind a aa r suse ddansdstaa sania deen E EE 11 6 Advanced Gute Ke Tute EE 12 E E 12 6 2 AEM theory Of Operation lt 2 ene E EEEg 420 00 a iir n a E Ba a EEN NEE PEGES 12 6 3 AEM accuracy and performance cceeeeee eee eect ee eee eee eect eee eee eee sees eee eee ese ese eeeeseeseeseeseeeeeseeeeeeeees 12 7 Board GOntroll
25. ng the oscillation decay time The effective range is a few millimeters Figure 5 5 LC Metal Sensor DAC LC EXCITE PB12 DACO_OUT1 PC7 ACMPO_CH7 EFM32 MCU Metal Object 2013 10 10 t0026_0 21 www silabs com EE ZZ 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 Leopard Gecko MCU The interface is a simple 8 bit parallel interface This peripheral demonstrates the EFM32 Leopard Gecko s EBI module s NAND support with built in ECC generation Figure 5 6 NAND Flash Interface VMCU P 15 8 EBI_AD 7 0 1 O 7 0 EBI_A24 ALE EBI_A25 EBI_WE PB15 NAND_PWR_EN EBI HS NAND_WP NAND_CE NAND_R BF EFM32 MCU NAND256W3A A separate power switch is used to enable disable the NAND flash thus avoiding excess current draw when not used When NAND_PWR_EN is high the NAND flash is powered from the same supply as the EFM32 MCU It is recommended to keep the write protect line low during power transitions The ALE address latch enable and CLE command latch enable pins of the NAND Flash are connected to the EBI Address pins 24 and 25 and the CE chip enable line is connected to a general GPIO pin This causes the NAND data address and command registers to be mapped in the EFM32 s address space as Data register 0x80000000 Address register 0x81000000 Command 0x82000000 register 5 7 Backup Domain
26. of mass destruction including but not limited to nuclear biological or chemical weapons or missiles capable of delivering such weapons A 2 Trademark Information Silicon Laboratories Inc Silicon Laboratories Silicon Labs SiLabs and the Silicon Labs logo CMEMS EFM EFM32 EFR Energy Micro Energy Micro logo and combinations thereof the world s most energy friendly microcontrollers Ember EZLink EZMac EZRadio EZRadioPRO DSPLL ISOmodem Precision32 ProSLIC SIPHY USBXpress and others are trademarks or registered trademarks of Silicon Laboratories Inc ARM CORTEX 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 2013 10 10 10026 0 21 www silabs com 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 t0026_0 21 www silabs com E EW Ja CEP the world s most energy friendly microcontrollers Table of Contents Te 511 Ko o ee 2 le EISE HEH 2 1 2 Fe lufes nsanin ss anne an en ar Renee Lane arte Kinn DI HERNE BEER ER ge AERO UG EEE Banane
27. ore 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 Be VMCL e Sense Resistor Power Select Switch Current Sense Sensors amp Amplifier Peripherals AEM Dual Gain Stage Processing 6 3 AEM accuracy and performance The Advanced Energy Monitor is capable of measuring currents in the range of 0 1uA to 50mA For currents above 250uA the AEM is accurate within 0 1mA When measuring currents below 250uA the accuracy increases to 1uA Even though the absolute accuracy is 1uA in the sub 250uA range the AEM is able to detect changes in the current consumption as small as 100nA The AEM produces 6250 current samples per second Note The current measurement will only be correct when powering the EFM32 from USB power through the debugger power select switch set to DBG 2013 10 10 t0026_0 21 www silabs com 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 hi
28. product names are the property of their respective owners Table 14 1 Kit Revision History Kit Revision Released Description A04 18 10 2012 Added USB micro B to USB A female adapter cable to kit BOM A03 15 06 2012 Updated PCB to improve USB micro AB connector footprint A02 15 05 2012 Updated PCB to add test points for EFM32 USB A01 26 04 2012 Initial production version 14 2 Errata Table 14 2 Kit Errata Kit Revision Problem Description Footprint of C250 is One of the capacitors on the OPAMP footprint as described in wrong Section 5 9 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 is only present on PCB s marked PCB2201 REV A00 2013 10 10 t0026_0 21 www silabs com EFMS2 the world s most energy friendly microcontrollers 15 Document Revision History Table 15 1 Document Revision History Revision Effective Date Change Description Number 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 t0026_0 21 www silabs com EFMS2 the world s most energy friendly microcontrollers A Disclaimer and Trademarks A 1 Disclaimer S
29. to IN A summary of the different supported debug modes are described in Table 10 1 Table 10 1 Debug modes Mode Description Debug MCU In this mode the on board debugger is connected to EFM32 on the EFM32LG STK3600 Debug IN In this mode the on board debugger is disconnected and an external debugger can be connected to debug the EFM32 on the EFM32LG STK3600 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 which is available through Simplicity Studio 10 2 Debugging during battery operation When the EFM32 is powered by the battery and the USB is still connected the on board debug functionality is available If the USB power is disconnected the debug controller on the kit will not work To enable debugging in this mode connect an external debugger e g another EFM32LG STK3600 to the debug pads in the bottom right corner of the EFM32LG STK3600 These pads are connected directly to the EFM32 debug interface The pinout of this debug connector is printed on the PCB and is also shown in the lower right corner of Figure 9 1 2013 10 10 t0026_0 21 www silabs com EFIM3S2 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
Download Pdf Manuals
Related Search
Related Contents
SN32F100 Spec. Mode d`Emploi - 05/02/15 à 8h à 9h Scarica il manuale Run.It! Retail Software System 13/01/2014 Cientificos Malteses Manual de instrucciones Copyright © All rights reserved.
Failed to retrieve file