EFM32 Presentation February 2013 Frank Roberts Field Applications - - PowerPoint PPT Presentation

efm32 presentation february 2013
SMART_READER_LITE
LIVE PREVIEW

EFM32 Presentation February 2013 Frank Roberts Field Applications - - PowerPoint PPT Presentation

EFM32 Presentation February 2013 Frank Roberts Field Applications Director Americas f.roberts@energymicro.com 720 839 7864 EFM32 ...the worlds most energy friendly microcontrollers The EFM32 lineup 7 Mar 13 3 the worlds most


slide-1
SLIDE 1

EFM32 Presentation February 2013

Frank Roberts Field Applications Director – Americas

f.roberts@energymicro.com 720 839 7864

slide-2
SLIDE 2

EFM32

...the world’s most energy friendly microcontrollers

slide-3
SLIDE 3

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 3

The EFM32 lineup

slide-4
SLIDE 4

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 4

Comparing the EFM32 performance

1 Active 25 MHz @ 3V 2 Reduced processing time 3 Very fast wake‐up time 4 Ultra low stand‐by current 5 Autonomous peripherals 6 Peripheral Reflex System 7 Well architected Energy Modes 8 Ultra Energy Efficient Peripherals 9 Low Energy Sensor Interface 10 Advanced Energy Monitoring

32‐bit EFM32TG840F32

150

µA/MHz

1

Cortex M3

2 µs 0.9 µA Yes Yes Yes Yes Yes Yes

32‐bit STM32L151xx

294

µA/MHz

1

Cortex M3

8 µs 4.5 µA (1.9 µA*) No No Partial No No No

32‐bit SAM4Lx

218

µA/MHz

1

Cortex M4

5 µs (1.5 µs**) 50.3 µA (6.9 µA*) Partial Yes Partial No No No

32‐bit LPC11xxL

150

µA/MHz

1.4

Cortex M0

TBD 57 µA (6 µA*) No No No No No No

16‐bit MSP430F543x

226

µA/MHz

4.3

MSP430

5 µs 2.6 µA Partial No Partial No No No

16‐bit PIC24F16KA102

344

µA/MHz

2.3

PIC24

1 µs (1 ms for PLL) 0.93 µA (0.85 µA*) No No Partial No No No

* Brown‐out detection disabled ** Added consumption in active mode

slide-5
SLIDE 5

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 5

EFM32 – packed with features

CPU and Memory Peripheral Reflex System Security Serial Interfaces Clock Management I/O Ports Timers and Triggers Analog Modules Energy Management

High Freq Crystal Osc High Freq RC Osc Low Freq Crystal Osc Low Freq RC Osc

ARM Cortex-M3 processor

Voltage Regulator Voltage Comparator Power-on Reset Brown-out Detector USART UART Low Energy UART I2C General Purpose I/O External Interrupt Pin Reset ADC LCD Controller Analog Comparator AES Accelerator Ultra Low Freq RC Osc Timer/ Counter Low Energy Timer Backup RTC Pulse Counter Watchdog Timer Low Energy Sensor IF

Memory Protection Unit

Operational Amplifier DAC Auxiliary RC Osc External Bus Interface USB

Embedded Trace Macrocell Flash Program Memory RAM Memory Debug Interface DMA

ARM Cortex-M processor

Memory Protection Unit

TFT Driver Auxiliary RC Osc Back-up Power Domain Real Time Counter GPIO Wake-up

32-bit bus

The top EFM32 features

slide-6
SLIDE 6

Peripheral Reflex System

slide-7
SLIDE 7

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 7

Peripheral Reflex System Peripheral Reflex System

4 ch 8 ch 8 ch 12 ch 12 ch

Reflex Producers Reflex Consumers ARM Cortex-M3 processor

Z

Z

Z

Peripheral Reflex System

ADC Timer GPIO DAC

12 ch

slide-8
SLIDE 8

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 8

Example – Autonomous Sound Loopback

Trigger ADC

ADC

Trigger ADC

ADC

Trigger DAC

DAC

Trigger DAC

DAC DMA DMA Sample DATA Sample DATA TIMER Overflow @ 44 kHZ TIMER Overflow @ 44 kHZ Peripheral Reflex System Peripheral Reflex System Reflex Signals Reflex Signals CPU CPU

Z

Z

Z

slide-9
SLIDE 9

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 9

Example: Pulse length measurement

TIMER

Overflow Analog input Reference Reset & Start Capture Analog input Reference Reflex signal

