Diversity of connectivity required for scalable IoT devices Sam Grove Principal Software Engineer Arm Arm TechCon 2017
Introduction
Mbed introduction Mbed Cloud Connect Addressing the complexity of reliably connecting high volumes of diverse devices across different networks Management Enabling scalability through interoperability, provisioning and update across the supply chain Productivity Framework that allows your organization to fast track ROI from IoT data Mbed OS Efficiency OS and Software purpose built to leverage the world-class efficiency and features of ARM Cortex Architecture Security Trust through end-to-end security, from on-chip hardware protection to secure connectivity and management Productivity Partner ecosystem and developer community driving shared investment in open source components, tools and workflows 3
Mbed IoT solution Mbed OS Mbed Cloud Other Cloud Platforms & Services IoT Device Applications Update Analytics and rules Monitoring, Logging Mbed Client Provision Events, Message busses VMs, Auto-scaling Arm based SoC, Module Connect Load balancing Data storage Device Software Device Services 4
Mbed OS
Platform OS principles Accelerate the development of IoT devices. Integrate all the necessary software components needed for constrained IoT devices (MCUs) Bring modern development methodologies and choice to MCUs to improve productivity Provide OS functionality and APIs across many vendor solutions to enable choice Accelerating the deployment of IoT devices. Provide standardised connectivity to the cloud across different transports Provide manageability from the cloud to open opportunities and reduce cost/risk Develop and leverage an ecosystem. Freely available and open source to remove barriers to entry and enable adoption In collaboration with partners to provide maximum gearing of investment for everyone The tools and web infrastructure to support an ecosystem and create network effects 6
Development model Mbed OS is an open source project developed by Arm, Partners, and a worldwide developer community. Building Mbed OS in collaboration allows: Increased effect of the effort put into it Increased overall developing power Increased reach and network effects Focus on individual core capabilities 7
Licensing Mbed OS is primarily open source, under Apache 2.0 or compatible licenses. Proprietary partner components (like radio drivers) can be under free binary license Partners pay a membership fee to support and contribute to project. Our partners share a vision for the future where development and deployment of commercial Internet of Things (IoT) devices is possible at scale, and a desire to collaborate on concrete plans and projects to make that vision a reality. Developers can use it for free. 8 partnership@mbed.com
Mbed OS Unified bootstrap Networking C/C++ Environment Mbed OS Filesystems Pre-emptive Kernel I/O APIs 9
Mbed OS Sockets Profiles Thread 6LoWPAN Dual mode IPv4 / IPv6 stack BLE 4.2 802.15.4 Cellular Wi-Fi Ethernet HCI Events Events Threads TLS Filesystem HAL Kernel Crypto Storage Bootstrap GNU ARM IAR 10
Tools Free core tools provide compilation, test and collaboration workflows. 3 rd party partner industry tools support. Active Developer Website: os.mbed.com Mbed OS core tools Mbed OS IDEs and toolchains Arm Compiler 5 Mbed OS DVCS support Mbed CLI Command Line Interface Mbed Compiler Free Online IDE Mbed Greentea Porting Testsuite and CI Mbed pyocd CMSIS-DAP Debug Library Mbed DAPLink CMSIS-DAP Debug Firmware os.mbed.com/code 11
Developer pipeline Growing a powerful channel to IoT product developers Accelerating developer ecosystem growth 100k 275k 2015 2017Q2 A third of developers are professionals 34% 26% 40% Professional Developer Enthusiast/Innovator Educator/Student A global footprint 11% 31% 53% Europe Asia & Pacific North America 12 source: Mbed.com, Mbed developer survey 2017
Feature releases
Mbed OS 5.3 Headline features CMSIS-RTOS2 and CMSIS5 Hardware based entropy Firmware update framework 14
Mbed OS 5.4 Headline features Thread spec 1.1 certification Hardware acceleration for cryptography Flexible filesystem framework 15
Mbed OS 5.5 Headline features CMSIS-RTOS2 and CMSIS5 Cellular PPP based network interface NOR flash based storage 16
Mbed OS 5.6 Headline features Tickless mode kernel support BLE stack partner access Arm compiler 6 and IAR 8 compatibility 17
Release schedule A regular release train for effectively supporting developers and partners Feature Releases Bringing new and enhanced features every 3 months 2017 2018 Patch Releases Mbed OS 5.7 1980 Mbed OS 5.8 1980 Mbed OS 5.9 1980 Mbed OS 5.x 1980 Adding new partner target support and delivering bug fixes every 2 weeks 18
Production
Progress The benefits of open source plus the security of commercial development Open source development In the last year 5 Feature releases and 25 Patch releases Continuous integration 100% of releases made on time (+/- 2 days) Mbed OS code developed publicly on GitHub 4500+ commits Contributions from 300+ engineers Full automated testing of any enhancement 20
Modules Mbed OS targeting wireless modules. Mbed OS runs on the module itself, and acts as the SDK Will be presented to developers as first-class citizens Accelerate time to market for production designs. Ring-fence complex technology Lower Cost Ease of Industrial Design Accelerated time to production 21
Complexities Under the can: Include one (or more) radio technologies Include an addressable MCU (on which to run Mbed OS) Sufficient resources to support Mbed cloud connectivity Available from distribution channels (in MP volume) Connectivity Priorities: 1. Wi-Fi MCU MCU + Radio MCU 2. Cellular (2g/3g/LTE) 3. LPWAN (NB-IoT / Cat-M1) Radio Radio Radio Radio 4. LoRa 22
Market Alignment Today 2017: Connectivity The Connected Spaces market vertical accounts for the volume of sales today. These applications typically use short-medium range radio technologies: Wi-Fi, Zigbee, Thread & BT Forecast 2025: LPWAN connectivity As other market areas develops, support for LPWAN radio technologies will become critical; NB-IoT & Cat-M1 30% 25% Source: Mbed.com, Mbed developer survey 2017 60% 50% Source: Global IoT Forecast, Machina, 2017 20% 40% 15% 10% 5% 0% 30% 20% 10% 0% NB-IoT Cat-M1 LoRa Sigfox Other 23
Value Proposition A strong module ecosystem provides high value throughout the manufacturing chain. Silicon Partner Module Vendor ODM OEM Increased sales opportunities due to greater market exposure Reduced engineering overhead of supporting many end customers Provides the ability to offer a single software solution which spans radio technologies and silicon providers Reduced engineering overhead when developing with new modules due to software re-use Increase productivity due to engineering re-use across multiple projects Increased continuity across products and projects Simplified cloud connectivity due to Mbed Enabled modules already being supported by Mbed Cloud Arm Providing a consistent platform for all increases ease of development in the IoT market Provides a consistent route to utilize Mbed Cloud services 24
Roll-out Schedule Embedded World Feb 2018 Public Launch Website goes live, showcasing the wide range of supported modules from all engaged partners. APM Aug 2017 Preview TechCon Oct 2017 Partner Launch Engage with key partners and customers. Demonstrate the progress towards mass support of Production Modules in Mbed OS made by lead partners. 25
Example products Smart City Parking sensor Smart Retail BLE Beacon Smart Spaces Air quality monitor Smart Agriculture Soil monitoring Smart Industry Industrial process sensor Smart Building HVAC sensor 26
Connectivity
Connectivity landscape Mbed OS perspective on connectivity technologies Commissioning Existing Evolving BLE Wi-Fi 6LoWPAN Sub-GHz Mesh LoRaWAN LTE-NB RFID esim Ethernet Cellular (2G, 3G, 4G) Thread LTE-M 28
Modularity Mbed OS scales across a diversity of IoT device requirements. Key Mbed OS Components Example Hardware Components BLE Beacon Wi-Fi Appliance Thread Device Sub-Ghz Mesh LoRa Sensor RTOS, Drivers, BLE Cortex-M0 with BLE Radio RTOS, Drivers, TLS, Client Cortex-M3 + Wi-Fi Network Co-processor RTOS, Thread, TLS, Client Cortex-M4 with 2.4GHz 802.15.4 & Crypto RTOS, 6LoWPAN Mesh, TLS, Client Cortex-M3 + 802.15.4 Transceiver RTOS, Drivers, LoRa Library Cortex-M0 + LoRa Transceiver 29
Ethernet and Wi-Fi Native dual mode IP stack. Integrated stack with MAC porting interface Focused on STA mode IPv4 and IPv6 support Mbed OS Sockets API Unified MAC integrations. Simplified integration for partners Consistent behaviour across silicon platforms Testing can focus on MAC port 3 rd Party IP Stack Mbed OS IP Stack 802.3 / 802.11 MAC 30
Cellular Native 3GPP 27.007 driver. Integrated with Mbed OS IP stack IPv4 and IPv6 network capability Mbed OS Sockets API Extendable architecture. UART-based AT modem driver Easily extensible to support other digital interfaces such as SPI, USB, etc. Testing can focus on PPP driver 3 rd Party IP Stack Mbed OS IP Stack PPP driver 31
Bluetooth (BLE) Native BLE stack coming to Mbed OS Integrated stack with HCI porting interface Qualification tested and compliant with the latest version of the Bluetooth Core Specification Mbed OS BLE APIs Early Access Showing ~5x reduction in LoC for integration Simplified integration for partners Consistent behaviour across silicon platforms Testing can focus on HCI port and link layer compatibility 3 rd Party BLE Stack Mbed OS BLE Stack 3 rd Party HCI 32
LoRa LoRa and LoRaWAN networks Begining to be trialed world wide by operators and cities Bring-your-own infrastructure Mbed OS LoRaWAN API Coming Soon Mbed OS already supports LoRa Building in native LoRaWAN support First LoRaWAN APIs available for partner review in Mbed OS 5.3 Mbed OS LoRaWAN Stack 3 rd Party LoRa PHY 33
Thread A secure wireless mesh network technology for home and beyond analogous to Wi-Fi. Thread is a network and transport level stack Thread is application-layer agnostic Thread can support multiple application layers Built on proven, existing internet technologies. 34
Standards Collection of existing IEEE and IETF standards. Uses existing 802.15.4 based radios. Simple security, user-friendly commissioning. Scalable to 250-300 devices per network. No single point of failure. Direct device addressability. Point-to-point device connectivity. Application Layer UDP + DTLS Distance Vector Routing 6LowPAN (IPv6) IEEE 802.15.4 MAC (including MAC security) IEEE 802.15.4 PHY Standards RFC 768, RFC 6347, RFC 4492, RFC 3315, RFC 5007 Based on RFC 2080 RFC 4944, RFC 4862 IEEE 802.15.4 (2006) IEEE 802.15.4 (2006) Latency less than 100 milliseconds for typical interactions. 35
Next generation cellular Several options available as today 2G, 3G and LTE All above are designed for end-user use cases, mobility, high data rates and reliable service Current services have monthly and consumption based billing, very expensive solution for sensors LTE-M1 LTE-NB1 Range < 60 miles < 20 miles Data rates DL:1 Mbps, UL: 1 Mbps DL: 20 kbps, UL: 60 kbps Duplex mode Full or Half Duplex Half Duplex Connection IP based or non-ip IP based or non-ip Mobility Yes No 36
NB-IoT Cellular connectivity for IoT devices 37
Summary
Summary Mbed OS is consistently delivering, and we re building a strong developer pipeline Help us identify and focus on the right lead design-ins to drive the platform forward Mbed OS will be a leader in connectivity and security Work with us on customers wanting to ship with current technologies e.g. Wi-Fi and Cellular modules We are looking to engage with the right partners wanting to work with us on emerging connectivity technologies A key focus for us this year is production Addressing both perception and reality, through our software, tools and website, and with a focus on modules We are building a commercial support team work with us to make key customers successful! 39
Mbed OS A free, open source platform operating system targeting IoT end node devices Cortex-M RTOS kernel Development tools Portable drivers Partner ecosystem Mbed OS Developer community Device management Integrated security IoT connectivity 40
For further information Find demos and more information at the Arm booth (402) and Mbed booth (712) At TechCon Accelerating intelligence-at-the-edge for embedded & IoT applications Govind Wathan Connect your IoT device: Bluetooth 5, 802.15.4, NB- IoT Prithi Ramakrishnan Enabling firmware updates over LPWAN Jan Jongboom Connecting what you want, when you want to the IoT cloud Karthik Ranjan Diversity of connectivity required for IoT devices Sam Grove After TechCon Panel: Breakthrough technologies enabling the future of IoT Moderated by Jason Hillyard Resolving the performance vs efficiency conflict for embedded and IoT applications Kinjal Dave Building firmware updates: the devil is in the details Brendan Moran 41 https://developer.arm.com sam.grove@arm.com
Thank You! Danke! Merci! 谢谢! ありがとう! Gracias! Kiitos! 감사합니다 धन यव द 42
The Arm trademarks featured in this presentation are registered trademarks or trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere. All rights reserved. All other marks featured may be trademarks of their respective owners. www.arm.com/company/policies/trademarks 43