From industrial Gateway to functional safety with TI Cortex based MCU
Texas Instruments Inc. Nov, 2015 MCU Trends Ultra-low power • Pushing the limits of power consumption toward a world without batteries
Real-time control • Enabling “green” end equipments that use less energy and operate more efficiently
Communications • Connecting and automating home, building and industrial systems.
Security • Securing data flow over all means of communication
Safety • Bringing intelligence to safety-critical applications to prevent and protect Building a Stronger MCU Portfolio
Low Power MCUs Performance MCUs
Ultra-low Power Real-time Control Applications where the majority of device Applications needing low latency Ultra-low power life in standby closed loop control Real-time control Low Power Performance Control + Automation Mostly ‘On’ battery powered applicationsCommunicationsCommunicationsExpanding real-time control platforms with with significant computational requirements Host Control & Industrial Communications technology Security Security + Communications Hercules™ Safety Datalogging applications that transfer Safety Applications that require functional safety securely over RF
TI Confidential - Maximum Restrictions Texas Instruments MCU Portfolio
Hercules Tiva™ C C2000™ MSP Safety ARM® Series Real-time Low-power Cortex™-R4 ARM® control MCUs MCUs & Cortex-M3 Cortex™-M4F MCUs Includes dual-core MCUs ARM+DSP MCUs
System expertise, integrated analog, software, tools, training and support
4 World’s Broadest Portfolio
Wireless Connectivity Portfolio
Wide area Proximity Personal area networks Local area networks networks
NFC Bluetooth® Proprietary ZigBee 6LoWPAN Wi-Fi® Proprietary RFID Bluetooth LE 2.4GHz RF4CE IP Mesh Existing Sub-1GHz Identification Personal Customizable Mesh Infrastructure Customizable Connection
Key Differences
Up to 848Kbps Up to 3Mbps Up to 1Mbps Up to 1Mbps Up to 1Mbps Up to 100Mbps Up to 1Mbps
No battery to Coin cell to AAA Coin cell AAA battery AAA battery AA battery Coin cell coin cell
Key Attributes
• Low / no power • IOP • Longest range • Standardized • IPv6 stack • Existing • Longest range • Diverse apps • Large install base • Customizable to mesh • Ultra low power infrastructure • Customizable to • In mobile devices application • Large area • IoT platform • High throughput application • Robust RF coverage • Robust RF • Redundancy cm Up to 100m Range km Choosing the Right Technology for IOT
Range (m) Topology
Mesh Star P2P
0.1 10 100 10,000+ Personal Indoor Outdoor
Power source Data Rate (Mbps)
Ion
- AA
Li 10s+
(Video)
Cell Coin 2 (Audio)
No 0.1-0.4
Battery (Data)
RFID TM4C Applications
Connect Communicate (IoT)
Industrial HMI control Industrial sensors panels/displays Sensor & Communications Communications Gateway adapters/concentrators
12 Networked industrial ARM meters/controllers Solar inverters Networked residential/ Industrial SoHo systems Automation / PLC
Lighting Control Test & Measurement systems
Microservers Industrial PC Control Industrial computing Home, Building & Industrial Applications
On-board peripherals for a myriad of connected applications
• Headroom for extended functionality • Low power for portability • Scalability for tailored product lines and extensibility • Integration for cost-efficiency
8 TM4C Series Microcontrollers – TM4C123x
TM4C123x Temperatures 85°C 105°C ® Differentiation ARM Memory Power & Clocking Cortex™-M4F Up to 256 KB Flash Precision Oscillator Up to 80 MHz • Integrated floating-point core at +80MHz ─ provides higher Up to 32 KB SRAM RTC Battery-Backed Hibernate performance 2 KB EEPROM DMA (32 ch) ROM • High-performance analog integration FPU MPU NVIC ETM SWD/T System Modules • TivaWare™ software – Enables easy migration to Cortex™- 6× 32-bit Timer/PWM/CCP M4F capabilities for maximum code reuse 6× 64-bit Timer/PWM/CCP • Low power modes as low as 1.6µA Debug Systick Timer Real-time JTAG 2× Watchdog Timer
Control Peripherals Comms Peripherals Analog 2× Quadrature Encoder 8× UART 12ch, 1 S/H 12-bit 1 MSPS ADC Inputs 4× SSI/SPI 12ch, 1 S/H 12-bit 1 MSPS ADC Tools 2 16x PWM Outputs 6× I C LDO Voltage Regulator 2× CAN 3× Analog Comparators USB Full Speed Temperature Sensor EK-TM4C123GXL LaunchPad (Host/Device/OTG) Available Today! Software $12.99 USD Packages • TivaWare for TM4C Series– Integrated ROM, including peripheral driver libraries, boot loader, and DK-TM4C123 Development Kit check sum Available Today! • Code Composer Studio™ IDE $149 USD • TI RTOS Support • ARM 3rd Party Ecosystem 9 TM4C Series Microcontrollers – TM4C129x
Differentiation TM4C129x • Integrated floating-point core at +120MHz ─ provides higher ARM® Memory Power & Clocking performance Cortex™-M4F Up to 1 MB Flash Precision Oscillator • Integrated 10/100 ENET MAC & PHY Up to 120 MHz Up to 256 KB SRAM RTC Battery-Backed Hibernate 6 KB EEPROM • Integrated LCD controller FPU MPU NVIC ETM SWD/T ROM • Integrated data protection features DMA (32 ch) System Modules 8× 32-bit Timer/PWM/CCP • High-performance analog integration System Management 1-Wire (SW) EPI • TivaWare™ software – Enables easy migration to Cortex™- LCD M4F capabilities for maximum code reuse Debug Systick Timer Real-time JTAG 2× Watchdog Timer
Control Peripherals Comms Peripherals Analog Tools 8× MC PWM 8× UART 2x 12ch, 12-bit ADCs Quadrature Encoder Inputs 4× QSSI/SPI up to 2 MSPS Connected LaunchPad 10× I2C LDO Voltage Regulator Evaluation Kit Data Protection 2× CAN 3× Analog Comparators 4x Tamper Inputs EK-TM4C1294XL 10/100 Ethernet MAC / PHY CRC Accelerator Available Today! (IEEE 1588) Packages AES, DES, SHA & MD5 USB Full/High Speed • 212-BGA (10x10x1, 0.5) Accelerators (Host/Device/OTG) • 128-TQFP (16x16x1.2, 0.4) $19.99 USD MSRP
______Software Packages Connected Development Kit • TivaWare for TM4C Series, Sensor Lib DK-TM4C129X – Integrated ROM, including peripheral Available Today! driver libraries, boot loader, and check sum $199 USD MSRP • Code Composer Studio™ IDE • TI RTOS Support rd • ARM 3 Party Ecosystem 10 TM4C: Focused on Differentiated IP
C Series Connect, Communicate Control Connected • Connecting and automating home, 10/100 Ethernet w/ PHY building and industrial systems. • Sensor hub for consumer and industrial 10/100 Mbps Ethernet Media Access Control (MAC) and Physical (PHY) layers. • Motion control Including hardware assist for IEEE1588 Precision Time Protocol (PTP) support. TM4C series Benefits SH Sensor Hub TM4C123x Rich Connectivity Options w/ Sensor Technology combines data from multiple Hub & USB sensors—accelerometer, gyroscope and magnetometer—to deliver accurate, real- time, motion-related information.
Dual CAN
CAN bus is a message-based protocol, designed specifically for automotive applications but now also used in other areas such as aerospace, industrial TM4C series Benefits automation and medical equipment. Ethernet MAC+PHY, Hardware TM4C129x Encryption, Tamper, USB High-speed, USB 2.0 External memory interface, LCD Host/Device/OTG + PHY
Full-speed USB 2.0 OTG/Host/Device. Supports control, interrupt and bulk transfers of 12 Mbps.
11 How do things connect to the IoT ?
Via IoT Gateways Directly - IoT Nodes Directly - Lite IoT Nodes
Internet Internet Internet
Internet Router Internet Router Internet Router
6LoWPAN Edge Router IoT Agent
IoT Gateway
IoT Agent IoT Agent IoT Agent IoT Agent ZigBee BLE Wired Wi-Fi Node Ethernet Node 6LoWPAN Node 6LoWPAN Node Node Node Node
Sensors & Actuators Sensors & Actuators Sensors & Actuators TM4C Connected LaunchPad Evaluation Kit EK-TM4C1294XL Connect RJ45 Ethernet jack with end customers! Dual BoosterPack XL connection sites USB Host | Device | OTG port I/O connection grid (board interconnect) User buttons & LEDs, reset switch & power indicator LED In-Circuit Debug Interface (ICDI) Tool chains: CCS, Keil, IAR, Mentor & GCC Based on TM4C Series TM4C1294NCPDTI TivaWare DriverLib under TI BSD-style ® ● 120 MHz ARM Cortex™-M4F CPU license ● 1MB Flash | 256K SRAM | 6K EEPROM ● 8x32-bit timers (16x16-bit), plus SysTick & WDGs MSRP $19.99 USD ● 10 I2C, 8 UART, 4 QSPI, 2 CAN, EPI, USB FS | HS ● CRC accelerator, Tamper inputs, Data protection ● 10/100 Ethernet MAC & PHY ● 128 TQFP w/ up to 90 GPIOs
13 13 TM4C129 IOT Gateway Concept
TRF7970A BP CC3100 BP CC2650 EMK CC2538 EMK Sensor Hub BP
Analog Digital Sensors
Sensor CC2538 CC3100 CC2650 CC2538 Hub TRF7970 WiFi stack BT/BLE stack ZigBee stack 6LowPAN
SPI SPI i2c i2c i2c i2c
Single or Stacked BoosterPack(s)
Data Aggregation TM4C129 Data Encryption Connected Protocol Translation Launchpad Ethernet Development Tools & IDEs
Tool Chain ->
32KB address- 30-day full 32KB address- Full functional; limited or 30-day Eval Kit License function. limited. locked to board. full function. Upgradeable. Upgradeable. Upgradeable. Upgradeable. Compiler GNU C/C++ IAR C/C++ RealView C/C++ TI ARM Compiler C-SPY / CCStudio / Debugger / IDE gdb / Eclipse Embedded µVision Eclipse Workbench US$ 445 Full Upgrade US$ 399 US$ 4000 full for (node locked (indicative only, personal edition, CM4 devices, US$ 5200 full for single user), or please refer to US$ 3000 USD US$ 3300 CM4 devices US$ 79 with vendor’s professional 256KB address XDS100 limited website) edition limited time only! I-jet, J-Link, Ulink-Me, TI XDS100 and JTAG Debugger On-board ICDI J-Trace, JTAG- UlinkPro, J-Link On-board ICDI Jet ARM
15 TM4C Middleware & Protocol Partners
• ThreadX Real-Time RTOS • embOS Real-Time RTOS • Supported in CCS & IAR • Supported in CCS & IAR • NetX IPv4 & IPv6 Protocol & Security Stacks • emWin GUI Library ported to TM4C129x with full support in • TM4C129x is among the first devices with GUI-X builder and PC GUI Builder Tools runtime support • embOS/IP IPv4 & IPv6 Protocol Stacks
Ready Start™ • Nucleus RTOS • RTX CMSIS Compliant RTOS • Supported in CCS & CodeBench • Supported in Keil MDK Professional Version • Nucleus Net IPv4 & IPv6 Protocol & Security • TCP/IP, USB, CAN, File and GUI (emWIN) • Industrial EE Examples tailored to Tiva C HW • Full CMSIS Platform Support
TI-RTOS & NDK • Unison RTOS with POSIX compliant API • Supported in CCS, IAR, Keil-RV & CodeBench • Real-Time RTOS fully supported in CCS • Robust IPv4 & IPv6 Protocol & Security Stacks • Support for IAR coming soon • Complete IoT & M2M Examples on TM4C HW • Robust IPv4 & IPv6 Protocol Stacks • Wireless: WiFi, BT (Classic), BTLE (Smart), 6loWPAN, • Created for MPU platforms, now optimized for MCUs Zigbee, Cellular (2G, 3G, 4G), UHF
16 TivaWare™ for C Series Features
Peripheral Driver Library • High-level API interface to complete peripheral set • License & royalty free use for TI Cortex-M parts • Available as object library and as source code • Programmed into the on-chip ROM
USB Stacks and Examples Extras
• USB Device and Embedded Host compliant • Wireless protocols • • Device, Host, OTG and Windows-side examples IQ math examples • Bootloaders • Free VID/PID sharing program • Windows side applications • Open Source TCP/IP Stacks – Micro IP (uIP) and Light-weight IP (lwIP) Ethernet
• lwip and µip stacks with 1588 PTP modifications
• Extensive examples Sensor Library • An interrupt driven I2C master driver for handling I2C transfers Graphics Library • A set of drivers for I2C connected sensors • Graphics primitive and widgets • A set of routines for common sensor operations • 53 fonts plus Asian and Cyrillic • Three layers: Transport, Sensor and Processing • Graphics utility tools
17 TM4C IoT Out-of-Box Experience Partner
Enabling rapid prototyping w/ LaunchPads + BoosterPacks Widgets Alerts Your creations connected to Scripts the cloud with Exosite Cloud Service SMS Provider Mobile
TI Branded Seamless out of box Cloud experience: • Low-cost hardware • Link into Exosite Cloud within minutes • iOS/Android app for interfacing with your cloud-connected platform
Ethernet Wi-Fi IoT Gateways Your portal to the TM4C129 cloud (MCU + Ethernet) TM4C129 or RF LaunchPad RF TM4C123 RFBooster BoosterRF LaunchPad Wi-Fi BoosterPack PackBooster Booster Pack Pack Pack Supported in TivaWare 2.1+
18 Our Commitment to Your Success!
TI’sCutting Edge State of Art Scalable Evaluation Vast Ecosystem of 65nm Technology Software Libraries Platform & Kits IDE & Tools
TivaWareTM For TM4C
Support & Training Documentation Web Resources Global Presence
19