+ ‐

Analog Comparator TIMER Count value

Peripheral Reflex System

slide-10
SLIDE 10

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 10

Highly Flexible

Reflex Consumers

  • ADC
  • DAC
  • TIMER
  • LESENSE
  • UART
  • USART
  • PCNT

Reflex signals Reflex signals

Reflex Producers

  • ACMP
  • ADC
  • DAC
  • GPIO
  • RTC
  • BURTC
  • TIMER
  • LETIMER
  • LESENSE
  • UART
  • USART
  • USB
  • VCMP
slide-11
SLIDE 11

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 11

But why?

Reflex System – Key Benefits

slide-12
SLIDE 12

Analog to Digital Converter

slide-13
SLIDE 13

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 13

Analog to Digital Converter

ADC Highlights

  • 12-bit @ 1 Msps: 350 µA
  • 12-bit @ 10 ksps: 63 µA
  • Scalable resolution: 16,12,8 or 6 bits
  • Up to 8 input channels
  • Integrated temperature sensor
  • Internal/external references
  • Scan/single conversions
  • Hardware controlled warmup
  • Tailgating
  • Differential or Single Ended Input

SAR

ADCn_CH0 ADCn_CH7 Temp VSS VDD VDD/3 DAC0 ADCn_CH1 ADCn_CH2 ADCn_CH3 ADCn_CH4 ADCn_CH5 ADCn_CH6 2.5 V 1.25 V VDD

+

  • DAC1

2x(VDD-VSS) 5 V differential Vref/2 Results

slide-14
SLIDE 14

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 14

From AN0021 ADC Appnote

slide-15
SLIDE 15

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 15

But why?

ADC – Key Benefits

slide-16
SLIDE 16

Flexible Display Drivers

slide-17
SLIDE 17

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 17

Energy Efficient LCD Controller

  • g

g

LCD Controller highlights:

  • Directly driving segment LCD displays
  • G (Up to 4x40 segments)
  • TG (Up to 8x20 segments)
  • LG, GG, WG (Up to 8x36 segments)
  • Energy Efficient
  • 550 nA for 4x40
  • 250 nA for 1x40
  • Configurable:
  • Contrast
  • Segment blink/ Animation
  • Integrated voltage booster
slide-18
SLIDE 18

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 18

TFT Driver

EFM32

CPU

Z Z

Z

TFT Driver Highlights

  • TFT/(AM)OLED displays
  • Up to 16-bit color
  • Full video from exeternal memory
  • 0% CPU load
  • 320x240 pixels (QVGA) @ 60 fps
  • 480x320 pixels (HVGA) @ 30 fps
  • Supports displays without internal

frame buffer

  • Accelerated graphics update
  • Scrolling
  • Rectangle copy
  • Alpha blending
  • Bit masking

External Memory

External Bus Interface w/TFT Driver

slide-19
SLIDE 19

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 19

But why?

Display Drivers – Key Benefits

slide-20
SLIDE 20

Wide Cortex‐M Portfolio WITH Energy Friendliness

slide-21
SLIDE 21

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 21

ARM Cortex‐M Processors

Cortex-M highlights

  • Industry standard CPU
  • Software/tool compatible across M0/M3/M4F
  • High performance, low power platform
  • Up to 2.19 CoreMark/MHz
  • As little as 150 µA/MHz in EFM32
  • Excellent code density
  • DSP options in M4F
slide-22
SLIDE 22

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 22

240+ Scalable Low Energy EFM32s

QFP100 QFN24 QFN32 QFN64 QFP48 QFP64 BGA112 BGA120 USB LCD TFT

EFM32ZG108 EFM32ZG110 EFM32TG108 EFM32TG110 EFM32ZG210 EFM32TG210 EFM32G200 EFM32G210 EFM32TG232 EFM32G232 EFM32TG230 EFM32G230 EFM32WG230 EFM32ZG222 EFM32TG222 EFM32G222 EFM32TG842 EFM32LG842 EFM32WG842 EFM32TG840 EFM32LG840 EFM32WG840 EFM32TG822 EFM32LG880 EFM32WG880 EFM32LG890 EFM32WG890 EFM32LG895 EFM32WG895 EFM32LG395 EFM32WG395 EFM32LG390 EFM32WG390 EFM32LG380 EFM32WG380 EFM32LG332 EFM32WG332 EFM32LG940 EFM32WG940 EFM32LG942 EFM32WG942 EFM32LG980 EFM32WG980 EFM32LG990 EFM32WG990 EFM32LG995 EFM32WG995 EFM32LG330 EFM32WG330 EFM32LG295 EFM32WG295 EFM32LG290 EFM3WG290 EFM32LG280 EFM32LG232 EFM32WG280 EFM32LG230 EFM32WG232

