EFM32 Embedded Software for the worlds most engineer friendly - - PowerPoint PPT Presentation
EFM32 Embedded Software for the worlds most engineer friendly - - PowerPoint PPT Presentation
EFM32 Embedded Software for the worlds most engineer friendly microcontrollers Why software is important EFM32 MCUs are designed to save energy, but Your code affects the battery life MCU in Energy Mode 0: 4mA and 1 day battery life MCU
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 2
Why software is important
- EFM32 MCUs are designed to save energy, but
Your code affects the battery life
Battery Lifetime MCU in Energy Mode 2: 1uA and 11 years battery life MCU in Energy Mode 0: 4mA and 1 day battery life
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 3
Motivation
- Access the huge ARM Cortex-M software ecosystem
- Compilers
- Tools
- Debuggers
- An active community
- RTOS
- Filesystems
- Drivers
- GUI libraries
- USB stacks
- TCP/IP stacks
- ...
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 4
Simplicity Software
- 1. Reduces development time
- Easy to use APIs
- Ready to use examples and templates
- Well written documentation
- 2. Reduces power consumption
- Software written with low power consumption in mind
- Develop drivers to minimize power consumption
- Teach developers how to reduce power consumption
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 5
Software library overview
- Provided free of charge with every EFM32 MCU
- Open source, production quality, supported
Your code energyAware Drivers / USB Stack / RTOS emlib CMSIS
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 6
CMSIS
- Cortex Microcontroller Software Interface Standard
- Improves software portability and re-usability
- Includes
- Optimized DSP functions
- RTOS abstraction
- Register view (IDE integration)
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 7
emlib
- Low level hardware abstraction
- Corresponding hardware and emlib module
- Low memory footprint (Flash and RAM)
- Can be used with any RTOS
- Portable API across the various EFM32 families
- Zero Gecko | Tiny Gecko | Gecko | Giant Gecko
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 8
energyAware Drivers
- Higher level drivers
- Goal:
- Optimize for power consumption
- Speed up customer development
- Drivers released to date (May 2013):
- GPIO Dispatcher
- Non Volatile Memory
- Roadmap:
- Touch, UART, SPI, I2C, Lesense, ++
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 9
USB stack
- Free stack
- Full source code available
- PC side tools examples available
- Includes
- Device – base, MSD, HID, CDC, VUD, PHDC
- Host – base, MSD, HID, HUB
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 10
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:
- GUI-Builder
- Bitmap converter
- Simulation environment
- Font converter (+Asian languages)
Watch the video
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 11
Class-B self-test library
- Prevents unsafe operation
- f the application
- For household appliances
that require certification
- Pre-certified for
- IEC 60335
- IEC 60730
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 12
Bootloader
- All EFM32 come with factory installed bootloader
- Supports UART on all devices
- USB devices support USB CDC from the factory
- USB MSD upgrade code is available
- Not factory installed
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 13
Keil Professional RTX RTOS
- Ultra low power consumption
- Implements the CMSIS RTOS abstraction layer
- Open source and freely available
- http://www.energymicro.com/news/arm-keil-rtx-real-time-operating-system-offers-tickless-mode
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 14
BSP - Board Support Packages
- Each development kit comes with full set of demos
- Showcase how each component on the kit can be used
- Use it as a starting point for your own projects
- The license permits cut&paste!
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 15
Open source projects
- FreeRTOS – RTOS
- FatFS – file system
- LightWeight IP (lwIP) – TCP/IP stack
- Speex – audio codec for speech
- OpenBLT – bootloader tool
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 16
Commercial third party offerings
- AVIX-RT: AVIX RTOS
- CMX: RTOS, file system, TCP/IP
- CooCox: CoOS RTOS
- Express Logic: ThreadX RTOS
- Jungo: USBware and BTware (Bluetooth)
- Keil: Flash File System
- Micrium: µC/OS-II and µC/OS-III
- Micro Digital: SMX RTOS
- rt-labs: rt-kernel
- SEARAN: dotstack Bluetooth
- SEGGER: embOS, emFile, emUSB
- STZEDN: Wireless M-Bus Stack
- Wicentric: exactLE Bluetooth Smart protocol stack
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 17
Application Notes
- Getting started guides
- General EFM32 coding guidlines
- Best practice for use of peripherals
- Tools setup
- Wide range of applications supported
- Ethernet
- Audio codec
- Digital signal processing
- Energy harvesting
- +++
- Reference designs
- Capacitive sensing
- Display applications
- Smart phone audio jack interface
- +++
- Easily accessible in Simplicity Studio
- Full source code
- Projects for multiple IDEs/Compilers (IAR, Keil, GCC)
- Thorough PDF documentation
- Schematics for reference designs
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 18
Lizard Labs
- Online EFM32 training videos with subtitles
- PowerPoint files available
- Can be used as seminar material
- Hands-on exercises in Simplicity Studio
- 4 levels of detail from introduction to in-depth
technical information
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 19
µClinux
- Latest 3.9 Linux kernel
- Requires external SRAM and Flash
- Much more than a RTOS – can run «regular» linux
applications!
- Developed by Pengutronix
- http://www.energymicro.com/news/energy-micro-
and-pengutronix-demonstrate-the-world-s-most- energy-friendly-linux-for-arm-cortex-m3
… the world’s most energy friendly microcontrollers and radios
4-Sep-13
www.energymicro.com 20
Continua Certified Solutions for Connected Health
- Partnership with
Lamprey Networks
- HealthLink PHD
- HealthLink Android
- HealthLink Cloud