Home
EFM32G-DK3550 Gecko Development Kit User`s Guide
Contents
1. ccm 29 2013 10 10 t0023 0 31 www silabs com fhe world s most energy friendly microcontrollers List of Figures 2 1 EFM32G DK3550 Block Diagram riii Eterna Rear redi Re ka red dedu aga ure Ea boas Ke DE Re ao peda nn wis be 3 3 1 EFM32G DK3550 hardware layout 0 eene he hehehe he nene ne ne ne ne ee ne eene nnne 4 CAPE No cEIpe EU 8 6 2 ANALOG DI ge rn M 8 6 3 Audio Out Block Diagram cuir ete rtt ne ei Beten TA e nee e cepe ine ee 9 6 4 Audio In Block Diagram soas deter ther enint A nen 10 a DL oer 11 EMIL RENEE 12 LAE su ugSu tid 13 0 8 12C BUS ME 14 GO MICKOSE HE ET 14 6 10 EBI peripherals isinin oaa e E E EE E AT R EE ED EEE ET EE EE 15 6 11 Resistive TOUCH Fil 3 16 6 12 Segment RIP a a A E en Ee 16 FAs Prototyping BOald ias 0 a a EREE E ENRE A EEE R EE EAEE RERE NEEE RE eee 18 9 1 Debug COMICIOS ru A E OOE TEE want aes OE ER TEILE a O EOE Osea 22 9 2 Debug Connector rosa eine oido 23 A P mE 26 2013 10 10 10023 0 31 www silabs com the world s most energy friendly microcontrollers List of Tables 4 4 GPIO s used for BSP f nctiohs iiri a a in aha bae area da eens FER Ya eddie 5 6 1 Iriterr pt SOU 66S m socitees erat aneen
2. EFM32 Gecko GPIO Microcontroller DEBUG TRACE Board Controller Analog SE ADC TOUCH DAC I2S EFM32G990F128 16 MB Flash ore 0 1L 05800 microSD Card Slot Analog DIFF EBI LCD SPI Audio Out Analog Peripherals E pops MN VANN LM VAN MANI ANI IN 4x40 Segment LCD 2013 10 10 t0023 0 31 www silabs com EFIVI32 the world s most energy friendly microcontrollers 3 Kit Hardware Layout The layout of the EFM32 Gecko Development Kit is shown below Figure 3 1 EFM32G DK3550 hardware layout RS232 UART amp MCU Plugin Power amp USB LEUART Board Ef as n LN YA gt gt 10 100Mbps j Ethernet p FEMS HS Lo A A Link Debug PLA AS MS TTT TET TL i Connector wc fesen Single Ended amp Differential 4x40 Segment LCD Analog Inputs 16 MB NOR Flash 4MB PSRAM Analog Audio Input Output MicroSD 15 Acus SAMA c 5 Card Slot Si 5 s 1 aanaaannan y Y O84 cs GNO aanananann 320x240 LCD TFT Display w resistive touch B scis wi aa tiii T ICO lt Dd W AEN CAER AEEETENI Buttons amp Joystick User LEDs www silabs com 10 t0023_0 31 EFINT32 the world s most energy friendly microcontrollers 4 Using the EFM32G DK3550 The EFM32 Gecko Development Kit is intended to be a complete platform for developing applications
3. BSP can be found in Simplicity Studio 2013 10 10 10023 0 31 www silabs com EFMS2 the world s most energy friendly microcontrollers 4 2 User Interface In addition to using the API provided by the BSP the kit can also be configured through the graphical user interface consisting of the TFT LCD display together with the buttons PB1 to PB4 and the 5 way joystick located below The board controller provides a simple menu system allowing most aspects of the kit to be configured directly The user is encouraged to explore the menu system and the different functions provided Some useful functions that can be performed using the menu system are Enabling or disabling access for individual peripherals Displaying information about the different boards on the kit Getting and displaying information about the EFM32 MCU part mounted on the MCU board Displaying real time current consumption of the EFM32 MCU Uploading and running example applications stored in the kit Adjusting the MCU voltage VMCU Selecting the debugging mode IN OUT MCU OFF Since the TFT display and keys are shared between the board controller and the EFM32 a separate button labeled AEM is present to switch control of the buttons and display By default when the kit has been started up control is given to the board controller and pressing the buttons interracts with the graphical user interface Pressing the AEM button once switches control over
4. CR Ete eer pgar Arco 17 7 1 Peripheral functions mapped directly to the Prototyping Board sss 18 8 ke AEM 82101623 0 SR TM ER m 20 FEE MPO usc 21 9 2 Trace MOdeS rh e EM 21 9 3 Debug connector pinout 2 2 cece e eee eee eme me me heme hem nente nentes me tiere tiere tee inten re tiere ree he rennes 22 9 4 Trace header pinout iecit socie a sienne soeur seat e Et NUR nk er er EHI EI ur A ud 23 t2 Eee wn 26 I azcc an Dc 26 13 1 Revision History 2013 10 10 10023 0 31 www silabs com Er NT32 the world s most energy friendly microcontrollers List of Examples 6 1 Interrupt enable Example eei eren A a Ip pep IUe P e 17 2013 10 10 t0023 0 31 www silabs com C116 6 LEOPARD GIANT WONDER ARM Cortex M3 ARM Cortex M3 ARM Cortex M3 ARM Cortex M4
5. amplifier can be connected to the EFM32 s LEUART peripheral by calling BSP PeripheralAccess BSP RS232 LEUART true The RS232 transceiver can also be shut down to prevent excess current leakage when the UART or LEUART is not in use without disconnecting the switches This can be done with BSP PeripheralAccess BSP RS232 SHUTDOWN true 2013 10 10 10023 0 31 www silabs com EFM SZ2 6 7 Ethernet the world s most energy friendly microcontrollers The kit contains a single chip Fast Ethernet controller consisting of a 10 100 physical layer transceiver PHY a MAC and an SPI interface Also present are the required magnetics and RJ 45 connector to provide network connectivity to an application Figure 6 7 SPI Ethernet MAC PHY ETH_ CS PD3 US1_CS 1 gt PD2 US1_CLK 1 ETH_SCLK SPI Ethernet ETH MOSI MAC PHY PDO US1_TX 1 gt a KSZ8851SNL ETH_MISO PD1 US1_RX 1 A EFM32 MCU The Ethernet controller has 12KB buffer memory on the receive queue and 6KB on the transmit queue and supports Auto MDIX Two LEDs are placed next to the RJ 45 connector to indicate link speed and activity The Ethernet interface can be enabled and connected to the EFM32 by calling BSP_PeripheralAccess BSP_ETH true The Ethernet controller also has an interrupt pin which can be routed through the board controller to the EFM32 Please refer to Section 6 14 for details on how to ena
6. for the EFM32 microcontroller The embedded debugger allows applications to be downloaded and debugged directly A set of useful peripherals is provided and custom hardware can be developed on the prototyping area where all the microcontroller s IO pins are made available By default the peripherals on the board are not connected to the MCU Interfacing the peripherals is done entirely without using jumpers but instead through the kit s board controller Two main approaches exist to configuring the board for an application from within the application itself using the Board Support Packge or by using the kit s user interface 4 1 Board Support Package The kit Board Support Package or BSP is provided to allow an application to control various aspects of the EFM32G DK3550 kit Peripherals can be connected or disconnected with simple calls to the API The user buttons and LEDs are also accessed through the BSP The easiest way to obtain the latest version of the BSP is through Simplicity Studio It can also be downloaded at http www energymicro com downloads software The BSP can be configured to use two different methods of communication toward the board controller SPI mode or EBI mode In SPI mode the EFM32 communicates with the board controller using a simple 4 wire SPI bus and in EBI mode the board controller becomes a memory mapped peripheral in the EFM32 s address space using the EFM32 s External Bus Interface module SPI mode uses
7. of the kit by selecting the AEM menu function The scale is logarithmic and the time scale of the graph can be adjusted AEM CFG Graph x scale 8 2 AEM theory of operation In order to be able to measure currents ranging from 100 nA to 50 mA 114 dB dynamic range two current sense amplifiers are utilized The amplifiers measure voltage drop over a small series resistor and translates this into a current Each amplifier is adjusted for current measurement in a specific range The ranges for the amplifiers overlap and a change between the two occurs when the current is 200 UA To reduce noise averaging of the samples is performed before the current measurement is presented in the AEM GUI During start up of the kit and when VMCU is changed an automatic calibration of the AEM is performed This calibration compensates for the offset error in the sense amplifiers 8 3 AEM accuracy and performance The Advanced Energy Monitor is capable of measuring currents in the range of 100 nA to 50 mA For currents above 200 uA the AEM is accurate within 100 uA When measuring currents below 200 uA the accuracy increases to 1 uA Even though the absolute accuracy is 1 uA in the sub 200 uA range the AEM is able to detect changes in the current consumption as small as 100 nA The measurement bandwidth of the AEM is 60 Hz when measuring currents below 200 uA and 120 Hz when measuring currents above 200 uA The table below summarizes the accuracy of th
8. the extended address range of the connected memories can still be utilized by using GPIO s PB 6 0 to control the higher address bits For the DK3550 the extended address range is disabled by default but can be enabled by calling BSP EbiExtendedAddressRange True 6 11 TFT LCD Display The EFM32 Gecko Development Kit contains a 320x240 pixel TFT LCD display which is used both as a graphical user interface toward the kit itself as well as a possible output device for the EFM32 MCU The AEM button is used to switch control of the TFT LCD display between the board controller and the EFM32 MCU The TFT LCD display has a built in SSD2119 controller which can be interfaced with the EFM32 s EBI module as a memory mapped peripheral When configured the display is mapped to the base address 0x84000000 Please refer to one of the TFT software examples on how to use this peripheral 2013 10 10 t0023 0 31 www silabs com EFIWVI32 the world s most energy friendly microcontrollers 6 12 Resistive Touch Screen The TFT LCD display is covered by a resistive touch panel which is connected to some ADC pins of the EFM32 microcontroller Figure 6 11 Resistive Touch Film TOUCHO PD3 ADCO CH3 gt i TOUSEN TOUCH1 PD4 ADCO CH4 g Dun TOUCH2 TOUCH X2 PD5 ADCO CH5 TOUCH3 TOUCH Y2 PD1 ADCO_CH1 EFM32 MCU Figure shows how the resistive touch film is connected When
9. to the EFM32 and pressing it again switches control back The current state is shown in the top right corner of the display KEYS AEM means that the board controller has control and KEYS EFM indicates that the EFM32 has control 4 3 Simplicity Studio The first step in getting started with the EFM32 Gecko Development Kit is to download Simplicity Studio from http www energymicro com simplicity The Simplicity Studio software package contains tools software examples and documentation relevant to developing applications with the development kit Some important tools included in Simplicity Studio are 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 t0023 0 31 www silabs com 5 Power and Reset 5 1 USB Power The EFM32G DK3550 can get its power from the standard USB 2 0 Type B port located on the motherboard The USB hub the kit is connected to needs to be able to deliver 500 mA 5 unit loads 5 2 External Power Supply By using the DC jack plug located on the motherboard the EFM32G DK3550 can be powered by an external power supply The voltage must be 5 V and the supply must be able to deliver 500 mA This is mainly intended as a suppleme
10. touched the X position can be read out by applying a voltage between the X1 and X2 electrodes and measuring the voltage on the Y1 or Y2 electrodes Likewise the Y position can be read out by applying a voltage accross the Y1 and Y2 electrodes and measuring the X1 or X2 electrodes The resistive touch screen can be accessed with the BSP command BSP PeripheralAccess BSP TOUCH true Note The pins PD1 and PD3 are shared between the Resistive Touch the Ethernet Controller the I2S DAC and the Analog Diff peripherals As a consequence these peripherals cannot be used simultaneously 6 13 Segment LCD The EFM32G890 plug in board contains a 160 Segment LCD that can be driven directly by the EFM32 In order to support both EBI peripherals and the Segment LCD analog muxes are used to switch between the two functions Pin PC12 is used to controll these switches Figure 6 12 Segment LCD LCD_SEG 39 0 r EBI Protoboard LCD_COM 3 0 PA13 LCD BCAP N PA12 LCD BCAP P PA14 LCD BEXT PC12 LCD SELECT EFM32 MCU 4x40 Segment LCD When the LCD SELECT signal is enabled a 22nF capacitor is connected between LCD BCAP N and LCD BCAP P and a 1uF capacitor is connected between LCD BEXT and GND This allows the use of the internal voltage booster to power the LCD if desired 2013 10 10 10023 0 31 www silabs com EFIWVI32 the world s most energy friendly micro
11. Board soo ET E EL 3 0 0 00 LET ooo n n n eoeneeerece feoneereree TITTTITITY Vu Ex ADA ET EL A m m nao on pg ee ww euuve M E ag E EL El oo oo o n u IEEE LEITET IT nsrerrererR wuweweeewew nnnereneee JAXZEXXEZEEE did vv IL LL EL EL FL FL EL 0 0 0 ooo ooo PANANCCACA EETITITIT rrerereeecee 9090000999 125 DATA 12S SCLK GND Additionally the Prototyping Board also contains connection points for different voltages 3 3V 5V GND and VMCU Any current drawn from the VMCU pins will also be measurable with the Advanced Energy Monitor allowing the whole circuit to be evaluated 7 2 Peripheral Signals In addition to the mapping of MCU pins some of the kit s peripherals are also mapped directly to the Prototyping Board In Figure 7 1 the pins labeled Xn are extra peripheral functions Note that these pins are connected to the peripherals after the isolation switches so calls to the BSP are not necesarry to enable connect them The table below shows which peripheral function signals are mapped to which pins on the Prototyping board This can be useful when a peripheral cannot be used normally because the required pins on the EFM32 are already used for another purpose Custom connections between EFM32 pins and some kit peripherals can then be made on the Prototyping Board Table 7 1 Peripheral functions mapped directly to the Prototyping Board Prototyping Board Signal Nam
12. E FINI 32 the world s most energy friendly microcontrollers USER MANUAL Development Kit EFM32G DK3550 ea D NN ee The EFM32 Gecko Development Kit is a feature rich development platform for evaluation prototyping and application development for the EFM32 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 Integrated emulator providing full debug and trace capability e Exchangeable prototyping board for custom application circuit development SILICON LABS the world s most energy friendly microcontrollers 1 Introduction 1 1 Description The EFM32G DK3550 is a highly flexible development platform demonstrating some of the EFM32 Gecko microcontroller s many capabilities The rich feature set makes the kit an excellent platform for evaluating the microcontroller as well as a good starting point for application development The EFM32G DK3550 kit consists of three separate boards 1x BRD3201A EFM32 Development Kit Motherboard 1x BRD3302A EFM32 G890 MCU plugin board 1 x BRD3500B EXP32 prototyping board The EFM32 G890 MCU is mounted on the plugin board which plugs into the Motherboard All the EFM32 GPIO pins are available through pin headers on the prototyping board Additional kit contents AR Embedded Workbench ARM Kickstart version CD DVD Atollic TrueST
13. FLAG_ETH Example 6 1 Interrupt enable example For example to enable interrupts from both the push buttons and the joystick Disable all BSP interrupts BSP InterruptDisable Oxffff Clear all interrupt flags BSP InterruptClear Oxffff Enable interrupts in the BSP BSP InterruptEnable BC INTEN PB BC INTEN JOYSTICK In addition to enabling the interrupts in the BSP the EFM32 must also be configured to allow interrupts from pin PE2 Configure interrupt pin as input with pull up GPIO PinModeSet gpioPortE 2 gpioModeInputPull 1 Set falling edge interrupt and clear enable it GPIO IntConfig gpioPortE 2 false true true Enable even GPIO interrupts NVIC ClearPendingIRQ GPIO EVEN IROn NVIC EnableIRQ GPIO EVEN IROn 2013 10 10 t0023 0 31 www silabs com EFIWVI32 the world s most energy friendly microcontrollers 7 Prototyping Board 7 1 Description The Prototyping Board is a plugin board that contains a large area for constructing custom circuits It contains a veroboard area and many unpopulated footprints which can be used for different SMT parts Each TSSOP and SSOP site has decoupling capacitors close by All the EFM32 GPIO pins are made available on pin headers Figure 7 1 is an illustration which shows how the MCU GPIO pins are mapped to the Prototyping Board Figure 7 1 Prototyping
14. FM32 on the MCU plugin board is disconnected and the built in debugger can be used to debug an EFMS2 in an external application Debug OFF In this mode both the debug connector and the built in debugger is disconnected 9 2 Trace Additional debugging modes are provided for Trace functionality The Trace modes are similar to the Debug modes but have Trace enabled as well as SWD Table 9 2 Trace modes Mode Description Trace MCU In this mode the built in J Trace is connected to EFM32 on the MCU plugin board and Trace is enabled The debug connector on the kit is not used Trace IN In this mode the built in debugger is disconnected and an external Trace emulator can be connected to debug the EFM32 on the MCU plugin board Trace OUT In this mode the EFM32 on the MCU plugin board is disconnected and the built in J Trace can be used to run Trace on an EFM32 in an external application Note The EFM32G series devices does not support Embedded Trace so the Trace MCU and Trace IN modes are not supported for the EFM32G DK3550 kit It is however possible to use Embedded Trace with external targets using Trace OUT 2013 10 10 t0023 0 31 www silabs com EFMS2 9 3 Debug Connectors 9 3 1 J Link Debug Connector the world s most energy friendly microcontrollers This connector is situated on the top left side of the kit and is used for Debug IN and Debug OUT The pinout is described in Table 9 3 Figure 9 1 Debug C
15. PI BUS SCLK PE6 USO_RX 1 SPI BUS MISO PE USO_TX 1 SPI BUS MOSI EFM32 MCU The microSD card slot can be connected to the EFM32 with the BSP function BSP PeripheralAccess BSP MICROSD true 2013 10 10 t0023 0 31 www silabs com EPFrFINT3 32 6 10 Flash and PSRAM Two memory devices are available through the EFM32 s external bus interface the world s most energy friendly microcontrollers A 4MB 2M x 16 PSRAM A 16MB 8M x 16 NOR Flash Figure 6 10 EBI peripherals BC ADDR 22 16 PB 6 0 EBI_A 22 16 gt Extended Address Range BC AD 15 0 PE 15 8 PA15 PA 6 0 gt BC ADDRITS 0 EBI AD 15 0 PC11 EBI ALE PF9 EBI REn BC RE PF8 EBI_WEn BC WE PF 7 6 EBI_BL 1 0 BC_ BL 1 0 BC_HCS2 PD11 EBI_CS2 BC_ CS3 PD12 EBI_CS3 EBI Connect EFM32 MCU As shown in figure Figure 6 10 the PSRAM and FLASH devices are selected by the EBI CS2 and EBI CS3 signals respectively The PSRAM and Flash devices map to the EFM32 s address space as following e PSRAM 0x88000000 to 0x883FFFFF Flash 0x8C000000 to Ox8CFFFFFF The EBI is automatically configured by the BSP for all external memory devices when the board is configured in EBI mode with BSP Init BSP INIT DK EBI Although the EFM32 Gecko MCU s EBI module does not support extended addressing
16. UDIO for ARM evaluation CD USB cables 1 2 Features Advanced Energy Monitoring system for precise current tracking Special hardware configuration for isolation of the MCU power domain Replaceable prototyping board for quick custom application development Full feature USB debugger emulator with trace support and debug out functionality e 3 5 inch TFT LCD 320x240 pixel RGB color display with resistive touch film Smart Board Controller handles configuration and signal routing Single ended and differential ADC inputs Line in stereo audio input amplifier Line out stereo audio output amplifier e 1x RS232 Serial Port DSUB 9 10 100 Mbps Ethernet MAC PHY with SPI interface MicroSD card reader SPI mode 2Meg x 16 AMB PSRAM with 70ns access time 8Meg x 16 16MB NOR Flash with 90ns access time 2Kb I2C EEPROM Temperature sensor with 12C interface 5 way joystick 4 User buttons 4 bit DIP switch and 16 user LEDs 4x40 Segment LCD 2013 10 10 t0023 0 31 www silabs com EFINT32 2 Kit Block Diagram An overview of the EFM32 Gecko Development Kit is shown in Figure 2 1 the world s most energy friendly microcontrollers Figure 2 1 EFM32G DK3550 Block Diagram Temp Sensor Buttons amp LEDs COM Peripherals 00000 0000 RS232 Ethernet 12C LE UART SPI EXP32 Prototyping Board
17. ae case rates sere OE cuim INI EIE II tL MIL MIL I EID LI D IE 21 9 1 Debug Ic 21 DEI e E 21 9 3 Debug Connector S REED E a EOE e AE E EEE ET A OE EEE EEE E EEE 22 10 Integrated Development Environments sssssssssssssssssessnee ne ennemi he nennen memini tenen rente ren tenere nens 24 10 1 IAR Embedded Workbench for ARM sssssssssssssssssesne ne me mene nennen nemen hen tenentem rennen ree rennen rene 24 10 2 Atollic True STUDIO tor ARM u a etat eee reete en edad ate ee RE a PEERS ets 24 10 3 Rowley Associates CrossWorks for ARM sss mme meme nennen mem nennen nennen rennen rennes 24 10 4 CodeSourcery Sourcery G ocrais nn RR enn tentent entre senten nennen nenne 24 10 35 Kel MOKARM MP Ecc 24 11 Schematics Assembly Drawings and BOM sssssssssssssseee eee ehe hehe hehehe he he he he he ne hene nennen 25 12 Kit Revision History and Errata orien tese i een Ed pace Kc te PARA He E RUPEE KO tr FEM tee 26 12 1 Kit Revision History occoccoccoccnccoconccnconccnconcnnnonconronrn me me nemen hem nennen nente he tiere tente tee he tense rennen rennes 26 12 2 Kit Efrata ci a REDUCE a UE US 26 13 Document REVISION ISO u iaa O68 27 A Disclaimer and Trademarks it Rene eset tite a Pide iere sued eR ToU Pn 28 Al DISClAIMer EE 28 A 2 Trademark Information ET dis 28 B Gontaet Ihformation e iia 29
18. ble the Ethernet controller interrupt Note The pins PDO to PD3 are shared between the Ethernet Controller and the Analog Input peripherals As a consequence these kit features cannot be used simultaneously 2013 10 10 t0023 0 31 www silabs com Er nNT32 the world s most energy friendly microcontrollers 6 8 PC EEPROM and Temperature Sensor Two devices are attached to an 12C bus which can be connected to the EFM32 These devices are Temperature Sensor 2Kb EEPROM Both devices support a maximum I C bus speed of 400 kHz Figure 6 8 I2C Bus 3V3 I2C BUS SDA PD14 l2CO_SDA 3 12C_BUS SCL PD15 12C0_SCL 3 EFM32 MCU EEPROM TEMP 24AA024 ff STDS75 The EEPROM device consists of 256 bytes 256 x 8 and has a lifetime of 1 000 000 erase write cycles The EEPROM s I C address is OxAO The temperature sensor can measure temperatures from 55 to 125 C with selectable resolution between 9 and 12 bits The temperature sensor s I C address is 0x90 The 12C bus can be connected to the EFM32 with the BSP function BSP_PeripheralAccess BSP_I2C true 6 9 microSD A microSD card can be connected to the EFM32 through the serial peripheral bus The card slot is situated under the LCD display This allows for applications with large storage and or file system requirements Figure 6 9 microSD SPI BUS CS PE4 USO_CS 1 PES USO CLKit 1 S
19. connector is available for directly connecting an analog signal to the ADC of the EFM32 The input can also be used for digital I O If required 50 ohm termination can be added by soldering in a jumper ST2 Figure 6 1 ANALOG SE PD2 ADCO_CH2 EFM32 MCU The single ended analog input can be connected by calling BSP PeripheralAccess BSP ANALOG SE true Note The pin PD2 is shared between the Analog SE and the Ethernet Controller peripherals As a consequence these kit features cannot be used simultaneously 6 2 Differential Analog Input The ANALOG DIFF input consists of a BNC connector and a differential operational amplifier with ground as reference The op amp output common mode voltage is 1 65V and also implements a low pass active filter with a cut off frequency of 4MHz Figure 6 2 ANALOG Diff ANALOG DIFF N PDO ADCO CHO ANALOG DIFF P PD1 ADCO CH1 Sn SEto DIFF SUR EFM32 MCU Amplifier v This peripheral can be connected by calling BSP_PeripheralAccess BSP_ANALOG_DIFF true Note The pins PDO and PD1 are shared between the Analog Diff peripheral and the Ethernet Controller As a consequence these kit features cannot be used simultaneously 2013 10 10 t0023_0 31 www silabs com the world s most energy friendly microcontrollers 6 3 Audio Out The kit contains an audio output amplifier with filter connecte
20. controllers 6 14 Peripheral Interrupts Some of the peripherals on the development kit can generate interrupts The interrupts from these peripherals are routed through the board controller which in turn signals pin PE2 on the EFM32 MCU to indicate that an interrupt has occurred In order for the board controller to signal interrupts the interrupts must first be enabled The BSP provides functions for enabling and disabling interrupts e int BSP InterruptEnable uintl6 t flags e int BSP InterruptDisable uintl6 t flags When a GPIO interrupt occurs and the interrupt is caused by a falling edge of PE2 the interrupt flag register in the board controller should be read to determine which peripheral caused the interrupt The flag should also be cleared after processing the interrupt This can be done with the functions e uintl6 t BSP InterruptFlagsGet void e int BSP InterruptFlagsClear uintl16 t flags The parameter flags is indicates which bits in the corresponding interrupt enable or flag registers should be set or cleared This parameter should be a combination of the bit masks shown in Table 6 1 Table 6 1 Interrupt sources Number Interrupt Source Interrupt Enable Mask Interrupt Flag Mask 0 Push Buttons BC_INTEN_PB BC_INTFLAG_PB 1 Dip Switch BC_INTEN_DIP BC_INTFLAG_DIP 2 Joystick BC_INTEN_JOYSTICK BC_INTFLAG_JOYSTICK 3 AEM Button BC_INTEN_AEM BC_INTFLAG_AEM 4 Ethernet Controller BC_INTEN_ETH BC_INT
21. d s most energy friendly microcontrollers An audio input amplifier with filter is present and can be connected to the ADC of the EFM32 The gain of the amplifier is 0 dB and the bias point is 1 65 V The filter is a 3 pole linear phase MFB filter with a cutoff frequency of 20 kHz In addition to the input amplifier and filter the line in is equipped with a voltage divider resulting in 6 dB attenuation Figure 6 4 Audio In Block Diagram AUDIO IN RIGHT A PD6 ADC0_CH6 AUDIO IN LEFT PD7 ADCO CH7 i Line In AUDIO IN Amplifier Jack EFM32 MCU The line in amplifier can be connected directly to the EFM32 by calling BSP PeripheralAccess BSP AUDIO IN true 2013 10 10 t0023 0 31 www silabs com EFIVI32 the world s most energy friendly microcontrollers 6 5 User Interface Peripherals A set of buttons and LEDs are provided as a simple way of interfacing to applications These peripherals include A 4 way DIP Switch 4 Push Buttons A 5 way Joystick 16 User LEDs Figure 6 5 User interface DIP switch Push buttons EFM32 MCU Board Controller Joystick apropiar User LEDs The buttons and LEDs are not directly connected to the MCU instead the board controller is used to read button states and set the LED outputs This can be done with a set of BSP API functions e uintl16 t BSP PushButtonsGet void e uintl6 t BSP JoystickGet void e uint32
22. d to a 3 5 mm jack The gain of the amplifier is fixed to 6 dB and is referenced to ground The filter is a 3 pole linear phase MFB filter with a cutoff frequency at 3 dB of 27 kHz Two possibilities exist to drive the audio output amplifier Using the internal DAC of the EFM32 Using the external I28 DAC on the motherboard Figure 6 3 Audio Out Block Diagram 12S DATA PDO US1_TX 1 128 SCLK PD2 US1_CLK 1 12S WS PD3 US1_CS 1 PB1 1 DACO OUTO AUDIO OUT RIGHT d x AUDIO OUT LEFT PB12 DACO_OUT1 p Line out AUDIO OUT amplifier Jack EFM32 MCU As shown in the block diagram above a multiplexer is used to select between the two possible audio sources The multiplexer and isolation switches are controlled by the board controller and can be enabled by calling the appropriate function in the BSP API The audio output amplifier can be connected to the EFM32 s internal DAC by calling BSP PeripheralAccess BSP AUDIO OUT true The audio output amplifier can be connected to 12S DAC by calling BSP PeripheralAccess BSP I2S true Note The EFM32G890F 128 does not support 125 mode on it s USARTs and so the 125 DAC peripheral is not natively supported on this kit configuration It is however possible to write code to use the GPIO s to control the DAC 2013 10 10 10023 0 31 www silabs com EFM SZ2 6 4 Audio In the worl
23. download details for CrossWorks for ARM You will find CrossWorks project files in the rowley subfolder of each project 10 4 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 10 5 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 10023 0 31 www silabs com EFM32 the world s most energy friendly microcontrollers 11 Schematics Assembly Drawings and BOM The schematics assembly drawings and bill of materials for the three different boards included in the EFM32 Gecko Development Kit are available through Simplicity Studio when the correct kit documentation package has been installed 2013 10 10 t0023 0 31 www silabs com EFINT2 the world s most energy friendly microcontrollers 12 Kit Revision History and Errata 12 1 Kit Revision History The kit revision can be found printed on the box label of the kit as outlined in the figure below Figure 12 1 Revision info H 1P Part EFM32G DK3550 GEC KO D nenn nn EFM32G DK3550 D Date 22 12 11 e nn WE parade ergy Micr zu rights reserved Energy Micro EFM EFM 32 EFR logo and ean ademarks and the world s ombina
24. e Description pin P11 7 AUDIO_OUT_RIGHT Audio out right channel before audio out mux 2013 10 10 t0023 0 31 www silabs com EFMI32 the world s most energy friendly microcontrollers Prototyping Board Signal Name Description pin P11 8 AUDIO OUT LEFT Audio out left channel before audio out mux P11 9 AUDIO IN RIGHT Audio in right channel P11 10 AUDIO IN LEFT Audio in left channel P12 3 IF RS232 RX RS232 receive signal P12 6 IF RS232 TX RS232 transmit signal P12 11 SPI BUS SCLK MicroSD serial clock P12 12 SPI BUS ZCS MicroSD chip select P12 13 SPI BUS MOSI MicroSD data in P12 14 SPI BUS MISO MicroSD data out P12 15 Il2C BUS SDA lC EEPROM and Temperature sensor serial data P12 16 Il2C BUS SCL lC EEPROM and Temperature sensor serial clock P10 15 l28 DATA 125 DAC serial data P10 16 l28 WS 125 DAC word select P10 17 l28 SCLK 12S DAC serial clock 2013 10 10 t0023 0 31 www silabs com he world s most energy friendly microcontrollers 8 Advanced Energy Monitor 8 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 real time The current consumption data can also be viewed directly on the TFT LCD display
25. e holders 2013 10 10 t0023_0 31 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 t0023 0 31 www silabs com E MZ Ar Ja EFNT32 the world s most energy friendly microcontrollers Table of Contents Te MMTOGUCTION sei id ci 2 ale DOSCHPION ee Aineen E E EAA A E EN E EEE ieee Ea SaS Ea T 2 12 FOQUUTES dica a AT alu AE NE E NA pala E A E ERE DEAT EE TEO EN 2 2 KE BIOCK Diagrami rra ET OO DR DOS m 3 3 Milla rabiem 4 4 Using ithe EEM32G DKI550 cT 5 4 1 Board Support Package ccceee cece cece cence eee e eee nennen me enne hen mem hinten tense tente tentem tente tette tense nennen 5 4 2 User Interface cere arar atte 6 4 3 Simplicity Studio RRREEEEEE 6 5 Power and Raset EM 7 USB ROWEN Suonerie EM ni I aes 7 5 2 External Power SUpply nase runt nennen nn er nen nn nn ne en ee ei 7 Hx meal T 7 9 4 mS 7 5 5 Board Controller Reset ricino entree E ends Uer o kleine 7 Gs 119 111 ra EN E 8 6 1 Single ended Analog Input ericson eeii enne nenne nennen nennen hinten tent et tent ee
26. e two current sense amplifiers in different ranges Table 8 1 AEM accuracy Current range Low gain amplifier accuracy High gain amplifier accuracy 50 mA 0 1 mA 1mA 0 1 mA 200 uA 0 01 mA 1uA 10 uA z 0 1 uA 1uA 0 1 uA Note In order for the AEM to work correctly VMCU should be 3 0V or higher 2013 10 10 10023 0 31 www silabs com the world s most energy friendly microcontrollers 9 Debugging The EFM32 Gecko Development Kit contains a built in J Trace for Cortex M3 from Segger It is a fully functional debugger capable of both serial wire debugging and trace ETM The embedded debugger can also be used to download flash and debug external targets In addition to the internal debugger using an external debugger is also supported 9 1 Debug Modes The different debug modes are referred to as Debug IN Debug OUT Debug MCU and Debug OFF and are summarized in Table 9 1 Switching between the different debugging modes can either be done with the User Interface CFG Debug Control or through the energyAware Commander tool Table 9 1 Debug modes Mode Description Debug MCU In this mode the built in debugger is connected to EFM32 on the MCU plugin board The debug connector on the kit is not used Debug IN In this mode the built in debugger is disconnected and an external debugger can be connected to debug the EFM32 on the MCU plugin board Debug OUT In this mode the E
27. f 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 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 amp EZLink amp EZMac EZRadio amp 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 respectiv
28. fewer pins to communicate with the board controller but the external memory devices and TFT display are not available in this mode Use this mode when the IO taken up by the EBI are needed for other purposes To enable the board controller in SPI mode use the BSP function from within the application code BSP Init BSP INIT DK SPI EBI mode is the preferred mode of interfacing to the board controller This gives access to all the board functions as well as the external memory devices PSRAM and Flash and the TFT LCD display To enable the board controller in EBl mode use the BSP function from within the application code BSP Init BSP INIT DK EBI In order to configure the BSP some dedicated GPIO pins are used These pins are listed in Table 4 1 and are normally controlled by the BSP No manual configuration of these pins are necessary Table 4 1 GPIO s used for BSP functions MCU Pin PB15 PD13 Description Board controller configuration line 1 Board controller configuration line 2 Interrupt request from board controller Once the BSP has been configured the different peripherals and kit functions can be accessed through the BSP API Please refer to Chapter 6 for detailed information about the different kit peripherals and how to access them with the BSP It can also be useful to take a look at some of the software examples found in Simplicity Studio Note Full documentation and source code for the
29. mber Function 2013 10 10 0023 0 31 Target reference voltage 2 TMS SWDIO Serial Wire Data Input Output 3 TRST JTAG test reset 4 TCK SWCLK JTAG TCK Serial Wire Clock 6 TDO SWO JTAG TDO Serial Wire Output 8 TDI JTAG TDI 10 RESET Target MCU reset 12 TRACECLK Trace Clock 14 TRACE DATA O0 Trace Data pin 0 16 TRACE DATA 1 Trace Data pin 1 18 TRACE DATA 2 Trace Data pin 2 20 TRACE DATA 3 Trace Data pin 3 7 9 NC Not Connected 11 13 PD These pins have a 100k pull down 19 Cable Detect This signal must be pulled low externally for the kit to detect cable insertion 3 5 15 GND 17 19 www silabs com EFMI32 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 EFM32G DK3550 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 10 2 Atollic TrueSTUDIO for ARM An evaluation version of Atollic TrueSTUDIO for ARM is also included on a CD in the EFM32G DK3550 kit 10 3 Rowley Associates CrossWorks for ARM See the quick start guide for
30. nennen nennen nenne 8 6 2 Differential Analog Input carte E eet o a anat 8 63r A di OUT ge E 9 6 4 Audio Inr i e een a Bra aaa Tr PE E TI PEER RR PETER 10 6 5 User Interface Peripherals ssssssssssssssssssssssssenneenen he ne he he he nennen rn he nensi tenni hene nenne nennen 11 CAL LM 12 OTa ENGEMET TIERE 13 6 8 PC EEPROM and Temperature Sensor ssssssssssssssssssneee he hehe he he hehe he hene nennen nennen 14 6 9 microSD sec e 14 6 10 Flash and PSRA Mii anata RE AT RER 15 6 11 TETELCD Display e DUUM 15 6 12 Resistive TOUCH Screen i i ud eee onana MIR erede pte uM MP en De QM E nensi AS Mene DAR Rd IURE 16 6 13 Segment ep 16 6 14 Peripheral Interrupts eR vectored cee 17 yi IPROLOLY DING o PERBEREFTEERERE IERCETEERGERER A E ARE 18 veg mw 18 7 2 Peripheral Signals cceeseeeeeeceeceec eee eeceeee eee eee enne ener nn nro tentent enne ee 18 8 Advanced Energy Monitor ui teet ite ba eet orte a 20 8 1 Usage oi tec 20 8 2 AEM theory of operation ooccoccoccnccnconccoconccnnoncnnroncnnron rr mem een ee nee rennen ren eerie ncaa se ee rentre tenter rene 20 8 3 AEM accuracy and performance esee rete idee Peak IRAN A PR San RE PU ERR De ARE PRA REF 20 9 STEIN
31. nt to the USB power for example when a custom circuit on the prototyping board needs more power The power jack dimensions should be a standard 5 5 mm outer diameter and 2 1 mm inner diameter The tip is 5V and the sleeve is GND 5 3 ON OFF Button A power button is situated on the lower right corner of the motherboard Press once to turn on the kit and press once again to turn off 5 4 MCU Reset The primary user reset for the MCU is the reset button on the MCU board This will only reset the MCU The MCU can also be reset by an emulator either by the on board debugger or an externally connected emulator 5 5 Board Controller Reset The board controller can be reset by pushing the reset button on the main board 2013 10 10 10023 0 31 www silabs com EFM S2 the world s most energy friendly microcontrollers 6 Peripherals The peripherals on the EFM32 Gecko Development Kit are all isolated from the EFM32 s IO pins by default Peripherals are isolated to prevent excess current leakage into unused peripherals The different peripherals can be connected using simple functions in the kit s board control software package This chapter describes the different peripherals that can be connected to the EFM32 together with the BSP functions required to do this Before any of the described functions can be called the board must first be configured in either EBI or SPI mode as described above 6 1 Single ended Analog Input A BNC
32. onnector VTARGET oo 2 NC TRST oo 4 GND TDI oo 6 GND TMS SWDIO oo 8 GND TCK SWCLK oo 10 GND RTCK oo 12 GND TDO SWO nn 14 GND HRESET oo 16 GND PD uu 18 Cable Detect PD oo 20 GND Table 9 3 Debug connector pinout Pin Function Note number 1 VTARGET Target voltage on the debugged application 2 NC Not Connected 3 TRST JTAG test reset 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 2013 10 10 0023 0 31 www silabs com EFIVI32 the world s most energy friendly microcontrollers 9 3 2 Trace Connector The Trace Connector is situated on the left side of the kit below the Debug Connector It is used for the Trace IN and Trace OUT debug modes The pinout is described in Table 9 4 Figure 9 2 Debug Connector VTref nn 2 TMS SWDIO HTRST nn 4 TCK SWCLK GND nau 6 TDO SWO 8 TDI PD oa 10 RESET PD oa 12 TRACECLK NC oa 14 TRACE DATA 0 GND o o 16 TRACE DATA 1 GND oo 18 TRACE DATA 2 Cable Detect su 20 TRACE DATA 3 Table 9 4 Trace header pinout Pin nu
33. t BSP DipSwitchGet void e void BSP LedsSet uint32 t leds e BSP LedSet int ledNo void BSP LedClear int ledNo e uint32 t BSP LedsGet void e int BSP LedGet int ledNo The various buttons on the kit can also be configured to generate an interrupt to the EFM32 when their state changes Please refer to Section 6 14 for information on how to enable interrupts for these peripherals Note The push buttons are also used to control the Advanced Energy Monitor AEM application A separate button labeled AEM is used to switch the role of the push buttons 2013 10 10 t0023 0 31 www silabs com EPrmwT 32 6 6 RS232 the world s most energy friendly microcontrollers An RS232 level converter together with a DSUB 9 connector is provided for serial communication between the EFM32 and an external device The pinout is such that the kit is the DCE Data Circuit terminating Equipment Hardware flow control signals are not used Figure 6 6 RS232 PC6 LEUART 1_TX 0 gt PC7 LEUART 1_RX 0 PEO UO_TX 0 gt gt TXD pin2 RXD pin3 PE1 UO_RX 0 i RS232Level EFM 32MCU Converter DSUB 9 The RS232 peripheral can be connected either to a standard UART peripheral or to the Low Energy UART LEUART of the EFM32 The audio output amplifier can be connected to the EFM32 s UART peripheral by calling BSP PeripheralAccess BSP RS232 UART true The audio output
34. tions thereo em e re gy S n r 115100140 fendi microcontr sin dot me e the trademarks of Energy MS ARMS Co eds oe E 2m disk stered trademark a jus ader lemarks of OIM Kl Rev AO1 ARM Limite d Other terms and eh names are the property of their respective owners Table 12 1 Change log Kit Revision Released Description A04 20 12 2012 Added Atollic TrueSTUDIO for ARM Evaluation CD to Kit BOM A03 24 09 2012 Updated DK motherboard revision due to new TFT LCD P N A02 07 05 2012 Changed quick start guide to Get Started card A01 13 02 2012 Updated MCU plugin board revision and USB cable part number A00 04 10 2011 Initial kit version 12 2 Kit Errata Table 12 2 Errata Kit Problem Description Revision All Trace does not Due to problems with the current kit firmware embedded trace of external work with current kit devices does not work This issue will be resolved in a future firmware firmware Ov9p10 update All Ethernet Interruptis Due to issues with the current kit firmware 0v9p10 interrupts from the not currently working ethernet controller are not currently working This will be fixed in a future firmware update 2013 10 10 t0023 0 31 www silabs com EFIVI32 the world s most energy friendly microcontrollers 13 Document Revision History Table 13 1 Revision History Revision Effective Date Change Description Number 0 31 10 10 2013 Updated doc
35. ument template and legal contact information 0 30 07 01 2013 Added information on peripheral interrupts Updated names of BSP function calls Added pinout diagrams of debug connectors Updated kit revision history and errata section 0 21 16 03 2012 Minor update Fixed some typo s and added segment LCD figure 0 20 30 01 2012 Updated peripheral and protoboard section Added section on segment LCD 0 10 04 10 2011 First revision with revision history 2013 10 10 t0023 0 31 www silabs com EFMS2 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 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 o
Download Pdf Manuals
Related Search
Related Contents
User Manual for the Interactive Geometry - beck Geha A3 Premium fi-4110EOX2 Guía del Usuario Untitled - DataVoice Samsung RF26NBRS User Manual Severin KA 4191 coffee maker User Manual Controller CPC10PN - E-T Caution Notes Features Specifications Installation MANUAL MS-X3000 dual cam GPS Polar H2 User's Manual Copyright © All rights reserved.
Failed to retrieve file