Total 16 MCUs Flash: 4 - 32 RAM: 2 - 4 Total 35 MCUs Flash: 4 - 32 RAM: 2 - 4 Total 31 MCUs Flash: 16 – 128 RAM: 8 - 16 Total 60 MCUs Flash: 64 - 256 RAM: 32 Total 60 MCUs Flash: 64 - 256 RAM: 32

EFM32G840 EFM32G880 EFM32G890 EFM32G842

Optional Features Zero Tiny Gecko Leopard Giant Wonder

EFM32G290 EFM32G280

  • Software compatible
  • Pin compatibility within each package

EFM32GG842 EFM32GG840 EFM32GG880 EFM32GG890 EFM32GG895 EFM32GG395 EFM32GG390 EFM32GG380 EFM32GG332 EFM32GG940 EFM32GG942 EFM32GG980 EFM32GG990 EFM32GG995 EFM32GG330 EFM32GG295 EFM32GG290 EFM32GG280 EFM32GG232 EFM32GG230 EFM32TG225 EFM32TG825

BGA48

Total 40 MCUs Flash: 512 - 1024 RAM: 128

USB LCD TFT USB LCD TFT DSP with FPU LCD LCD

EFM32TG840 EFM32LG840 EFM32WG840 EFM32G840 EFM32GG840 EFM32ZG108 EFM32ZG110 EFM32TG108 EFM32TG110 EFM32ZG210 EFM32TG210 EFM32G200 EFM32G210 EFM32TG232 EFM32G232 EFM32TG230 EFM32G230 EFM32WG230 EFM32ZG222 EFM32TG222 EFM32G222 EFM32TG842 EFM32LG842 EFM32WG842 EFM32TG822 EFM32LG880 EFM32WG880 EFM32LG890 EFM32WG890 EFM32LG895 EFM32WG895 EFM32LG395 EFM32WG395 EFM32LG390 EFM32WG390 EFM32LG380 EFM32WG380 EFM32LG332 EFM32WG332 EFM32LG940 EFM32WG940 EFM32LG942 EFM32WG942 EFM32LG980 EFM32WG980 EFM32LG990 EFM32WG990 EFM32LG995 EFM32WG995 EFM32LG330 EFM32WG330 EFM32LG295 EFM32WG295 EFM32LG290 EFM3WG290 EFM32LG280 EFM32LG232 EFM32WG280 EFM32LG230 EFM32WG232 EFM32G880 EFM32G890 EFM32G842 EFM32G290 EFM32G280 EFM32GG842 EFM32GG880 EFM32GG890 EFM32GG895 EFM32GG395 EFM32GG390 EFM32GG380 EFM32GG332 EFM32GG940 EFM32GG942 EFM32GG980 EFM32GG990 EFM32GG995 EFM32GG330 EFM32GG295 EFM32GG290 EFM32GG280 EFM32GG232 EFM32GG230 EFM32TG225 EFM32TG825

Pin compatible M4F M3 M0

slide-23
SLIDE 23

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 23

But why?

Cortex‐M Portfolio– Key Benefits

slide-24
SLIDE 24

Well Architectured Energy Modes

slide-25
SLIDE 25

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 25

Well Architectured Energy Modes

EM0 “Run Mode”: 150µA/MHz EM1 “Sleep Mode”: 45µA/MHz EM2 “Deep Sleep Mode”: 900nA

RTC, Brown‐Out Detection, RAM and CPU retained 2 µs wake‐up

EM3 “Stop Mode”: 600nA

Brown‐Out Detection, RAM & CPU retained 2 µs wake‐up

EM4“Shutoff Mode”: 20nA

Pin/GPIO Reset RTC + 512‐byte backup memory : 400 nA

slide-26
SLIDE 26

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 26

EFM32 Peripherals can be used in Ultra Low Power EM2 and EM3: For example DMA can be used in EM2 Mode with the MCU in a 900nA mode!!

slide-27
SLIDE 27

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 27

But why?

Energy Modes– Key Benefits

slide-28
SLIDE 28

Low Energy UART

slide-29
SLIDE 29

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 29

