How to Select Hardware forvolume IoT Deployment?

Similar documents
STM32 F0 Value Line. Entry-level MCUs

Chapter 15 ARM Architecture, Programming and Development Tools

Cortex-M3/M4 Software Development

ARM Processors for Embedded Applications

2-bit ARM Cortex TM -M3 based Microcontroller FM3 Family MB9A130 Series

ELC4438: Embedded System Design ARM Embedded Processor

Chapter 5. Introduction ARM Cortex series

RM3 - Cortex-M4 / Cortex-M4F implementation

RM4 - Cortex-M7 implementation

mbed OS Update Sam Grove Technical Lead, mbed OS June 2017 ARM 2017

STM32 Cortex-M3 STM32F STM32L STM32W

Hands-On Workshop: ARM mbed

3 2-bit ARM Cortex TM -M3 based

ARM Cortex core microcontrollers 3. Cortex-M0, M4, M7

.org. IoT Development Platform

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

Bringing the benefits of Cortex-M processors to FPGA

Running ARM7TDMI Processor Software on the Cortex -M3 Processor

ARM Cortex -M for Beginners

ARM mbed mbed OS mbed Cloud

The Next Steps in the Evolution of ARM Cortex-M

Cortex-M Processors and the Internet of Things (IoT)

ARM architecture road map. NuMicro Overview of Cortex M. Cortex M Processor Family (2/3) All binary upwards compatible

NXP Unveils Its First ARM Cortex -M4 Based Controller Family

Implementing Secure Software Systems on ARMv8-M Microcontrollers

mbed Hello World! Introduction to mbed

ARM TrustZone for ARMv8-M for software engineers

The ARM Cortex-M0 Processor Architecture Part-1

Copyright 2016 Xilinx

Growth outside Cell Phone Applications

Multi-core microcontroller design with Cortex-M processors and CoreSight SoC

New STM32WB Series MCU with built-in Bluetooth 5 and IEEE

突破 8-/16-/32- 位和 DSP 界限的 ARM MCU 解决方案

Mobile & IoT Market Trends and Memory Requirements

Cortex-M Software Development

About EmbeddedCraft. Embedded System Information Portal, regularly publishes. Follow us on

Renesas Synergy MCUs Build a Foundation for Groundbreaking Integrated Embedded Platform Development

Designing, developing, debugging ARM Cortex-A and Cortex-M heterogeneous multi-processor systems

Mobile & IoT Market Trends and Memory Requirements

New STM32WB Series MCU with Built-in BLE 5 and IEEE

Mobile & IoT Market Trends and Memory Requirements

ARM mbed Technical Overview

Choosing a Micro for an Embedded System Application

Kinetis KE1xF512 MCUs

Hi Hsiao-Lung Chan, Ph.D. Dept Electrical Engineering Chang Gung University, Taiwan

The Next Steps in the Evolution of Embedded Processors

CMP Conference 20 th January Director of Business Development EMEA

FOR IOT PRODUCT DEVELOPMENT

Arm TrustZone Armv8-M Primer

ARM Cortex -M7: Bringing High Performance to the Cortex-M Processor Series. Ian Johnson Senior Product Manager, ARM

So you think developing an SoC needs to be complex or expensive? Think again

ARM Cortex-M and RTOSs Are Meant for Each Other

ARM Cortex -M and Java in the Internet of Things. Asim Chaudhry Field Applications Engineer, ARM

ECE 471 Embedded Systems Lecture 2

Building mbed Together: An Overview of mbed OS and How To Get Involved

Hands-On Workshop: Developing with the Kinetis Software Development Kit

GET STARTED FAST WITH THIS COMPREHENSIVE ENABLEMENT OFFERING FOR LPC800 MCUS

Hands-On Workshop: ARM mbed : From Rapid Prototyping to Production

Building Ultra-Low Power Wearable SoCs

ARM CORTEX-R52. Target Audience: Engineers and technicians who develop SoCs and systems based on the ARM Cortex-R52 architecture.

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

STM bit ARM Cortex MCUs STM32F030 Series

