Home

USER MANUAL

image

Contents

1. Ng mS DEBUG EXT CABLE ATTACH p 10 R800 10K TP803 z np S 9 9 8 8 8 8 1 8 VTARGET P800 74LVC4066 U800A 2 a DH 2j wi RP800 U801A 2 e 3 DH FIRST me 3 2 Ria SW_ TRST 1 8 2 n 47 BEBUG ATAST OUT p 10 6 a 5 932 SW TDI 12 4 1B2 1A2 46 DEBUG TDI OUT p 10 D amp 7 DH TMS SWDID zl 10 32 ay SW 5 SWDIO 3 5 lt 2 ips Fas pod 10 9 DH TCK SWCLK SW SWCLK 4 5 6 43 12 E Tr DHANG rt g 1 4 1A4 lt lt DEBUG TCK SWCLK OUT p 10 14 a 13 DH TDO SWO ol 13 VTARGET 9 185 47 16 a amp 15 DH i 1E 5 186 1 6 38 x 18 74 17 6 RP801 12 167 1 37 GND vot 19 ae 12 1 8 13 36 DEBUG I
2. LED900 O O O O O TESIS 20 19 600 0600 0 0 00 0 L600 18 25 800 20 D D 850803 LCD500 D800 id 180902 a afa 0902 mE Lim m ie peoo 5 400 4 2 x EIE E O 1 0903 3 z U801 pe 4 4 8 802 EB 2112 Caos Sz ces C703 1805 24 m 5 85 53 8 5 5 5 700 2 iu W100 SW101 E ewe J100 als L400 s ee T100 ana Br ar a sf p lero ED P 5 oS TPWo eio 2 TPs
3. 400 U300C DECOUPLING _ 6400 p9 MCUDBG_ RESET gt gt 6 RESETn PES SZ D5 GND VMCU TP401 VDD p7 vob 58 AVDD VDD te VDDU1 1 2 AVDDU1 AVDD VOD 64 PENN y AVDD VDD SW400 BLM21B102S 8400 1R R401 C401 C404 C403 C404 404 404 C401 100R 1 n 3 X 0 e 404 C4iQ C411 2 4 F9 C408 vss HOON HOON hoon 100 100 10U x m D4 GND 100N 10U 10N 10N Need C7 GS vss GND kz AS vss gio AVSS VSS Fag x AVSS vss cip x EFM32G890F128 x GND GND Frequency Clock l l l m p4 m LFXTALN p4 l l mK HFXTALP LFXTALP 4 l 400 401 Le 1 2 4 l C412 32 0MHz C413 32 768kHz 12P 12 i i C414 415 22 22P x x GND GND x x GND GND l TOP Schematic Title 2 Starter Title Designed Approved EFM32 Power GB lt OrgAddr2 gt Document number Revision lt Code gt BRD2001 Design Created Date Sheet Created Date Sheet Modified Date Sheet Wednesday December 03 2008 Tuesday January 12 2010 Wednesday March 03 2010 5 of 10 A Q 4 5 4 3 2
4. 2 6 PA 15 0 lt U300A p2 5 6 MCU_PBI15 0 lt A0 TIMER0_CC0 0 1 I2C0_SDA 0 LCD_SEG13 PC 15 0 MCU PAs BOT At TIMERO CC 0 1 CLKOUT1 AD10 I2C0_SCL 40 LCD SEG14 p239 POS MCU PAS Bf 2 TIMERO 0 1 CLKOUTO AD11 LCD 5 5 2 6 MCU_PD 15 0 MCU PA E3 TIMERO 0 AD12 UART0_TX 2 LCD_SEG16 TS MCU PA5 E2 4 TIMERO 0 UARTO_RX 2 LCD SEG17 2 6 MCU PE 15 0 MCU PAS ET 5 TIMERO CCC2 0 EBI AD14 LEUART1_TX 1 LCD SEG18 p 2 6 PF10601 Q MCU PA Fig EBI_AD15 LEUART1_RX 1 LCD_SEG19 6 9 MCU PF 9 0 lt D0 USART1_TX 1 PCNT2 SOIN 0 CHO RT D PAR H5 ED SEDES SEGUG D1 TIMERO CCO 3 USART1_RX 1 2 STIN 0 PO MGU PAS A8 TIMER2 CCO 40 LCD MCU 91 pa TIMERO_CC1 3 USART1_CLK 1 CH2 J6 9 COT 0 LCD SEGS7 MCU PD3 J10 E a x 10 TIMER2 CC2 0 LCD_SEG38 D3 TIMER0_CC2 3 USART1_CS 1 ADCO_CH3 MCU E MCU PD4 Jii Aii LCD SEG39 04 LEUARTO 0 ADCO_CH4 MCU PAi2 J4 MCU PD5 A12 TIMER2 1 LCD P D5 LEUARTO 0 CH5 MCU PAIS K3 MCU PD6 H10 A13 TIMER2
5. TP702 VMCUR TP700 TP701 TP709 U701 U700 3 R701 0700 21 4 1 R725 2 1 R700 ART 700 C701 10K E ES R702 0 TP703 VMCU C702 C703 7 sup 180K 10U 100N w L 5 NM 5 GND a m T GND HEAT TS5A3159A C704 E Em C706 ay ae on Lagak D ADU 6705 T OK i I i EE GND GND GND 100mA calibration switch y on TP715 GND GND x 1 GND SW700 TP704 TP705 TP712 714 p TP711 713 P700 U702A TS3A4751 TL 2 3 I cov 2 COM3 Hi 4 AEM CTRLO 13 GND CTRLI 5 1 R705 1 R706 R707 R708 CTRL2 1K 22K L 1M INS C IN4 10 _ 0 power regulators GND VMCU_R VMCU S eros VMCU VMCU S 6306 vos vos i A R709 R710 aN R711 R712 1K8 U703 LTC6102CDD 43R 4R7 U705 LTC6102CDD 1N 713 714 TLV272 T 2 INS 6 3 INS ING 8 R715 R716 5 sy 170 INF 10K 10K INF 10K 10K Ts 1 8 VREG ane 1 VREG ces 2 Py Y V EEN TP706 Ve z TP707 21 1025 717 3 s 2 _ O 3 m out GNO 704A aM v 87 TU R719 GND 7045 gt SENSE CURRENT RANGE 10 70 3 BATAS R x 12K 10K NM T 7
6. Touch slider Reset 2 Debug In Out gt m m m m E m m m m m mu BEBE m m e E Push buttons LEDs EXP m m 507 E E m m m m m m m 20 MEM BC m i USB mini Breakout pads m 2010 04 09 REVISION www energymicro com Preliminary EF IVI 2 the world s most energy friendly microcontrollers 3 Hardware layout The layout of the EFM32 G8XX STK is shown below Figure 3 1 EFM32 G8XX STK hardware layout Board controller Breakout pads LCD Debug in out Debug indicator LED on board edges interface indicator LED USB E EE AEE EFM32 interface 4 reset J Link indicator LED EXP header Battery socket Touch pad output Battery 32kHz User 32MHz EFM32 Touch slider EFM32 switch crystal LEDs crystal MCU and button debug 2010 04 09 REVISION www energymicro com Preliminary E F IVI 32 the world s most energy friendly microcontrollers 4 Power supply 4 1 USB The EFM32 G8XX STK can get its power from the standard USB mini port The voltage will be 3 15 volts when USB is connected 4 2 Battery There is a socket for a 20mm coin cell battery which can be used to power the kit When the USB is disconnected and the battery connect switch is turned on the EFM and its peripherals is pow
7. PEENE RER 3 3 4 4 POWGr SUPDIY ETT 5 A e SB usun u het mE MILI akana Un EID 5 Leite 5 5 Reset infrastructure ru suu anu dolet ee FORM RAE PO SN E unisaq KA a TAG ROI KE Fond n 6 5 ME N 6 5 2 Board controler uy L En 6 raga aiite 7 6 1 PUSMDUTIONS 7 6 2 GE da na GG AA NGNE JA a 7 I LM E EE 7 real eT 7 oe c tC S 7 7 Advanced Energy RT 8 751 5 8 7 2 AEM theory of operation ee nenne nennen 8 7 3 accuracy and performance oit eee ecce SIE asqa 8 Board COMMON qa 9 9 Board Support Package l 10 91 Installati nilo cati sisan na ng ja 10 9 2 Application Programming 10 9 3 Example Applications
8. M PF Connections B l 1 1 l 4 6 9 MCU_PF 9 0 gt MCUDBG SWCLK p 4 9 MCUDBG TMS SWDIO p 4 9 PE Connections l 9 2 4 6 2 4 6 15 0 MCU 1 MCU LCD MCU PET 2 EEN BO HX LCD PF3 LCD PLCD 5 41 48 TCD PES MCU PE4 LCD_PE4 _ 7 LCD PF7 MCU PES LCD PE6 LCD PF9 LCD PF9 LCD PE7 LCD i MCU PES LCD PES lt Schematic Path gt LCD PETT LCD TOP PET2 LCD PET2 em MCU PE13 LCD REIS Schematic Title A MCU_PE14 LCD LCD 15 1 EFM32 Starter Kit I Page Title Designed Approved Signal Assignments SOMOS lt OrgAddr2 gt Document number Revision lt gt BRD2001 A3 l Design Created Date Sheet Created Date Sheet Modified Date Sheet Wednesday December 03 2008 Friday January 15 2010 Wednesday March 03 2010 3 of 10 R A Q P 4
9. Tli TPWS TPN Pior TPIT TU TPUG SW700 ENERGY Referanser References Scale 1 5 micro EFM32 STARTER KIT 1 Dokansv Godk Doc respons Approved 7 Produktbetegnelse Product name PRINTED BOARD ASSEMBLY Dokumentnr Document No BRD2001A PCB2001 REV 2 0 3 Dato Date 2010 03 03 Utfgrt ogs taktaansvarig hvis annen Prepared also subject responsible if other Rev Side Sheet 1 2 Qa o a 4 900 20 o o o o o o 2 9S SUMUS ENERGY micro Referanser References F EFM32 STARTER KIT Scale 1 5 1 Utfgrt ogs taktaansvarig hvis annen Prepared also subject responsible if other Dokansv Godk Doc respons Approved Dato Date 2010 03 03 7 Produktbetegnelse Product name PRINTED BOARD ASSEMBLY Dokumentnr Document No BRD2001A PCB2001 REV 2 0 3 Rev Side Sheet 2 2 Preliminary E F IVI 32 the world s most energy friendly microcontrollers Table of Contents T 2 JS LEE 2 2 STK block diagrama
10. 19 15s SENG MING a em 20 2010 04 09 REVISION www energymicro com Preliminary 2 the world s most energy friendly microcontrollers List of Figures 2 1 EFM32 G8XX STK Block Diagram cana Sagi te ete pers Renten ee DENG nop Rant RD er eee eee 3 3 1 EFM32 G8XX STK hardware 1 0 he he he he he he he he he herr he tiere rre rennen 4 2010 04 09 REVISION www energymicro com Preliminary E F IVI 32 the world s most energy friendly microcontrollers List of Tables 7 1 AEM ACCURACY an ives shes eddies 8 10 1 Bottom breakout pad row hehe he ee ne ee ne ee ee ne ne ne ne ne ne ne nenne 12 10 2 Top breakout TOW iere iere MIR sole ERR Hee 13 10 3 Expansion NEAdel pinout dasa KA ga a a sq Op ege RUND nM dA 14 10 4 Deb g connector eme ne mtt 15 UPS EPISC 16 Gecko Commander P 18 14 1 CUFFENT 0 6 5 5 t m 19 2010 04 09 REVISION www energymicro com ENERGY micro Energy Micro AS Sandakerveien 118 P O Box 4633 Nydalen N 0405 Oslo Norway www energymicro com
11. Sapu s KA A a apawaq BAG EEE eee 11 9 4 How to include in your own applications 11 9 5 Chip errata iausen na 11 SONGGON Sar ECCE 12 10 1 UU 12 10 2 Expansion header E 14 10 3 V Y Y Y YOOOYC 0 15 11 ccc 16 11 1 Debugging during battery operation 16 12 IDES uu D EE 17 12 1 IAR Embedded Workbench for ARM 17 12 2 Rowley Associates CrossWorks for 17 12 3 GodeSourcery Sourcery Gier ERR REDE RR E SER RENE EXPE E EORR END RR Reda 17 12 4 Keil MDK ARM II III hehe hehehe he he he hi he hi ne he he he ne re ne he ne ne ne ne en ne nn ne nnns 17 13 Gecko Commander Upgrades siis ERR E XAR RR sedated sensi en 18 Sm EELVEEL een 18 13 2 Na a a a D aaa a d aaa 18 14 Version Informal N asosio uay usa
12. Description Top Level Schematic 1 2 A A lot of bug fixes and improvements 3 Added RST to the debug header and Al added a separate header 3100 for the touch segment pins 5 A2 Fixed renaming of 3V3 to REVO Swapped two pins on 0600 to simplify routing TOP Schematic Title EFM32 Starter Kit Page Title Designed Approved Title Page lt OrgAddr2 gt Document number Revision A3 lt Cage Code gt BRD2001 Design Created Date Sheet Created Date Sheet Modified Date Sheet Wednesday December 03 2008 Saturday March 21 2009 Wednesday March 03 2010 1 of 10 A Q 1 Hide values before release User pushbuttons 4 6 PA 15 0 gt VMCU MCU PA12 MCU PA13 MCU PA14 TP100 TP101 TP102 SW100 R100 R101 R102 100R P4 lt H ERBIL 1 PBO 4 2 4 OOOO OOO p 15 0 PB9 MCU PB10 MCU PB11 MCU PB12 TP146 TP145 TP103 TP104 TP148 C100 C101 SW101 R103 3 100R _ 15 3 4 9 MCU_PC 15 0 gt MCU TP105 MCU PC1 TP106 MCU PC2 TP107 MCU PC3 TP108 MCU 4 TP109 MCU PC5 TP110 PC6 TP111 MCU PC7 TP112 MCU PC8 MCU PC9 MCU MCU PC11 MCU P
13. TX 1 HFXTAL P 59 E6 USARTO_RX 1 LCD COM2 MGU PBi4 TX 1 AHEXTAL T B4 E7 TX 1 LCD MCU PBi5 03 B14 H ADO 2 1 LOD SEGA E9 AD1 2 SIN 1 LCD MCU PCO Hi MCU PETO C3 E10 EBI AD2 TIMER1 1 USARTO TX 0 LCD_SEG6 MCU TA C0 USART1_TX 0 PCNTO SOIN 2 CHO PORT C MCU_PE11 B3 C1 USART1_RX 0 PCNT0_S1IN 2 ACMP0_CH1 E11 TIMER1_CC1 1 USART0_RX 0 LCD_SEG7 MCU P z H PE12 A3 C2 USART2 TX 0 ACMP0_CH2 E12 EBI_AD4 TIMER1_CC2 1 USARTO_CLK 0 LCD SEGS MCU PC T MCU PETS E13 EBI ADS USARTO_CS 0 CUT 0 LCD SEGO MCU PC4 3 USARTZ RX 0 14 2 E14 EBI AD6 LEUARTO_TX 2 LCD_SEG10 15 C4 USART2_CLK 40 LETIMER OUTO 3 PCNT1_SOIN 0 ACMP0_CH4 MCU PE15 s 5 X C5 USART2 CS 0 LETIMER OUT1 3 PCNT1_S1IN 0 CH5 TS HEBD ESTEVAN ISIN SEHE G10 C6 LEUARTI_TX 0 12C0_SDA 2 ACMPO_CH6 MCU PC7 Git Fo LETIMERO 2 DBG_SWCLKTCK MCU Di C7 LEUARTI RX 0 12 0 SOL 2 H F1 LETIMER0_OUT1 2 DBG_SWDITMS PORT F MGU PC Dit C8 TIMER2 2 USARTO CS 2 MCU PF2 C8 m 9 2 CC1 2 USART0_CLK 2 ACMP1
14. 00 092 SO EXP header PC5 ACMP0_CH5 LET0_O1 US2_CS PCNT1_S1 EXP header PC6 ACMPO CH6 LEU1 TX I2CO SDA PC7 ACMPO CH7 LEU1 RX I2CO SCL PC8 ACMP1 CHO TIM2 CCO USO CS Touch slider segment 0 PC9 ACMP1 CH1 TIM2 CC1 USO Touch slider segment 1 PC10 1 CH2 TIM2 2 050 RX Touch slider segment 2 PC11 ACMP1 CH3 USO TX Touch slider segment 3 PC12 ACMP1 CH4 CMU OUTO EXP header PC13 ACMP1 CH5 TIM1 CCO TIMO CDTIO PCNTO SO Touch Gecko PC14 ACMP1 CH6 TIM1 CC1 TIMO CDTH PCNTO S1 VMCU 3V3 www energymicro com Preliminary Table 10 2 Top breakout pad row the world s most energy friendly microcontrollers Pin Alternative Functions Shared by 5V PB9 User button 0 PB10 User button 1 GND PB11 DAC OUTO LETO OO EXP header PB12 DAC O1 EXP header PB15 GND PD0 US1 TX PONT2 SO EXP header PD1 TIMO CCO US1 RX PCNT2 S1 EXP header PD2 TIMO CC1 US1 CLK EXP header TIM0_CC2 US1_CS EXP header PD4 LEU0_TX EXP header PD5 LEU0_RX EXP header GND i PD6 ACMP0_CH6 LET0_O0 l2C0_SDA EXP header PD7 ACMPO CH7 LETO O1 I2CO0 SCL EXP header PD8 ADCO VCM CMU OUT1 EXP header PD14 2 0 SDA PD15 12 0 SCL VMCU 3V3 2010 04 09 REVISION www energymicro com Preliminary E F IVT 2 the world s most energy friendly microcontrollers 10 2 Expansion header
15. cio Vss3 FER 57 2 Starter 4 e ast vss 5 S GND C917 Page Title R915 Control MCU 100N Designed Approved Control MCU x _GB lt OrgAddr2 gt Document number Revision GND x Size Doc A GND lt Cage Code gt BRD2001 3 Design Created Date Sheet Created Date Sheet Modified Date Sheet Wednesday December 03 2008 Saturday March 21 2009 Wednesday March 03 2010 100f 10 1 TPMS TPMS TPIM TP109 TPMS TPIZD TPI2I TPIZ2 TPI23 TPI24 TPI25 TPI2 127 28
16. 1 LCD D6 LETIMERO_OUTO 0 I2C0_SDA 1 ADC0_CH6 PAT4 3 D7 1 0 12 0 1 MCU 15 BI 14 2 CC2 1 LCD BEXT MCU PDS E 15 EBI_AD8 LCD_SEG12 MCU PDS D 08 CLKOUT 1 MGU PDTO Ae 09 EBI CS0 LCD SEG28 MO PED a ees COD Ra LCD SEO 010 CS1 LCD SEG29 MCU PBI Fi PORT B MCU PDii B5 B1 TIMER1_CC1 2 LCD_SEG33 D11 EBI CS2 LCD SEG30 MCU PB2 F2 PDI2 CS 012 CS3 LCD SEG31 MGU PBa 2 2 LCD SEQ34 MCU PDi3 C4 Dio EBI MCUPB4 Fa USART2 TX 1 PCNT1_SOIN 1 LCD SEG20 MCU_PD14 H3 E B4 USART2 RX 1 PCNT1 LCD SEG21 014 12 0 SDA 3 MCU PB5 Gi MCU PDis Ja 01411200 SDA 3 MCU PBe G7 85 USART2 CLK 1 LCD_SEG22 MCU PE RT 6 USART2 CS 1 LCD SEG23 MCU_PEO x B7 USART1_CLK 0 LEXTAL_P UARTO TX 1 PCNTO_SOIN 1 Li Ei UART0 1 1 MCU PBg 57 B8 USART1_CS 0 LFXTAL MCU PE2 9 E2 ACMPO_OUT 1 MCU J8 MEU PET 1 OUT 1 MCU PBii 15 B10 MCU PE4 AS A E B11 LETIMERO OUTO 1 E4 USARTO CS 1 LCD COMO MCU PBi2 L6 MCU PES B9 B12 LETIMERO OUT1 1 OUT1 E5 USARTO 1 LCD MCU PBi3 8 MCU PES CS B13
17. 010 TIM1_CH3 CTRLMCU DEBUG RESET i AEM CTRE3 H7 PE14 011 TIM1_CH4 39 PE15 FSMC_D12 TIM1_BKIN gt e l LED902 R905 Control MCU E YELLOW 2K CTRL 3 0 p 8 gt l BOARD REVI 1 0 l l ESOS ES SESS EE EEEE ENN ang a gt gt DEC M RM UR M RM UE RM IE M a RR RR l l l l C902 C903 ae CTRLMCU_SPI_MISO lt lt Control MCU Power amp Bypass 12 X900 12 CTRLMCU SPI MOSI mm e CTRLMCU SPI CS 5 2 s 16 gt x CTRLMCU SPI SCK D l l GND GND ilz R916 a l l U900C I ebo 2 Si OSC IN vear 25 16 C904 3v3 avs CTRLMCU DEBUG RESET gt avs ADC_VREF 400 A A I 3V3 BOARD_REV 1 0 lt lt TP903 11 0 U9028 8 o R909 A R918 R917 vec T L900 R910 OR GND 100K C905 1R C908 NM I 41 vas d iD Ki F7 BOARD REVO 3v3 VDD 1 Fe BOARD i 25 16 R911 A BLM21B102S R913 OR VOSA VDD 2 F5 3v3 oR C907 C90 3 m 10U 10N Hi REF VDD 5 22 C916 C912 C913 C914 n 4 I 10N c91 C915 A GND _ 8 1 lt TP904 100N 10U Schematic Titl LED903 100N vues TE chematic Title R914 RED vss 2 10K x x D5 2 ES 100N 100N 100N
18. 2 1 Ag PB3 JTDO TRACESWO SPI3_SCK 1253 2 2 SPI1_SCK 08 JNTRST SPI3 MISO TIM3 CH2 SPI1_MISO gt PDO OSC_IN FSMC_D2 CANRX 9 DEBUG 0 B5 PB5 I2C1_SMBAI SPI3_MOSI 1253 50 TIM3_CH2 SPI1_MOSI gt 7 OSC_OUT FSMC_D3 p9 DEBUG_TMS_SWDIO_ OE PB6 I2C1 SCL TIM4 CH1 USART1_TX c7 PD2 ETR UART5_RX 5010 MCU DEBUG ISOLATE PB7 I2C1 SDA FSMC TIM4_CH2 USART1 7 FSMC_CLK USART2 CTS p9 DEBUG_ RESET PB8 TIM4 CH3 SDIO 04 2 1 SCL CANRX Be PD4 FSMC_NOE USART2_RTS p 7 EEPROM WP J7 PB9 TIM4 CH4 5010 05 2 1 SDA BC RX lt c6 PDS FSMC NWE USART2 TX 7 CTRLMCU SCL K7 PB10 I2C2 SCL USART3 TX TIM2 CH3 3 BC TX gt De PD6 FSMC NWAIT USART2 p7 CTRLMCU 12 SDA 11 12 2 SDA USART3 RX TIM2 PD7 FSMC_NE1 FSMC_NCE2 USART2 CTRLMCU_SPI_ CS 12 SPI2 NSS 1252 WS 2 2 SMBAI USART3_CK TIM1_BKIN gt PD8 013 USART3_TX CTRLMCU_SPI_SCK Ha PB13 SPI2_SCK 1252 USART3 CTS 1 9 PD9 FSMC_D14 USART3 CTRLMCU SPI MISO G8 14 SPI2 MISO CH2N USART3 RTS gt PD10 FSMC_D15 USART3 CK CTRLMCU SPI MOSI lt lt PB15 SPI2 MOSI I2S2_SD 10 P
19. 8 F2 ARDY ACMP1_OUT 0 DBG_SWV 0 LCD SEGO MCU PCI0 X Y 10 TIMER2 2 2 2 1 2 F3 TIMERO 2 ALE LCD MCU PO C MCU_PF4 C11 2 ACMP1 2 WEn LCD SEG2 MCU PCZ 810 5 AT E5 0002 2 LCD MCU PCi3 Bii 12 CLKOUTO 1 ACMP1_CH4 MCU_PF6 B7 x T 13 1 3 TIMERT 0 PCNTO_SOIN 0 ACMP1 CH5 F6 2 UARTO TX 0 LCD_SEG24 E A6 E7 TIMERO CC1 2 UARTO_RX 0 LCD_SEG25 MCU PCIE C14 1 3 0 3 STIN 0 ACMP1_CH6 MCU PF8 B6 F gt C15 TIMERO 2 1 3 TIMER1 CC2 0 UARTO 3 DBG_SWV 1 ACMP1_CH7 TIMERO CC 2 LCD_SEG26 MCU C6 E9 LCD SEG27 EFM32G890F128 EFM32G890F128 Schematic Path Schematic Title EFM32 Starter Kit Page Title Designed Approved EFM32 yo a GB lt OrgAddr2 gt Document number Revision ize Cage Code BRD2001 3 Design Created Date Sheet Created Date Sheet Modified Date nos i Wednesday December 03 2008 Tuesday January 12 2010 Wednesday March 03 2010 of 10 A 4
20. 20 pin expansion header be used to connect plugin boards This contains a selection of plus powers and ground See the pinout in the table below Table 10 3 Expansion header pinout GND 1 2 VMCU PC4 3 4 PD0 5 5 6 PD1 PC12 7 8 PD2 PE2 9 10 PB11 11 12 PD4 PB12 13 14 PD5 PD7 15 16 PD6 PD8 17 18 5V GND 19 20 3V3 2010 04 09 REVISION 14 www energymicro com 2 Preliminary the world s most energy friendly microcontrollers 10 3 Debug connector This connector is used for Debug In and Debug Out see Debug chapter The pinout is described in the table Table 10 4 Debug connector pinout 2010 04 09 REVISION Pin Function Note number 1 VTARGET Target voltage on the debugged application 2 NC 3 TRST JTAG tap reset 4 GND 5 TDI JTAG data in 6 GND 7 TMS SWDIO JTAG TMS or Serial Wire data I O 8 GND 9 TCK JTAG TCK or Serial Wire clock 10 GND 11 RTCK JTAG RTCK 12 GND 13 TDO SWO JTAG TDO or Serial Wire Output 14 GND 15 RESET Target MCU reset 16 GND 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 20 GND www energymicro com gt Preliminary the world s most energy friendly
21. mode Sets the mode of the on board debugger Available modes mcu Debug the EFM32 using the on board debugger Debug the EFM32 using an external debugger out Use the STK as an external debugger off Disable the debugger 13 2 Upgrades Upgrading the kit can be done by using the Upgrade Kit script in the start menu New versions can be downloaded from http www energymicro com downloads The script will use Gecko commander to install the latest available Kit SW package It is important to upgrade the kit when installing a new SW package as new Gecko commander functionality might require kit controller software upgrades 2010 04 09 REVISION www energymicro com Preliminary E F IVI 32 the world s most energy friendly microcontrollers 14 Version information The current version information can be read from Gecko Commander Table 14 1 Current versions Version Released Firmware revision 1v0 2010 04 09 Hardware version 1v0 2010 04 09 2010 04 09 REVISION www energymicro com Preliminary 2 the world s most energy friendly microcontrollers 15 Schematic On the next pages you can find the schematic and the assembly drawings of the main board 2010 04 09 REVISION www energymicro com 4 3 ENERGY micro EFM32 Starter Kit IS Revision History Board Function Page
22. p10 C603 9605 C604 100K 100N Re06 100K TOON 4 GND GND R607 R608 1K 1K U601A 5 i z Ao a hau 7 A2 WP WP 10 24AA024 GND 3v3 U601B 0605 8 100N 4 1 4 vss 24 024 GND lt Schematic Path gt TOP Schematic Title EFM32 Starter Kit Page Title Designed Approved Power Misc lt OrgAddr2 gt Document number Revision A3 Cage Code BRD2001 A3 Design Created Date Sheet Created Date Sheet Modified Date Sheet Wednesday December 03 2008 Saturday March 21 2009 Wednesday March 03 2010 7 of 10 1 5 4 3 2 1 p 10 VMCU ENABLE
23. DEBUG TRST IN TDLOGUT H2 WKUP USART2 CTS ADC123 INO 2 CH1 5 CH TIM8 ETR p9 DEBUG TDI IN 5 OUT Jo USART2 RTS ADC123 5 CH2 TIM2 CH2 p9 DEBUG TMS SWDIO IN TEK OUT Ko USART2 TX ADC123 2 TIMS_CH3 TIM2 A A 9 DEBUG SWCLK IN USART2 RX ADC123 IN3 5 TIM2_CH4 p9 DEBUG IN miN H3 4 SPI1_NSS DAC_OUTT USART2 CK ADC12 IN4 p9 DEBUG_TDO_SWO_IN TMS IN J SPI1_SCK DAC_OUT2 ADC12 ING R900 R903 TCKON SPI1 TIM8 BKIN ADC12 ING TIM3 TIM1_BKIN R901 1K5 RESET Dg SPI1_MOSI ADC12_IN7 2 TIM1_CH1N Cg USART1_CK PA9 USART1 TX 1 2 a a Rem RAR IN PA10 USARTI CH3 LED900 LED901 p7 USBDM 3 11 USART1_CTS CANRX TIM1_CH4 USBDM W veLLow BLUE WF p 7 USBDP PA12 USART1_RTS CANTX USBDP lt R904 228 PA13 JTMS SWDIO M C900 C901 AB PA14 JTCK SWCLK PA15 18 18P J4 9 DEBUG EXT VDD TARGET 2 ADC12_IN8 TIM3_CH3 TIM8_CH2N S s p9 DEBUG EXT CABLE 5 ADC12 IN9 TIM3 PORT U900B GND GND p8 AEM VMCU ENABLE lt A7
24. GND GND R722 GND R723 9 1K a 1K x NM x NM gt B SENSE CURRENT RANGE2 10 GND x GND 2 MCU power current sense CD GND a ss a ADC referance voltage i 1701 VMCU voltage sense I R724 1 1R BLM21B102S U704C TP708 716 C715 vedi U702B C707 U706A 3V3 0N 14 4 100N 1U i R727 A R728 4 74 1 S AEM SENSE VOLTAGE p 10 TP710 1K 1 53 4751 47 1 ST R729 C718 ot GND TLV272 GND took MCP6001T iN _ 4 0703 TOP 3V3 T h ic Titl GND eul LM4040CIM3 3 0 Schematic Title x 57 EFM32 Starter Kit GND GND U706B Title 3020 vop i 1000 Designed Approved Advanced Energy Monitor 9 2 lt OrgAddr2 gt Document number Revision Size Doc MCP6001T Cage Code BRD2001 A3 GND Design Created Date Sheet Created Date Sheet Modified Date Sheet Wednesday December 03 2008 Wednesday August 19 2009 Wednesday March 03 2010 8 of 10 P 4
25. microcontrollers 11 Debugging EFM32 G8XX STK has an on board debugger and it can be used in different ways to debug the EFM both on and off kit Below are descriptions on the different modes Check the configuration chapter to find out how to change the debug setting Table 11 1 Debug modes Description Debug MCU In this mode the on board debugger is connected to EFM on the EFM32 G8XX STK Debug IN In this mode the on board debugger is disconnected and an external debugger can be connected to debug the EFM on the EFM32 G8XX STK Debug OUT In this mode the on board debugger can be used to debug an EFM mounted in your own application 11 1 Debugging during battery operation When the EFM is powered by the battery i e the USB is disconnected the on board debug functionality is not available To enable debugging in this mode connect an external debugger e g another EFM32 G8XX STK to the debug pads in the bottom right corner of the EFM32 G8XX STK These pads are connected directly to the EFM32 debug interface Note When the on board debugger is active a current of approximately 1 6uA will be added to the AEM measurements 2010 04 09 REVISION www energymicro com Preliminary 2 world s most energy friendly microcontrollers 12 IDEs The Energy Micro software packages contains various examples in source form to use with the Starter Kit The following IDEs are su
26. 2 C F UA MA 34 LCD SEG33 LCD PBi LCD LCD 5 5 15 20 20 2H 100 100 108 10 35 LCD SEG32 LCD PB0 pri LCD LCD 5 6 177 PULS AM ATE HF xs GND LCD PAT LCD SEGI i8 COL3 2C 2M 2B 10 118 11A Pay LCD LCD 5 8 fg 0 ANGE TW 50 LCD 6 LCD 5 9 20 30 7D 7Q 7H LCD SEG31 LCD PD12 LCD LCD 5 20 21 SJ SK 61 6 f 28 LCD SEG30 LCD PD11 LCD PB4 LCD SEG21 22 Bi SC SM 3B 60 60 6A 57 LCD SEG29 LCD PD10 LCD 5 LCD SEG22 23 DP AE SN SF SI SET LCD SEG28 LCD PD9 LCD PB6 LCD SEG23 24 40 40 4A 5D 50 25 15 4C 4M 4B LCD SEG27 LCD lt LCD PB 6 0 p4 p24 LCD 5 0 2 EMLCD LCD SEG26 LCD LCD SEG25 LCD PE7 E lt LCD PD 12 9 p4 LCD PB 6 0 gt LCD SEG24 LCD PF6 C lt LCD 9 2 p4 l l l l l l n Segment names H A lt K KY lt AN n mA 1 p ZOD 5 u lt a KALA amp L lt Schematic Path gt Schematic Title EFM32 Starter Kit Page Title Designed Approved LCD GB lt OrgAddr2 gt Document number Revision lt gt BRD2001 Design Created Date Sheet Created Date Sheet Modified Date Sheet Wednesday December 03 2008 Tuesday January 12 2010 Wednesday March 03 2010
27. 6 of 10 A Q P 4 600 USB MINI B 4 8 6 9 7 5V TP603 GND GND 1600 GND 1 ccn BLM41P600S gt gt USBDP p 10 3 USBDM p 10 6 5 4 D600 TP601 TP602 4220 26 1 2 Power input x GND 3V3 VMCU VMCU DBG VMCU_AEM A A U602A TS3A4751 EFM_BC_RX lt 2 1 3 p 10 B EFM BC gt g COM2 2 TX p 10 COM3 3 f R612 4 18 IN1 I 12 3 IN4 R611 R610 10M 10M SE GND GND VMCU U602B C606 14 Ve 100N A 7 GND TS3A4751 10 CTRLMCU_I2C_SDA 10 CTRLMCU SCL TP600 R601 180K 1 OUT1 OUT2 aT 5 8 6 R602 110K C602 33N Ner GND lt 5 3 3V3 SENSE p10 Mi M2 M3 GND A U600 2 R600 10K SET C600 C601 7 SHDN 100N 10U FAULT y GND 1 GND HEAT 2 52 2 LP3982ILD ADJ 3v3 R603 sv 100K R604 100K 5 SENSE
28. C12 MCU PC13 MCU PC14 4 3 2 1 alte Touch gecko T101 TOUCH GECKO T100 TOUCH SLIDER 115 TP117 4 SLIDER 3 0 lt lt SLIDERO SLIDER1 SLIDER2 SLIDER3 _ lt 4 6 MCU 5 TP118 TP119 TP120 TP121 TP122 TP123 TP124 TP125 TP126 MCU PDO MCU PD1 MCU PD2 MCU PD3 MCU PD4 MCU PD5 MCU PD6 MCU PD7 MCU PD8 MCU PD14 MCU PD15 TP127 TP128 VMCU 5V 3V3 100 4 6 PE 15 0 gt 3 4 9 MCU 15 0 2 129 130 131 132 4 PC5 2 4 MCU MCU PDO MCU PD1 MCU PD2 10 MCU PD3 12 MCU PD4 14 MCU PD5 16 PD6 18 20 d ud lt 0000 OO OOOOOOOOO 1 3 5 7 9 MCU PETI p4 MCU_PB11 04 MCU_PB12 MEU PBIZ 15 17 19 PD7 TyT TTTT TP133 TP134 TP135 TP136 TP137 TP138 HEADER 2 10 2 54 SMD iod amp MCU PD 15 0 4 6 2 5 RP100 LEDO UIF LED1 LED2 UIF LED3 H U V
29. D PB3 PAT LCD 1 PB4 LCD 4 LCD 1 PB5 LCD PB5 LCD 6 LCD 6 LCD PATI LCD MCU PB7 gt gt LFXTAL 4 5 LCD 2 PES MCU PA13 LCD PAT3 amp LFXTAL p 4 5 _ 0 2 4 LCD PB9 PBO MCU PA15 LCD PAT5 PB10 l PB13 y HFXTALP 4 5 MCU 14 V HFXTALN 45 l l 1 l l l l s s s s s s l l PC Connections l l C PD Connections 2 4 9 MCU PC 15 0 gt gt gt UIF_LED 3 0 2 4 LEDO PCT UIF_LED1 1 MOULPCS REDS KUIF_SLIDERTS 0 2 4 MCU_PC8 UIF_SLIDER0 2 4 6 MCU_PD 15 0 LCD PD 12 9 4 6 PC9 UIF SLIDER1 MCU 9 LCD PD9 UIF_SLIDER2 MCU_PD10 LCD PD10 POTI UIF_SLIDER3 MCU PD11 LCD PDI 1 LCD MCU PC13 GECKO p 4 9 MCU PD13 Wed pis gt gt BC EN gt SWO p 4 9 l l l l l l l
30. D11 FSMC A16 USART3 CTS PD12 FSMC_A17 USART3_RTS TIM4_CH1 p8 AEM SENSE VOLTAGE PCO ADC123 IN10 ava XH PD13 FSMC A18 riva CHA ee p 8 AEM_SENSE_CURRENT_RANGE1 PC1 ADC123 IN11 PORT DCN lt Gig PD14 FSMC DO TIM4 CH3 p8 AEM SENSE CURRENT RANGE2 F3 2 ADC123 IN12 PD15 FSMC_D1 TIM4 CH4 p7 3V3_SENSE G4 PC3 ADC123_IN13 REVO 04 7 5V SENSE PC4 ADC12 IN14 PEO TIM4_ETR FSMC_NBLO PC5 ADC12 1 15 ber FSMC_NBL1 p9 DEBUG DH SW ENABLE 6 1252 SDIO 06 1 BOARD REVO B3 PE2 TRACECK FSMC_A23 p9 DEBUG_MCU_SW_ENABLE Fg PC7 I2S3_MCK TIM8_CH2 5010 07 TIM3 CH2 lt Z BORRD REVI C3 TRACEDO FSMC_A19 Sl re Sa L EG rs E TESO y NEBUS B9 PC10 UART4 TX 5010 M n ES TRACEDS FSMC A22 l PON UART4 EX SDIO D TUSART R PE7 P Dal Mi ETA 3 CTRL MCU gg 500 SARTA A a NU an 5 CTRL_MCU_TDI A2 PC TX SDIO_CK USART3 CK GND 5 FSMC 05 1 7 CTRE MCU TMS SWDIo TP910 Q PC13 TAMPER RTC ag PES 06 umi Be IN AEM CTRLO J6 a 3 CTRL MCU TDO SWD AEM CTRLI K6 FSMC 09 1 CH3N 15 3V3 AEM CTREZ G7 PE13
31. EFM 32 the world s most energy friendly microcontrollers USER MANUAL Starter Kit EFM32 G8XX STK Feature rich starter kit for evaluation prototyping and application development for the EFM32 Gecko MCU family with the ARM Cortex M3 CPU core Main features Advanced Energy Monitoring provides real time visibility into the energy consumption of an application or prototype design On board debugger with debug out functionality 160 segment Energy Micro LCD ENERGY micro www energymicro com Preliminary the world s most energy friendly microcontrollers 1 Introduction 1 1 Features Advanced Energy Monitoring system for precise current tracking Special hardware configuration for isolation of the MCU power domain Full feature USB debugger with debug out functionality 160 segment Energy Micro LCD 20 pin expansion header Breakout pads for easy access to pins Powered by USB or CR2032 battery 2 user buttons 4 user LEDs and touch slider lt 32MHz and 32 768kHz crystal oscillators 2010 04 09 REVISION www energymicro com Preliminary the world s most energy friendly microcontrollers 2 STK block diagram An overview the Kit is shown in the block diagram below Figure 2 1 EFM32 G8XX STK Block Diagram Onnan UNA ivi ivi ivi PN Ant j
32. LCD signal connections LCD Boost LCD 15 4 LCD LCD_PE7 LCD COM LCD PEG p 4 LCD PF 9 2 LCD500 LCD COMI LCD PES Lop lpr LCD SEGO 0 b l l l l l l l l l l l l 1 48 LCD LCD 2 27 p24 LCD 5 0 2 D p4 0 3 LCD PE4 LCD SEG2 3 EMI COM ag LCD SEG39 LCD RECDIPATIS 0 LCD LCD SEG3 4 2 7 7 78 COM 45 LCD SEG38 LCD LCD LCD 5 4 5 ASE 7G 7F COMO 24 LCD SEG36 LCD LCD PE9 LCD SEG5 6 4 6 6 6B COL10 8G LCD SEG35 LCD 6500 LCD LCD SEG6 7 5 6 69 80 86 88 22N LCD LCD SEG7 8 5 5M 5B NC LCD LCD ICD SEGE 9 5E_5G_5F DP10 9E 9G 9F TD PET SEDE To EFM PADO PAD1 9D 9C 9B 9A 59 LCD PE14 LCD 11 MINUS JE 16 WP 38 I LCD PET5 LCD 12 10 19 1H 1A NC 37 LCD PAT5 LCD DPS 0501 LCD LCD SEG13 14 1C 1M 1B 10 10G 10F 35 LCD SEG34 LCD PB2 10 LCD PAT LCD SEG14 15 2 2 29 2
33. MCU 4 139 140 LED100 LED101 LED102 LED103 W W W W oo 2 2 3V3 TP141 TP142 Schematic Title EFM32 Starter Kit gt lt TP143 TP144 111 Title Designed Approved User Inte rfaces GB lt OrgAddr2 gt Size TBOM Doc No Document number fevision Design Created Date Sheet Created Date Sheet Modified Date Sheet Wednesday December 03 2008 Saturday March 21 2009 Wednesday March 03 2010 2 of 10 Cage Code BRD2001 A3 l P 4 l 5 4 3 2 1 PA Connections PB Connections l l 2 46 MCU PA 15 0 gt PA 15 0 2 4 6 MCU LCD_PA0 LCD LCD 2 4 5 6 MCU_PBI15 0 gt gt LCD PB 6 0 4 6 LCD MCU LCD 4 LCD 4 j MCU PBT LCD 2 LCD 2 D PA6 LCD PA6 MCU_PB3 LC
34. N 10 2 5 8 R801 2 7 14 33 DEBUG TDIIN p 10 TP806 47K 3 15 283 2A3 3 DEBUG TMS SWDIO IN p10 GND R804 SW TDO SWO Ts 284 244 30 Be Tp oo R802 R803 100K 33R 33R 205 268 ae DEBUG RESET IN p 10 100K 100K VESDO5A8A HNH 0800 74LVC4066 U802A 5V 22 B7 27 T 9 2 1 A 23 2 2 7 26 31 11 RENS R806 E px PR aur 9 2 8 548 GNDGND x GND 35 SENT 1 R807 33R x 10 pos T sva lt DEBUGUAUF SOR 1830 GND i GND 20 P1 U803A 1DIR 18 2DIR JE 5 DEBUG HEADER 6 2 74 6 245 6 GND iue MM 7 812 814 5V 74LVC2G125DC _ GND TP811 TP813 TP815 S Ol O DEBUG GND Haou 5 DEBUG TMS SWDIO p 10 AKT U803B DEBUG TMS SWDIO OUT p 10 VTARGET x MCU SW EN 5 08048 74LVC2G125DC 741 4066 U806A U805A TS3A4751 2 1 x 12 1Y lt lt DEBUG_DH_SW_ENABLE p10 p4 MCUDBG TMS SWDIO 2 vo 31 vH 7ALVC2G125DC GND p4 MCUDBG TCK SWCLK g COM2 NO 10 32 5 lt lt DEBUG SW ENABLE p 10 p4 MCUDBG TDO SWO COM3 3 r1 42 4 5 MCUDBG_ RESET gt NO4 lt lt MCU_DEBUG_ISOLATE_ EN 13 N VTARGET amp 2 2E 5 127 INS Hiz IN4 R815 4E R809 100K a UBO4A 7 lt lt DEBUG fRESET p 10 810 R814 1M SW sRESET 6 2 lt 100R 74LVC2G125DC NZ GND GND VMCU 1 l Power amp D
35. ble 13 1 Gecko Commander Description ping Ping kit i e verify that target kit is up and running speed Sets the link speed for the serial wire debug interface from the kit towards the EFM32 reset Reset kit which also implies a reset of the EFM32 as well usb Change J Link USB port used default is port 0 Unless you have multiple J Link debuggers there should be no reason to change this version Get PCB and firmware versions of kit install Install an application or boot package This command with a filename ending with emz as an option upgrades the kit software Is List directory shows which binary files has been uploaded to the kit which can be flashed with the GUI put Copy a binary file from host to target that can be used to flash directly from the kit GUI Flash submenu rm Remove file flash Flashes the EFM32 program memory with binary file starting from flash address 0x0000000 Enter filename as argument verify Verifies correct installation of a binary into flash dumpbin Dumps content of memory of the EFM32 to file erase Erases the entire flash unlock Unlocks a locked chip and performs a device erase lock Locks the chip prevents reading out the flash over debugger interface protect Write protects pages in flash uprotect Clears all write protection lock bits power Dump power measurements from the running application to file Enter filename as argument
36. d to the EFM These lines are not shared on the breakout pads Capacitors for the EFM32G LCD boost function is available on the EFM32 G8XX STK 6 4 Touch slider A touch slider utilizing the capacitive touch capability is available It is placed under the two push buttons on the kit above the TOUCH SLIDER print 6 5 Touch Gecko The Gecko above the pushbuttons and below the 2 logo can also be used as a touch button 2010 04 09 REVISION www energymicro com Preliminary E F 2 the world s most energy friendly microcontrollers 7 Advanced Energy Monitor 7 1 Usage The AEM data is collected by the board controller and can be displayed by a PC application For instance the Gecko commander utility contains a power command which can dump power data to file A GUI application for displaying power usage will be available for download from the Energy Micro download section later 7 2 AEM theory of operation In order to be able to measure currents ranging from 0 1uA to 50mA 114dB 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 200uA To reduce noise averaging of the samples is performed before the current measuremen
37. e used by other applications To use the board controller for your application the Board Support Package BSP must be installed See the BSP chapter to find out how Note The board controller is only available when the STK is powered by USB 2010 04 09 REVISION www energymicro com Preliminary I 5 2 the world s most energy friendly microcontrollers 9 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 can be fully usable without BSP support and you can use all peripherals in the C Program Files Energy MicroNEFM32 Gecko DK boards EFM32_Gxxx_STK drivers folder without the BSP The BSP use EFM32 peripheral UARTO TX pin PEO RX 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 under battery power will give unpredictable results 9 1 Installation location When installing the complete software package for the kit the BSP will be installed under the main installation directory typically in a location such as C Program File
38. ecoupling VTARGET l U805B 14 C800 R811 bcr n VTARGET ae 100N 7 VTARGET L800 U801B L801BLM21B102S 1 2 o x d R812 1M l T t VCCB 1 2 S DEBUG EXT VDD TARGET p 10 ENYN 31 C801 T b s 7 R813 VOCA ana 14 4 U800B U802B U806B 1M 10N 10 8 14 14 14 8 SNO EE veo C802 C803 vec C805 vee Te Nes GND rar GND 28 4 GND RON 100N GND 7 100N GND 7 100N GND 1 C807 GND 4 C806 C808 ND 34 100N 39 74LVC2G125DC 74LVC4066 74LVC4066 74LVC4066 100N 74LVC2G125DC 100N 100N GND 745 GND 74LVC16T245 bd i 4 GND NU GND GND v l GND Schematic Title DEBUG SW ENABLE DEBUG DH SW ENABLE DEBUG DH VTARGET VTARGET EFM32 Starter Kit Debug Out 0 External voltage External voltage Page Title MCU Debug 1 0 Disconnected VMCU Designed Approved Debug Interface Debug In 1 1 1 VMCU VMCU GB lt OrgAddr2 gt Document number Revision Size Doc A3 lt Cage Code gt BRD2001 A3 Design Created Date Sheet Created Date Sheet Modified Date Sheet Wednesday December 03 2008 Saturday March 21 2009 Wednesday March 03 2010 9 of 10 1 D 5 4 3 2 1 9 DEBUG_ TRST_OUT 9 DEBUG TDI OUT p9 DEBUG TMS SWDIO OUT U900A Control MCU 9 DEBUG SWCLK OUT mirout da Debug out LED J Link LED p9
39. ered by the battery The VMCU voltage is 2 85 or lower when powered by the battery depending on the battery voltage There is a 0 15V drop down from the battery voltage The board controller AEM is not powered by the battery so the BSP software support library cannot be used on battery power 2010 04 09 REVISION www energymicro com Preliminary 2 the world s most energy friendly microcontrollers 5 Reset infrastructure 5 1 MCU 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 debuggers 5 2 Board controller The board controller can only be reset by pulling and reinserting the USB cable www energymicro com 2010 04 09 REVISION Preliminary 2 world s most energy friendly microcontrollers 6 Peripherals The starter kit has a set of peripherals that showcase some of the features of the EFM32G Be aware that most EFM routed to peripherals are also routed to the breakout pads This must be taken into consideration when using the breakout pads for your application 6 1 Pushbuttons The kit has two user pushbuttons marked PBO and PB1 They are connected to the EFM and are debounced by RC filters with a time constant of 1ms 6 2 LEDs There are four LEDs on the kit marked LEDO to LED3 An active high on the respective pins will light the LEDs 6 3 LCD An Energy Micro LCD display is connecte
40. ing your application with a call to include chip h void CHIP init void to ensure correct and stable behavior See the BSP examples for details We recommend also to download and read the latest errata from the Energy Micro website for your part number 2010 04 09 REVISION 11 www energymicro com Preliminary the world s most energy friendly microcontrollers 10 Connectors 10 1 Breakout pads Most I O except the LCD pins are routed to the breakout pads at the top and bottom edge of the kit A 2 54mm 100 mil pitch pin header can be soldered in place on the pads for easier access Note Some of the breakout pads are shared by on board EFM peripherals The shared pins can be identified by looking at the Shared by column in the tables below The schematic must be consulted to make sure that it is OK to use a shared pin in your application Table 10 1 Bottom breakout pad row 2010 04 09 REVISION Pin Alternative Functions Shared PA12 TIM2 CCO LCD Boost capacitor PA13 TIM2 CC1 LCD Boost capacitor PA14 TIM2 CC2 LCD Boost capacitor GND PEO UO TX PCNTO SO BC TX PE1 UO RX PCNTO S1 BC RX PE2 ACMPO O EXP header ACMP1 GND PC0 ACMP0_CH0 US1_TX PCNT0_S0 User LED 0 PC1 ACMP0_CH1 US1_RX PCNT0_S1 User LED 1 PC2 ACMP0_CH2 US2_TX User LED 2 PC3 ACMP0_CH3 US2_RX User LED 3 PC4
41. l documentation of the complete is included in the Doxygen HTML documentation of the installed package 9 3 Example Applications Under the EFM32 Gxxx STK examples folder in your installation directory you will find an example program using the BSP with corresponding project Makefiles for the supported IDEs 9 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 1 Make sure you define the correct part number i e EFM32G890F128 as a preprocessor defined symbol 2 Make sure you define the correct part number i e EFM32G890F129 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 BSP package c files with the stk 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 EFM32 Gxxx STK bsp directory Make sure you call STK Init early at startup and you should be all set 9 5 Chip errata Early versions of the development kit are shipped with EFM32 Engineering Samples on the modules There has been updates to configuration and reset values that needs to be configured correctly on these early parts We recommend always start
42. pported 12 1 IAR Embedded Workbench for ARM An evaluation version of IAR Embedded Workbench for ARM is included on a CD in the EFM32 G8XX STK 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 12 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 12 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 12 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 2010 04 09 REVISION www energymicro com Preliminary E F IVI 32 the world s most energy friendly microcontrollers 13 Gecko Commander and Upgrades Gecko Commander is a command line utility that comes with the Gecko DK Installer package It can perform various kit and EFM32 specific tasks Press h for help at the prompt for a listing of available commands Press h command for help for a specific command listing arguments and options 13 1 Available commands Ta
43. s Energy Micro EFM32 Gecko DK boards EFM32_Gxxx_STK bsp or something similar depending on your OS Windows version All files in the board support package is prefixed by stk 9 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 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 bool STK Ready void Returns true if the board controller is responding A non responding board will either return false or hang i e if the EFM32 is powered by the CR2032 battery cell float STK Current void 2010 04 09 REVISION WWW energymicro com Preliminary the world s most energy friendly microcontrollers Returns instant current usage in milliamperes float STK Voltage void Returns instant voltage VMCU reading in volt bool STK EnergyMode uint8 t em Informs the board controller about the Energy Mode sleep mode we are going into This information be used by the board controller to present a richer visual graph for illustrating what the EFM32 is currently doing In addition to these main functions ful
44. t is presented in the AEM GUI During startup of the kit a calibration of the AEM is performed This calibration compensates for the offset error in the sense amplifiers 7 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 200uA the AEM is accurate within 0 1 When measuring currents below 200uA the accuracy increases to 1uA Even though the absolute accuracy is 1uA in the sub 200uA range the AEM is able to detect changes in the current consumption as small as 100nA The measurement bandwidth of the AEM is 60Hz when measuring currents below 200uA and 120Hz when measuring currents above 200uA The table below summarizes accuracy of the two current sense amplifiers in different ranges Table 7 1 AEM accuracy Current range Low gain amplifier accuracy High gain amplifier accuracy 50mA 0 1 1 0 1 2000 0 01 1uA 10uA 0 1uA 1uA 0 1uA Note Having both USB and battery connected may increase the AEM readings 2010 04 09 REVISION WWW energymicro com Preliminary the world s most energy friendly microcontrollers 8 Board controller The control can act as a board controller BC There is UART connection between the EFM and the BC The connection is made by setting the en line high The EFM can then use the BSP to send commands to the BC When bc en is low bc tx and bc rx can b

Download Pdf Manuals

image

Related Search

Related Contents

Fics-III System Setup  Bogen RVCP remote control    User`s Manual MESA  Gazette #23  Genius Heeha 300  Bedienungsanleitung Istruzioni per l'uso  

Copyright © All rights reserved.
Failed to retrieve file