DMA DMA

Low Energy UART

LEUART Highlights

  • Up to 2 LEUARTs
  • Full UART with 32 kHz clock
  • Can operate entirely in EM2(900nA)

with DMA

  • 150 nA at 9600 baud/s
  • DMA support
  • Valid wake-up packet

Z

Z

Z

32-bit Bus 32-bit Bus

RX RAM RAM LEUART LEUART CPU CPU DMA RAM LEUART

slide-30
SLIDE 30

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 30

But why?

Low Energy UART– Key Benefits

slide-31
SLIDE 31

Hardware AES Acceleration

slide-32
SLIDE 32

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 32

AES Encryption Accelerator

AES Highlights

  • Encryption/decryption
  • 128/256-bit keys @ 54/75 cycles
  • 20 – 80 times faster than software
  • On-the-fly key generation
  • No memory required
  • Key buffering in 128-bit mode
  • No reload of key
  • DMA support for autonomous cipher

modes

  • 2.5uA/MHz

AES AES

How are you? I am fine &G#%5(¤F !T4/#2@(2

slide-33
SLIDE 33

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 33

But why?

AES Accelerator – Key Benefits

slide-34
SLIDE 34

Back‐up Power Domain

slide-35
SLIDE 35

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 35

EFM32

Backup Power Domain

Main power domain Backup power domain

Backup Real Time Counter Real Time Counter Backup Registers 512 bytes GPIO Wake-up Pin Reset I/O State Retention Power-on Reset

CPU and other Peripherals

Low Freq Crystal Osc Low Freq RC Osc Ultra Low Freq RC Osc Voltage Regulator

Backup Domain Highlights

  • Automatic main/backup power

switch

  • 32-bit Backup RTC
  • Use any LF oscillator
  • 512-byte backup register
  • 400nA with RTC and registers
  • AN0041 Backup RTC/Power

Domain Appnote w/Source Code

slide-36
SLIDE 36

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 36

But why?

Backup Domain – Key Benefits

slide-37
SLIDE 37

Integrated Operational Amplifiers

slide-38
SLIDE 38

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 38

Operational Amplifiers

VDD GND GND Out Out

+ OpAmp Highlights

  • 3 rail-to-rail OPAMPs integrated
  • Inputs from pin, DAC or OPAMPs
  • Outputs to pin, ADC or OPAMPs
  • Various configuration modes
  • Programmable gain
  • Inverting / non-inverting
  • Cascading
  • +++
  • 6.1 MHz gain bandwidth product
  • 13 – 400 µA active current
  • 65 degree phase margin
  • 1 mV offset voltage
slide-39
SLIDE 39

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 39

But why?

OPAMPs– Key Benefits

slide-40
SLIDE 40

Low Energy Sensor Interface

LE SENSE!

slide-41
SLIDE 41

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 41

Low Energy Sensor Interface (LESENSE)

EFM32 Z Z Z Z Z

LESENSE Highlights

  • Autonomous sensing in EM2/EM3(w/ ULFRCO)
  • LESENSE with central control logic
  • ACMP for sensor input
  • DAC for reference generation
  • Measure up to 16 sensors
  • Programmable state machine
  • 16 states, 4 input channels
  • Can do quadrature decoding
  • Interrupt/PRS on sensor events
slide-42
SLIDE 42

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 42

slide-43
SLIDE 43

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 43

slide-44
SLIDE 44

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 44

slide-45
SLIDE 45

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 45

Z z Z

LESENSE

Capacitive Measurement

300 412 < Compare Counter ACMP <

CPU

Interrupt!

240

slide-46
SLIDE 46

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 46

LESENSE – Capacitive Example

  • Analog Comparators measure
  • ne input at a time
  • Counts oscillations for a given

time period

  • Touched sensor gives lower

frequency

  • Performs action if threshold is

breached

  • Wake‐up
  • State‐machine input
  • Buffer results
  • 1.2 µA @ 20 Hz

ACMP LESENSE 300 500 < Wake-up Counter Compare

slide-47
SLIDE 47

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 47

LESENSE – Resistive Example

ACMP trigger level VSS VDD Excitation Waiting Idle Sample

  • Capacitor charged to VDD during excitation
  • Sample ACMP output after a programmable time
  • Wake‐up
  • Buffer results
  • State Machine input
  • Adjustable time period before sampling
slide-48
SLIDE 48

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 48

LESENSE – Inductive Example