BASICS OF THE RENESAS SYNERGY PLATFORM

OUTLINE. STM32F0 Architecture Overview STM32F0 Core Motivation for RISC and Pipelining Cortex-M0 Programming Model Toolchain and Project Structure

Migrating to Cortex-M3 Microcontrollers: an RTOS Perspective

TI SimpleLink dual-band CC1350 wireless MCU

ARM mbed Towards Secure, Scalable, Efficient IoT of Scale

Accelerating IoT with ARM mbed

Universität Dortmund. ARM Architecture

L2 - C language for Embedded MCUs

Designing Security & Trust into Connected Devices

RENESAS SYNERGY PLATFORM

Kinetis Software Optimization

Contents of this presentation: Some words about the ARM company

HEALTHCARE SOLUTIONS WITH RENESAS SYNERGY PLATFORM

Accelerating IoT with ARM mbed

Leading Performance - Low Power - Scalability - Industrial-grade reliability & temp

The Definitive Guide to the ARM Cortex-M3

Kinetis KV5x Real-Time Control MCUs with Ethernet Up to 1 MB Flash and 256 KB SRAM

T he key to building a presence in a new market

ARM mbed Technical Overview

STM32F3. Cuauhtémoc Carbajal ITESM CEM 12/08/2013

SPBTLE-1S ArTM. October STMicroelectronics

Software Design Challenges for heterogenic SOC's

Accelerating IoT with ARM mbed

Cortex-M3/M4 Software Desig ARM

STM32G0 MCU Series Efficiency at its Best

Designing Security & Trust into Connected Devices

Overview of Development Tools for the ARM Cortex -A8 Processor George Milne March 2006

Supercharging the Embedded Device: ARM Cortex -M7. Ian Johnson Senior Product Manager, ARM

ARM mbed Reference Designs

AN Migrating to the LPC1700 series

BT2540 Bluetooth 4.0 BLE (CC2540) Module Users Manual

EE 354 Fall 2015 Lecture 1 Architecture and Introduction

An Introduction to the Stellaris LM4F Family of Microcontrollers

The Definitive Guide to ARM Ò Cortex Ò -M3 and Cortex-M4 Processors

MDK-Professional Middleware Components. MDK-ARM Microcontroller Development Kit MDK-ARM Version 5. USB Host and Device. Middleware Pack.

Modular ARM System Design

Introducing the Latest SiFive RISC-V Core IP Series

Introducing StellarisWare

Transcription:

How to Select Hardware forvolume IoT Deployment? Peter.Aldworth@arm.com 1

How to Select Hardware forvolume IoT Deployment Very broad topic! Let s start by focusing on MCU selection: 8/16-bit vs ARM Cortex-M processors We need to think beyond the processor HW Think at the IoT product level and consider complete BOM costs including sensors, radio and PSU Consider tools/ecosystem too I m hoping that this presentation is a starting point for our conversation on this topic Material presented here is preliminary/incomplete Please ask questions If there is interest I can run another presentation in the future to focus on your areas of interest 2

What Does Processor Selection Impact? HW product BOM Direct cost of silicon area to implement 8/16-bit or 32-bit processor gives tiny contribution to BOM Indirect costs more important: Code density, Clock speed needed to meet required performance/latency, power management features, MCU parts available with appropriate integrated features Lifetime costs Operation period between battery replacement/recharge Ability to adapt to mid-life upgrade/update (firmware updates needing increased performance/memory) Development and Deployment costs 3 Modern development tools, languages, ease of code reuse, availability of comprehensive debug/trace features

8/16-bit vs ARM Cortex-M:Aren t 32-bit Instruction Bigger? Most architectures have a range of instruction sizes For Dhrystone:Average Cortex-M0 instructions size is only 17-bits Application code density depends on richness of instruction set & CPU arch Multi-transfer data operations Rich set of addressing modes Rich set of arithmetic operations Size of internal register bank Conditional execution Combined compare and branch Automated function entry/exit (stack) Size of directly addressable memory Example of Dhrystone code size in bytes 8051 3186 bytes vs M3 900 bytes 4