Metal No metal

  • DAC drives common level
  • Excitation pulses individual lines

low

  • Oscillations damped faster when

close to metal

  • LESENSE counts the number of

times the oscillation breaches the ACMP threshold (red)

  • Action if lower than compare

value

  • Wake‐up
  • State machine input
  • Buffer results
  • Autonomous in Deep Sleep
  • 1.4 µA @ 20 Hz

EFM32 ACMP0_CH0 ACMP0_CH1 ACMP0_CH2 DAC0_OUT0

slide-49
SLIDE 49

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 49

  • Use LESENSE state machine to detect order of

capasitive button press

  • Stay in Deep Sleep until right order is detected
  • Reduce energy impact of frequent unintentional

touches

Autonomous «slide‐to‐unlock»

slide-50
SLIDE 50

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 50

But why?

LESENSE– Key Benefits

slide-51
SLIDE 51

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 51

EFM32 – packed with features

CPU and Memory Peripheral Reflex System Security Serial Interfaces Clock Management I/O Ports Timers and Triggers Analog Modules Energy Management

High Freq Crystal Osc High Freq RC Osc Low Freq Crystal Osc Low Freq RC Osc

ARM Cortex-M3 processor

Voltage Regulator Voltage Comparator Power-on Reset Brown-out Detector USART UART Low Energy UART I2C General Purpose I/O External Interrupt Pin Reset ADC LCD Controller Analog Comparator AES Accelerator Ultra Low Freq RC Osc Timer/ Counter Low Energy Timer Backup RTC Pulse Counter Watchdog Timer Low Energy Sensor IF

Memory Protection Unit

Operational Amplifier DAC Auxiliary RC Osc External Bus Interface USB

Embedded Trace Macrocell Flash Program Memory RAM Memory Debug Interface DMA

ARM Cortex-M processor

Memory Protection Unit

TFT Driver Auxiliary RC Osc Back-up Power Domain Real Time Counter GPIO Wake-up

32-bit bus

slide-52
SLIDE 52

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 52

Simplicity Studio

  • Easily access all free software tools
  • Always the latest updates and news

energyAware Profiler

Simplicity Studio

energyAware Designer energyAware Battery

slide-53
SLIDE 53

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 53

AEM

AEM - Advanced Energy Monitoring and the energyAware Profiler

The energyAware Profiler is an energy debugging tool that use Advanced Energy Monitoring (AEM) data available from the development tools to perform real‐time profiling and debugging of the associated object code.

slide-54
SLIDE 54

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 54

Some interesting Appnotes

  • AN047 Interfacing Graphical Displays
  • FREE Segger emWin Graphics library
  • AN048 Energy Optimized Display Application
  • uA Sharp Memory display application using emWin
  • AN0052 USB MSD Host Bootloader
  • AN0053 IR Sensor Monitoring Using LESENSE
  • Low Energy operation of Photointerrupter and Prox Sensor
  • AN0054 Smart Phone Audio Jack Interface
  • EH application with audio jack communication
  • AN0055 Speex Codec
  • On board Differential A/D and DAC
slide-55
SLIDE 55

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 55

Some interesting Technologies

  • Wireless
  • 802.11 partnerships with Atheros, Digi, RTX
  • BTLE
  • Have our own BTLE Stack that can be used on our EFM32 with an

external radio.

  • BT v2.1, BT Dual Mode
  • Searan dotstack
  • E‐Paper
  • PDI Eval Kits: 4.41’’ and Shelf Label Retronix Kit
  • Create boost converter with PRS System
  • RTOS
  • Keil RTX RTOS allows RTC to be used in EM2
  • Pumpkin Salvo RTOS allows use of EM modes also
  • uCOS2/3, FreeRTOS, CMX, etc
slide-56
SLIDE 56

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 56

So you say you want a FREE Development Environment?

  • Check out AN0023 ‘Configuring Eclipse & GNU/GCC

Compiler, ask for detailed Installation Guide!!

  • Eclipse is a FREE Open Source Project Manager/IDE. Eclipse

front‐end is commonly used even in ‘Pay for’ IDE’s.

http://www.eclipse.org/downloads/packages/eclipse‐ide‐cc‐developers‐includes‐incubating‐ components/indigosr2

  • Codesourcery is the GNU toolchain containing a FREE gcc

compiler/linker and gdb debugger.

http://www.mentor.com/embedded‐software/sourcery‐tools/sourcery‐codebench/editions/lite‐edition/

  • Debugger: Your STK or DK is your FREE J‐LINK Debugger!!