8/16-bit vs ARM Cortex-M:Aren t 8/16-bit More Efficient? 8/16-bit processors require more clock cycles to perform an equivalent operation More cycles to fetch instructions More instructions to perform an operation* More cycles for multiplies, divides etc More cycles to transfer data (narrower bus) Using a ARM Cortex-M core enables Lower frequency (and lower voltage) Higher (maximum) performance Greater overall efficiency * Better code density 5

8/16-bit vs ARM Cortex-M: 32-bit MCUs are more expensive? Quick survey on http://www.newark.com/ (electronics component distributer): Search for 8, 16, and ARM MCUs with 128KB 256 KB of Program Memory 16KB 32KB of SRAM Results only show prices for low volume purchase so not representative of high volume BOM cost 22 results for 8-bit MCU: Price range $3.40 - $9 120 results for 16-bit MCU: Price range $3 - $40 370 results for ARM MCUs: Price range $1.80 - $19 If you compare MCUs with similar features ARM based designs are the same price or cheaper than 8/16-bit devices Lowest IoT product BOM will use modern MCUs integrating radio etc. 6

8/16-bit vs Cortex-M:What About Power Consumption? Cortex-M processors have architecturally defined power modes Complete operation then sleep Code density saves power NOR Flash reads are a large part of power budget Better code density means fewer reads to execute application Cortex-M + cache saves more power 7 Few cycles and shorter execution time means that MCU spends more time in low power state

ARM Cortex -M Product Line Low power implementation Sleep mode support Wake-up Interrupt Controller Increased intelligence at node Broad tools and OS support Binary compatible roadmap CMSIS support Pure C target Performance efficiency Feature rich connectivity Digital Signal Control (DSC) Processor with DSP Accelerated SIMD Floating point (FP) 32-bit RISC architecture High efficiency processor cores Integrated Interrupt Controller Lowest cost Low power Lowest power Outstanding energy efficiency Digital Signal Control application space Thumb -2 code density Area optimised designs CoreSight support 8/16-bit Traditional application space 16/32-bit Traditional application space 8

ARM Cortex Processor feature set comparison Instruction set architecture Cortex-M0 Cortex-M0+ Cortex-M3 Cortex-M4 Thumb, Thumb-2 System Instructions Thumb, Thumb-2 System Instructions Thumb + Thumb-2 Thumb + Thumb-2, DSP, SIMD, FP DMIPS/MHz 0.84-1.21 0.93-1.31 1.25-1.89 1.25-1.95 CoreMark/MHz 2.33 2.42 3.32 3.40 Bus interfaces 1 1 (+1 opt.) 3 3 Integrated NVIC Yes Yes Yes Yes Number interrupts 1-32 + NMI 1-32 + NMI 1-240 + NMI 1-240 + NMI Interrupt priorities 4 4 8-256 8-256 Breakpoints, Watchpoints 4-0, 2-0 4-0, 2-0 8/2/0, 4/1/0 8/2/0, 4/1/0 Memory Protection Unit (MPU) No Yes (Option) Yes (Option) Yes (Option) Integrated trace option (ETM or MTB) No MTB (Option) ETM (Option) ETM (Option) Single Cycle Multiply Yes (Option) Yes (Option) Yes Yes Hardware Divide / Saturated Math No No Yes Yes WIC Support Yes Yes Yes Yes Bit banding support System option System option Yes (Option) Yes (Option) Single cycle DSP/SIMD No No No Yes Floating point hardware No No No Yes(Option) Bus protocol AHB Lite AHB Lite AHB Lite, APB AHB Lite, APB Systick Timer Option Option Yes Yes CMSIS Support Yes Yes Yes Yes 9

ARM Cortex -M Tools Ecosystem ARM has an exceptionally broad ecosystem of 3rd parties supporting the Cortex-M profile processor family. Real-time Operating Systems 26+ of the world s leading vendors IDEs and C/C++ compilers 13+ of the world s leading vendors Debugger vendors 21+ of the world s leading vendors and these numbers are growing all the time 10