This can be used with your own Target Board. Refer to the link below.

http://forum.energymicro.com/topic/45‐debugging‐with‐the‐efm32‐starterdevelopment‐ kits/page__hl__debug

slide-57
SLIDE 57

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 57

Software libraries

  • Provided free of charge with our chips
  • Open source
  • Production quality (but no warranty given)
  • Supported by our technical support team
  • CMSIS register definitions / HAL
  • emlib driver library
  • Protocol stacks (USB, RF, etc)
  • GUI library
slide-58
SLIDE 58

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 58

USB stack

  • Free stack with source available on web
  • Includes:
  • Device – base, MSD, HID, CDC, VUD
  • Host – base, MSD, HID, HUB
  • The Giant Gecko with USB stack has passed

the USB‐IF compliance certification

  • Partner with commercial vendors

(SEGGER emUSB and Jungo USBware)

slide-59
SLIDE 59

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 59

GUI library

  • Free stack available – SEGGER emWin
  • Includes:
  • emWin Color basic package
  • emWin GUIDRV Lin
  • Window manager
  • Memory device module
  • Anti‐aliasing module
  • Windows PC tools:
  • Bitmap converter
  • Font converter (supports also Asian languages)
  • Simulation environment
  • GUI‐Builder
slide-60
SLIDE 60

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 60 Gecko Starter Kit Tiny Gecko Starter Kit Gecko Development Kit Leopard Gecko Development Kit Giant Gecko Development Kit Device EFM32G890F128 EFM32TG840F32 EFM32G890F128 EFM32G290F128 EFM32LG990F256 EFM32GG990F1024 Advanced Energy Monitoring Yes Yes Yes Yes Yes USB J-Link Debugger Yes Yes Yes Yes Yes Plug-in MCU and prototyping board

  • Yes

Yes Yes Onboard J-Trace

  • Yes

Yes Screen 4x40 segment LCD 8x20 segment LCD 4x40 segment LCD

(EFM32G890-DK only)

320x240 RGB TFT 320x240 RGB TFT w/touch 320x240 RGB TFT w/touch

Full featured hardware tools

$69 $69 $299 $349 $349

slide-61
SLIDE 61

www.energymicro.com

slide-62
SLIDE 62

EFR Update

slide-63
SLIDE 63

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 63

EFR4D‐STK6500

  • Available at launch, Q4 2013
  • Familiar features: AEM and on‐board J‐Link debugger
  • Modular approach – the same main board will

support all frequency bands, with different RF modules

  • 128x128 pixel SHARP Memory LCD
  • Connects to any Gecko MCU STK, allowing two‐chip

configurations

slide-64
SLIDE 64

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 64

Later kits

  • USB stick
  • Wireless sensor nodes
  • TBD
slide-65
SLIDE 65

… the world’s most energy friendly microcontrollers

7‐Mar‐13

www.energymicro.com 65

Protocol availablity

At Sample time: 802.15.4‐2006 BTLE – Licensed WiCentric BTLE Stack!! SimpliPHY Later: More to come...

slide-66
SLIDE 66

… the world’s most energy friendly microcontrollers

7‐Mar‐13

www.energymicro.com 66

Protocols details ‐ SimpliPHY

SimpliPHY is a very simple propretary protocol with a very small footprint. Ideal for companies that want:

  • Simple solution
  • Make their own protocol
  • Low complexity and foot print
  • Full source code

Send, receive, set channel, energy detect, Clear channel Assessment.

slide-67
SLIDE 67

… the world’s most energy friendly microcontrollers

7‐Mar‐13

www.energymicro.com 67

Protocols details – Bluetooth Low Energy

Stack will be provide by a partner – no license cost for customers. Stack is already certified and stable. Profiles and services that will be supported at launch time (minimum list):

  • Alert Notification Profile
  • Blood Pressure Profile
  • Find Me Profile
  • Heart Rate Profile
  • Phone Alert Status Profile
  • Proximity Profile
  • Time Profile
  • Battery Service
  • Blood Pressure Service
  • Device Information Service
  • Heart Rate Service
  • Immediate Alert Service
  • Link Loss Service
  • TX Power Service
  • Weight Scale
  • Blood Glucose
  • Proprietary Profiles
slide-68
SLIDE 68

… the world’s most energy friendly microcontrollers

7‐Mar‐13

www.energymicro.com 68

Protocols details – 802.15.4

  • Non Beacon Mode
  • Beacon Mode
  • Security (802.15.4‐2006)
  • 868/915 MHZ
  • 2.4 GHZ

All features required for runing ZigBee PRO, ZigBee RF4CE, ZigBee IP/6Lowpan protocols.

slide-69
SLIDE 69

… the world’s most energy friendly microcontrollers

7‐Mar‐13

www.energymicro.com 69

Using EFM32 for wireless applications

EFM32 is an ideal host processor paired together with a wireless module or transeiver. Example: Several companies now supply low Power WIFI modules that contain an EFM32 MCU. Example a module from RTX:

slide-70
SLIDE 70

www.energymicro.com

slide-71
SLIDE 71

Additional EFM32 Slides

slide-72
SLIDE 72

Core and Peripherals

slide-73
SLIDE 73

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 73

LFA LFB

LETIMER LETIMER

DIV DIV

LEUART0 LEUART0 LCD LCD RTC RTC PCNT PCNT

DIV DIV DIV DIV DIV DIV

HFCORE HFPER

1,7,11,14,21,28 MHz HFRCO 1,7,11,14,21,28 MHz HFRCO 32 kHz LFRCO 32 kHz LFRCO

HFCLK HFCLK DIV 1-512 DIV 1-512 DIV 1-512 DIV 1-512

4-32/48 MHz HFXO 4-32/48 MHz HFXO 32.768 kHz LFXO 32.768 kHz LFXO

TIMER TIMER

1 kHz ULFRC 1 kHz ULFRC WDOG WDOG CPU CPU LFBCLK LFBCLK LFACLK LFACLK

CG CG

USART USART ADC ADC

14 MHz AUXHFRCO 14 MHz AUXHFRCO

LESENSE LESENSE

AES AES EBI EBI DMA DMA

Bus System Bus System Trace Out Trace Out

CG CG CG CG CG CG CG CG CG CG CG CG CG CG CG CG CG CG CG CG

Flash Write Flash Write

Clocks and Oscillators

LEUART1 LEUART1

DIV DIV

CG CG

LESENSE LESENSE

CG CG

50 nA

slide-74
SLIDE 74

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 74

Universal Serial Bus (USB)

USB Highlights

  • USB 2.0 compliant
  • Support for USB Device, Host and On-

The-Go (OTG)

  • Full speed (12 Mbit/s)
  • 14 endpoints (2 KB buffers)
  • Integrated 3.3V regulator (up to 100 mA)
  • Dedicated DMA for USB
  • Pre-programmed USB device bootloader
  • Free stack in Simplicity Studio
  • Mass Storage Host/Device
  • Human Interface Host/Device
  • Vendor Unique Device
  • Communication Class Device (USB-to-RS232)
slide-75
SLIDE 75

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 75

Direct Memory Access Controller

DMA Highlights

  • Transfer between Flash/RAM and peripherals
  • 8 channel DMA
  • 12 channels in LG/GG/WG
  • Multiple operational modes
  • Scatter-Gather, Ping-pong
  • Reduce workload of CPU
  • Reduce latency
  • 8.12uA/MHz
slide-76
SLIDE 76

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 76

External Bus Interface

EBI Highlights

  • Standard EBI (Gecko)
  • External SRAM
  • Displays (8080 interface)
  • Memory mapped
  • Giant/Leopard/Wonder Gecko EBI
  • Gecko EBI compatible
  • Independent timing for 4 CS
  • 32-bit data access
  • Code execution
  • 28 address lines and 16 data lines
  • NAND Flash support

Timing AHB EBI_AD[15:0] APB CONTROL Data/Address EBI_REn EBI_BLn[1:0] EBI_CSn[3:0] EBI_ARDY EBI_ALE Polarity MODE EBI_A[27:0] EBI_WEn EBI_NANDWEn EBI_NANDREn Memory Interface EBI

slide-77
SLIDE 77

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 77

Low Energy Timer

Low Energy Timer Highlights

  • 16-bit counter, 8-bit repeat
  • Clocked from LFXO/LFRCO/ULFRCO
  • Waveform generation
  • Duty cycle control of external

components/sensors

  • Available down to Stop Mode (EM3)
  • 150nA
slide-78
SLIDE 78

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 78

Real Time Counter