RTOSs IDEs and Compilers Cortex-M profile cores are supported by all of the world s major Real-time Operating System vendors Many of these have uitron-compliant interfaces Many certified to international standards Many of these also sell software stacks covering USB, CAN,TCP/IP, File Systems, GUI Available at a variety of price points and business models: Free, open source Royalty-free Royalty per product family Safety-certified, safety-critical Cortex-M profile cores are supported by all of the world s major vendors of IDEs, including C/C++ compilers, debuggers etc. Variety of C and C++ compilers targeting and optimising for the Thumb-2 instruction set. Some based on Eclipse IDE, some proprietary GUIs. Available at a variety of price points and business models: Low-cost, based on open source Atollic, Code Red, CodeSourcery, Coocox, Crossware, Raisonance, Rowley Associates Higher price, proprietary: Altium, GreenHills, IAR, Keil, Mentor,Wind River 11

Debug and Trace Cortex-M profile cores are supported by all of the world s major debugger vendors Most of these support low-cost solutions using 2-pin SerialWire Debug (SWD). Many also support non-intrusive program trace using the Embedded Trace Macrocell (ETM). All vendors support debugging of code compiled using ARM s RealView compiler. Fully supported by key debug vendors in Japan. Wide variety of price points: Low-cost wiggler type devices Mid-range full debug via JTAG Full system debug and trace at higher price point 12

ARM Cortex -M Software interface standard specification Abstraction layer for all Cortex-M processor based SoCs Provide quick software enablement for your design with CMSIS compliant firmware, RTOS or stacks easy debug support of customer IC in tool chains Application/Firmware/Stacks CMSIS-CORE Abstraction Layer CMSIS-DSP 61 DSP functions CMSIS-RTOS Integration API CMSIS-SVD System Viewer CMSIS-DAP Std Debug IF D E B U G 13

ARM Sensinode NanoStack http://www.sensinode.com/ Field-proven communication stack for IP-based wireless sensor networks Key Features RF interface support 2.4 GHz (IEEE 802.15.4) Sub-1GHz (IEEE 802.15.4g) Supported IEEE and IETF standards 6LoWPAN (ND, HC, RPL), UDPv6, ICMPv6,TCP Self-healing Mesh network Self-configurable Support for Multicast forwarding 128-bit AES security support Network processor and library versions Support for 6LoWPAN Bootstrap and linklocal operation modes 14 14

ARM mbed - Accelerating IoT Deployment http://mbed.org/ Rapid, professional IoT device development An open source platform and libraries for Cortex -M MCUs microcontrollers Modern C/C++ platform and ecosystem for developers Consolidating fundamental embedded building blocks radios Microcontrollers, Radios, Sensors, Software stacks Bluetooth, 802.15.4/6LoWPAN,WiFi, Cellular Open Hardware reference designs sensors 15 Enable transitioning from prototype form factor to custom product

HW Prototyping Platforms for IoT Devices NOTE: Cost of development systems is not representative of product costs! Low cost ARM based boards are available (e.g. FRDM-KL25Z ~$13 low volume) Increasing availability of MCU dev boards with integrated radio (e.g. Arch BLE ~$40) Higher end development boards also available (e.g. SAM4C-EK, STK3700) A good place to start: http://mbed.org/platforms/ 16

2014 ARM TechCon 10th Year! http://www.armtechcon.com/ Expected Audience 4500 people Outstanding program agenda this year with more than 100 sessions Keynotes: 17 Chris Anderson, CEO of 3D Robotics Erica Kochi, founder of the Innovation Labs at UNICEF ARM CEO Simon Segars ARM CTO and co-founder Mike Muller ARM EVP and President of Product Groups Pete Hutton 75 technical sessions Software Developers Workshop ARM Accredited Engineer Program ARM mbed Zone Expo floor features more than 90 exhibiting companies

Questions and Next Steps Why on earth would anyone want to develop IoT products with 8/16-bit MCUs? I m very happy to follow up in more detail and respond to your questions/issues Please do come along to ARM TechCon 19

End 20