RTC Highlights(100nA)

  • Real Time Counter
  • 24-bit counter
  • 2 compare values
  • Clocked from LFXO/LFRCO/ULFRCO
  • Available in EM0 – EM3
  • Backup Real Time Counter (LG/GG/WG)
  • 32-bit counter
  • Clocked from LFXO/LFRCO/ULFRCO
  • Wake-up on LFXO failure
  • Available in EM0 - EM4
  • Can run from backup power
slide-79
SLIDE 79

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 79

Analog Comparators

ACMP Highlights

  • Up to 2 analog comparators
  • 8 input pins per comparator
  • Programmable speed/current
  • 4.5 µs / 0.1 µA
  • 0.2 µs / 2 µA
  • Capacitive Sense mode
  • Internal references
slide-80
SLIDE 80

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 80

Digital to Analog Converter

DAC Highlights

  • 12-bit resolution
  • 200 µA @ 500 ksps
  • 38 µA @ 1 ksps
  • 2 independent channels
  • Continuous/sample&hold
  • Internal references
  • Sine generation mode
  • PRS/DMA Trigger
slide-81
SLIDE 81

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 81

Power Supply Supervision

Power Supervision Highlights

  • 1.85 V to 3.8 V
  • Power-on Reset
  • Always enabled
  • Brown-out Detector
  • Enabled in EM0 – EM3
  • Available in EM4 on LG/GG/WG
  • Voltage/Battery Supply Comparator
  • Programmable trigger level
  • Interrupt trigger
  • 100nA
slide-82
SLIDE 82

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 82

High Frequency Timer/Counters

Timer/Counter Highlights

  • Up to 3 16-bit Timers
  • Up, Down, Up/Down Modes
  • Quadrature Decoder
  • 3 Compare/Capture/PWM
  • Dead-Time Insertion on TIMER0
  • Systick Timer
  • Integrated in Cortex-M
  • OS Timer
slide-83
SLIDE 83

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 83

Pulse Counter

Pulse Counter Highlights

  • Up to 3 8/16-bit Pulse Counters included
  • Counts incoming rising or falling edges
  • Asynchronous quadrature decoder
  • Interrupt on direction change
  • Available down to Stop Mode (EM3)

Reload value Interrupt Quadrature code

slide-84
SLIDE 84

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 84

SPI and UART

SPI and UART Highlights

  • Up to 3 USARTs
  • UART/SPI (master/slave)
  • IrDA
  • SmartCards (ISO7816)
  • 8 Mbit/s UART, 16 Mbit/s SPI master
  • I2S support (ZG, TG, LG, GG and WG)
  • Up to 2 UARTs
  • Subset of USART with support for

asynchronous communication

slide-85
SLIDE 85

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 85

EFM32 I2C master/slave Other I2C master Other I2C slave VDD I2C EEPROM SDA SCL

I2C

I2C Highlights

  • Up to 2 I2C peripherals included
  • I2C and SMBus support
  • Data rates up to 1 MBit/s
  • Hardware address recognition in EM3
slide-86
SLIDE 86

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 86

General Purpose Input/Output

GPIO Highlights

  • Up to 93 GPIO pins
  • Configurable
  • Pull up / down
  • Input/Output enable
  • Drive strength (0.5 / 2 / 6 / 20 mA)
  • Input filter
  • 16 pin interrupts
  • Alternate functions
  • Reset trigger from GPIO in EM4
  • ZG, TG, LG, GG and WG

TIMER UART

RX TX PWM

slide-87
SLIDE 87

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 87

Debug/Programming

Debug/Programming Highlights

  • 2-wire Serial Wire debug interface
  • Debugging/Programming
  • 1-wire Serial Wire Viewer output
  • printf-style debug information
  • PC sampling
  • 5-wire Embedded Trace Macrocell

(LG/GG/WG)

  • Instruction and Data Trace
  • Debug lock for firmware protection
  • Pre-programmed Bootloader
  • UART in all EFM32s
  • UART+USB in parts with USB
slide-88
SLIDE 88

… the world’s most energy friendly microcontrollers and radios

7‐Mar‐13

www.energymicro.com 88

ARM Cortex‐M4F

Cortex-M4F highlights

  • High performance, low power platform
  • 1.25 DMIPS/MHz
  • 2.19 CoreMark/MHz
  • Digital Signal Processing instructions
  • Single cycle 32-bit MAC
  • 8, 16-bit SIMD arithmetic
  • Single precision FPU
  • Scalability for future products
  • Software/tool compatible with Cortex-M
  • Memory Protection Unit
  • Embedded Trace Macrocell