TI-RTOS - Amazon Web Services

advertisement
Download Energia from
MSP430
Energia.nu!
TI University Program
TI technology for tomorrow’s innovators
www.ti.com/university
we started the digital revolution
education has always been a focus
1970s
Applies signal
processing to
consumer
Products
1930s
Revolutionizes
oil exploration
by measuring
reflected
signals
2010s
Industry’s first
300mm analog
wafer fab
1950s
Invents the
integrated
Circuit
1990s
Creates first
Apps processor
for multi-media
cell phones
What will
you create?
DSP
1940s
1980s
Applies signal
measurement
to magnetic anomaly
detection
Introduces
single-chip digital
signal processor
1960s
Invents the
handheld
calculator
2000s
Introduces world’s
fastest analog-to-digital
converter and lowestpower DC-DC converter
3
TI technology today in universities
labs and courses:
EE, CE, CS, ME, BioE, EET
projects
• Senior design
• Signals and systems
• Analog and digital design
• Masters and PhD
thesis
• Embedded processing
• Research
• Mechatronics and robotics
• Course projects
• Biomedical signal processing
• Microcontroller and system design
• more . . .
Typical signals and systems
lab using
DSP kit and software
LaunchPad
Ecosystem
As low as $9.99
ASLK Pro builds
analog and mixedsignal processing
systems
Heads Up
Driver project
using DaVinci
software and
hardware
Analog Senior
Design
engage with TI to update your curriculum & projects
•
TI advanced Analog and Embedded Processing technologies fuel the passions of students
and educators in more than 4,000 universities worldwide.
4
students benefit from TI’s university program
• Discounted tools & kits
• Free samples, software, and reference
designs
• E2E™ community support and guidance
• Project repository for design inspiration
and collaboration
• WEBENCH® design center
• Design Contests - $ and fame
• Learn real-world skills—a competitive
advantage
5
Who am I?


Trey German
 LaunchPad Applications
Manager @ Texas
Instruments
 B.S. Computer
Engineering @ RoseHulman
Love to make!

7
Love to fly!
Outline
 TI
Products
 TI's
Embedded Processors
 MSP432 Family
 TI Support Ecosystem
 TI Wireless
 Lab Exercise
Chapter 1: Introduction
Texas Instruments Portfolio
Looking at Wireless...
Outline
 TI
Products
 TI's Embedded Processors
 MSP432
Family
 TI Support Ecosystem
 TI Wireless
 Lab Exercise
Chapter 1: Introduction
Microcontrollers
(MCU)Processor
Application
(MPU)
TI’s Embedded
Portfolio
MSP430
C2000
Tiva C
Hercules
Sitara
DSP
Multicore
16-bit
Ultra Low
Power & Cost
32-bit
32-bit
All-around
MCU
32-bit
32-bit
Linux
Android
16/32-bit
All-around
DSP
32-bit
Massive
Performance
ARM
Cortex-A8
Cortex-A9
DSP
C5000
C6000
• C66 + C66
• A15 + C66
• A8 + C64
• ARM9 + C674
MSP430
ULP RISC
MCU
• Low Pwr Mode
 0.1 µA
 0.5 µA (RTC)
• Analog I/F
• USB and RF
Real-time
• Real-time
ARM
C28x MCU
• ARM M3+C28 Cortex-M4F
Safety
ARM
Cortex-M3
Cortex-R4
• Motor Control • 32-bit Float
• Lock step
• $5 Linux CPU • C5000 Low
Vector Dual-core R4
Power DSP
• Digital Power • Nested
IntCtrl (NVIC) • ECC Memory • 3D Graphics
• 32-bit fix/float
• Precision
• PRU-ICSS
•
Ethernet
industrial subsys C6000 DSP
Timers/PWM
(MAC+PHY) • SIL3 Certified
• Fix or Float
• Up to 12 cores
4 A15 + 8 C66x
• DSP MMAC’s:
352,000
TI-RTOS
TI-RTOS (k)
TI-RTOS
3rd Party
(only)
Linux
Linux, Android, C5x: DSP/BIOS
TI-RTOS Kernel C6x: TI-RTOS (k) TI-RTOS (k)
Flash: 512K
FRAM: 64K
512K
Flash
1MB
Flash
256K to 3M
Flash
L1: 32K x 2
L2: 256K
L1: 32K x 2
L2: 256K
L1: 32K x 2
L2: 1M + 4M
25 MHz
300 MHz
120 MHz
220 MHz
1.35 GHz
800 MHz
1.4 GHz
$0.25 to
$9.00
$1.85 to
$20.00
$1.00 to
$8.00
$5.00 to
$30.00
$5.00 to
$25.00
$2.00 to
$25.00
$30.00 to
$225.00
MSP430 is a grape … ah, great Processor
Outline
 TI
Products
 TI's Embedded Processors
 MSP432
Family
 TI Support Ecosystem
 TI Wireless
 Lab Exercise
Chapter 1: Introduction
INTRODUCING MSP432™ MCUs:
LOW-POWER AT ITS BEST; PERFORMANCE AT ITS CORE
MORE PERFORMANCE FOR MSP430™ DEVELOPERS
Advance to higher levels of computing
and analog performance, while
maximizing your ultra-low-power
MSP430 MCU investment and
expertise
LOWER POWER FOR ARM ® DEVELOPERS
Slash power consumption and
boost performance with the
world’s lowest power Cortex®-M4F
microcontroller
NO COMPROMISES
Get low-power and performance with a scalable
portfolio of 16-bit and 32-bit MSP
microcontrollers in a variety of applications
TI Information – Selective Disclosure
14
MSP432™ MCUs: PERFORMANCE AT ITS CORE
MSP432 MCU
Selecting the high-®
performance ARM
Cortex®-M4F core
Highest Coremark score:
3.41/MHz
48MHz ARM®
Cortex®-M4F
• Full ARM instruction
set
• DSP extensions
• FPU engine
Wide voltage range:
1.62-3.7V
Integrated LDO & DC/DC
Selectable RAM retention
Independent flash banks
DriverLib in-ROM
Industry-leading
ultra-low-power
• Active power:
95 μA per MHz
128-bit Flash buffer
& pre-fetch
14-bit ADC
8-channel DMA
• Sleep mode:
850 nA (with RTC)
NVIC with tail-chaining
• ULPBench score:
167.4
Peripheral & SRAM memory
bit-band
Incorporating
high-performance
peripherals and features
• Simultaneously read
and erase from flash
• Execute up to 200%
faster with DriverLib in
ROM vs. Flash
• 14-bit 1MSPS ADC with
13.2ENOB, differential
mode & 2 window
comparators
TI Information – Selective Disclosure
15
MSP432™ MCUs: LOW-POWER AT ITS BEST
MSP432 MCU
48MHz ARM®
Cortex®-M4F
• Full ARM instruction
set
• DSP extensions
• FPU engine
Wide voltage range:
1.62-3.7V
Integrated LDO & DC/DC
Selectable RAM retention
Independent flash banks
Driver Lib in-ROM
Optimizing the
architecture for
ultra-low power
Industry’s lowest power
ARM
Cortex-M4F MCU
Industry-leading
ultra-low-power
• Active power:
95 μA per MHz
128-bit Flash buffer
& pre-fetch
14-bit ADC
8 channel DMA
• Sleep mode:
850 nA (with RTC)
NVIC with tail-chaining
• ULPBench score:
167.4
Peripheral & SRAM memory
bit-band
Optimizing peripherals
for ultra-low power
• Save 40% more power
with the integrated
DC/DC
vs. LDO
• Save 30nA per RAM
bank with selectable
RAM retention
• Consume minimal
power (375uA) when
sampling sensors at
1MSPS with 14-bit ADC
• DriverLib in ROM
consumes up to 35%
less power than Flash
TI Information – Selective Disclosure
16
MSP432™ MICROCONTROLLERS
MSP432P4x
Differentiation
• Industry’s lowest power ARM® Cortex®-M4F MCU ─ Best ULPBench
score of 167.4. As low as 850nA Standby, 95µA/MHz Active; Deep
sleep to Active: <10us typ
• Wide supply range ─ 1.62-3.7V, including flash operation, enabling
multiple battery technologies and eliminating external regulation
• Integrated high-performance and low-power analog ─ Including
1MSPS 14-bit ADC, 375uA at 1MSPS
ARM®
Cortex™-M4F
48 MHz
FPU
NVIC WIC
MPU
ITM SWD
• Secure MCU environment – Flash IP protection & integrated AES-256
encryption
• Simplified portability from MSP430 - Leverage software & know-how
from existing MSP430 designs
Using 430 Peripherals, Analog & Low Power Modes
1.62V – 3.7V Operation
Temperature
Memory
Power & Clocking
Up to 256 KB Flash
Up to 64 KB SRAM
Programmable DCO
Low-Power OSC
Real-Time Clock
Driver Libraries
DMA (8 ch)
Bootstrap Loader
System Modules
4× 16-bit Timer/PWM/CCP
2× 32-bit GP Timers
Systick Timer
32KB ROM
Debug
Real-time JTAG
CRC32
Watchdog Timer
Security
Comms Peripherals
Analog
AES-256
4× UART or SPI
4× I2C or SPI
24ch, 14-bit 1 MSPS SAR ADC
2× Analog Comparators
Voltage Reference
Temperature Sensor
Capacitive Touch I/O
Tools
LaunchPad
• MSP-EXP432P401R
• $12.99
Target Board
• MSP-TS432PZ100
• $89.00
Same as MSP430
Software
Packages
• MSPWare – leverage
C-code portable MSP430 peripherals and
analog
5x5mm²
• RTOS Support - TI-RTOS, FreeRTOS, Micrium
Status
• LaunchPad and Target Board available
• Sampling 256KB (XMS432P401RIPZR)
85°C
• ARM 3rd Party Ecosystem
9x9mm²
• IDEs - Code Composer Studio™, IAR, KEIL
and gcc
16x16mm²
• Pin-for-pin roadmap to 2MB
17
GET STARTED WITH THE MSP432 LAUNCHPAD TODAY
Develop high performance applications
that benefit from low power operation
Features
•
•
•
•
•
Low-power, high performance MSP432P401R MCU
40 pin BoosterPack Connector, and support for 20 pin
BoosterPacks
Onboard XDS-110ET emulator featuring EnergyTrace+
Technology
2 buttons and 2 LEDs for User Interaction
Back-channel UART via USB to PC
Kit Includes



Development board with demo application
USB cable
Quick start guide
Software


MSPWare featuring example code, User’s Guides, Application
notes, training, and more
Out-of-box LaunchPad GUI
MSP-EXP432P401R
$12.99
ENERGYTRACE+™ TECHNOLOGY


19
Provides a complete ecosystem for real-time power debugging and quickens
time to market. Spends less time debugging and more time developing.
Graphical User Interface in TI’s Code Composer Studio integrated development
environment (IDE) and IAR Systems’ Embedded provides energy profiles of
your application
 Current measurement and CPU states can be tracked over time to help
identify power black holes
Outline
 TI
Products
 TI's Embedded Processors
 MSP432 Family
 TI Support Ecosystem



Run-Time Software
Tools
Community / Resources
 TI
Wireless
 Lab Exercise
Chapter 1: Introduction
TI MCU Software and Tools Ecosystem
Run-Time Software
• Easy-to-use, highly-portable
Energia software
• O/S independent device support
with TI-Ware software
• TI-RTOS: kernel, filesystem,
USB, networking, drivers
Free code
that runs
on your
system
Resources to
help you
help
Development Tools
• CCStudio™ Integrated
Development Environment (IDE)
• Optimizing compilers
• Graphical coding (e.g. Grace)
• Design Kits & Eval Modules
• Rich 3rd Party Support (e.g. IAR)
Support & Community
• TI Design Network: off-the-shelf
software, tools & services
• Forums: http://e2e.ti.com
• Wiki:
processors.wiki.ti.com
• Training: In-person and online
Tools that
help you
create your
code
Free Run-Time Software
Pick a Level that Suits your need
Energia
Chapter
(Chapter
11)
MSP430ware
(Chapter
3)
Header
Files
(Chapter
& 3)
MSP430
Device
(Chapter
1)
TI-RTOS...
2
What is Arduino?
Hardware
Tools
Open source C boards with pins and I/O
IDE: write, compile, upload

Physical Computing
Software that interacts with the real world
Code
‘Wiring’ Language includes:
 C/C++ software
 Arduino library of functions

Open-source ecosystem
Tools, Software, Hardware (Creative Commons)

Popular solution for…
Open-source programmers, hobbyists,
rapid prototyping
Is there TI support?
Energia – Arduino for TI

Energia is a fork of Arduino for
Texas Instruments MicroControllers
 Software – Wiring programming language
 Tools – Energia IDE

Hardware (supported MCU’s)
 MSP430 LaunchPad (‘G2553)
 MSP430 FRAM “FraunchPad” (‘FR5739)
 MSP430 USB Launchpad (‘F5529)
 Stellaris/Tiva Cortex-M4F Launchpad

Dev’l Project – energia.github.com/Energia/

Support – forum.43oh.com
What does an Arduino/Energia 'program' look like?
Energia was a
Soviet Rocket
MSP430F5529 Launchpad : Energia Pinout
http://energia.nu/Guide_MSP430F5529LaunchPad.html
Arduino/Energia logical pin #’s
Moving on to tools...
TI MCU Software and Tools Ecosystem
Run-Time Software
• Easy-to-use, highly-portable
Energia software
• O/S independent device support
with TI-Ware software
• TI-RTOS: kernel, filesystem,
USB, networking, drivers
Free code
that runs
on your
system
Resources to
help you
help
Development Tools
• CCStudio™ Integrated
Development Environment (IDE)
• Optimizing compilers
• Graphical coding (e.g. Grace)
• Design Kits & Eval Modules
• Rich 3rd Party Support (e.g. IAR)
Support & Community
• TI Design Network: off-the-shelf
software, tools & services
• Forums: http://e2e.ti.com
• Wiki:
processors.wiki.ti.com
• Training: In-person and online
Tools that
help you
create your
code
Development Tools for MSP430
Open
Source
N/A
N/A
Full
Function
Full Function
(90 days)
then
 16K codesize limited
IAR C/C++
GCC
GCC
GCC
TI C/C++
C-SPY
Embedded
Workbench
MSPDEBUG
(gdb proxy)
Energia IDE
CCStudio
(Arduino port)
(Eclipse-based IDE)
Full
Upgrade
$2700
Free
Free
JTAG
Debugger
J-Link
$299
MSP-FET
$115
Evaluation
License


Compiler
Debugger
and IDE


32KB code-size
or
30-day limit



No JTAG
serial.printf()
LED or scope
Free
$445
MSP-FET
$115
TI MCU Software and Tools Ecosystem
Run-Time Software
• Easy-to-use, highly-portable
Energia software
• O/S independent device support
with TI-Ware software
• TI-RTOS: kernel, filesystem,
USB, networking, drivers
Free code
that runs
on your
system
Resources to
help you
help
Development Tools
• CCStudio™ Integrated
Development Environment (IDE)
• Optimizing compilers
• Graphical coding (e.g. Grace)
• Design Kits & Eval Modules
• Rich 3rd Party Support (e.g. IAR)
Support & Community
• TI Design Network: off-the-shelf
software, tools & services
• Forums: http://e2e.ti.com
• Wiki:
processors.wiki.ti.com
• Training: In-person and online
Tools that
help you
create your
code
Engineer-2-Engineer Forums
http://e2e.ti.com
43oh Community
Forums
http://www.43oh.com
Outline
 TI
Products
 TI's Embedded Processors
 MSP430 Family
 TI Support Ecosystem
 TI Wireless

IoT & Cloud Computing
 Lab
Exercise
Chapter 1: Introduction
The industry’s broadest wireless connectivity portfolio
Supported Standards
134.2K-13.56MHz
Sub 1GHz
RFID, NFC
ISO14443A/B
ISO15693
SimpliciTI
6LoWPAN
W-MBus
2.4GHz to 5GHz
SimpliciTI
PurePath
Wireless
ZigBee®
6LoWPAN
RF4CE
Bluetooth®
BLE
ANT
Wi-Fi
Example Applications
Product Lineup
TMS37157
TRF796x
TRF7970
CC1110
CC1190
CC11xL
CC430
CC112X
CC120X
CC1180
CC2500
CC2543/4/5
CC2590/91
CC8520/21
CC2530/31
CC2530
CC2530ZNP
CC2531
CC2533
CC2520
CC2560/4
CC2540/1
CC2570/1
WL1271/3
WL 18xx
CC3000
CC3100
CC3200
Summary - Choosing the Right Technology
Range
Throughput
20
Mbps
Technology
Zigbee
RF4CE
BLE
ANT+
Sub-1GHz
<250
kbps
Bluetooth
2.4GHz
Proprietary
10
Range (m)
WiFi
<2
Mbps
WiFi
100
10,000+
BLE
Zigbee
RF4CE
Sub-1GHz
Bluetooth
2.4GHz
prop
Technology
Typical Topology
Li-Ion
Typical power source
Star
Coin
Cell
AAA
Mesh
WiFi
Bluetooth
BLE
Sub-1GHz
2.4GHz
RFID
Proprietary
Zigbee
P2P
Zigbee, 6LowPAN
Prop Sub 1Ghz, Prop 2.4Ghz
WiFi, Bluetooth
RF4CE
RF4CE
The SimpleLinkTM embedded Wi-Fi® revolution
User Application
Traditional Wi-Fi solutions
are designed for powerful
microprocessors
Application Protocols
Traditional Wi-Fi
TLS/SSL
TCP/IP
SimpleLinkTM CC3100/CC3200
moves nearly all functions
required for Wi-Fi and
networking off the host
processor
Supplicant
Wi-Fi MAC
SDIO
Wi-Fi Driver
Wi-Fi Baseband
Wi-Fi Radio
SDIO Driver
High MIPS/Memory MPU
SimpleLink CC3100
Application Protocols
User Application
SimpleLink Driver
SPI or
UART
SPI or UART Driver
TLS/SSL
TCP/IP
Supplicant






Low MIPS low memory MCU
7KB Flash & 700B RAM min
No Wi-Fi experience needed
Easy to use APIs
RTOS or no OS
SimpleLink Studio – PC SW dev
Wi-Fi Driver
Wi-Fi MAC
Wi-Fi Baseband
Wi-Fi Radio
CC3100 Wi-Fi® NWP overview
• Best-in-class Wi-Fi core
•
•
•
•
802.11 b/g/n radio/baseband/MAC
Personal and enterprise security
SimpleLinkTM connection manager
SmartConfigTM technology for easy
provisioning
• IPv4/6 TCP/IP Stack
Network
Processor
RAM
WiFi Driver
TCP/IP Stack
ROM
(ARM CortexTM M3)
• BSD Socket APIs
• Embedded TLS/SSL
Crypto Engine
• Powerful Crypto engine
MAC Processor
SPI
Baseband
• Built in Power Management
UART
• Integrated DC2DC
• Advanced low power modes
• Host Interfaces
• Interfaces with any MCU over a SPI or UART
• SimpleLink drivers enabling ease of use and
low memory foot print on host
PA
DC2DC
BAT Monitor
Oscillators
LNA
Radio
SYSTEM
• Dedicated to WLAN and TCP/IP stack
• Completely offloads the host application
processor
Synthesizer
• Integrated ARM® CortexTM-M3 MCU
HOST I/F
• Enables fast secured WLAN, and internet
connections with 256 bit encryption
Get started NOW
CC3100 BoosterPack
CC3200 LaunchPad
• CC3100 reference design
• Works stand alone with SimpleLinkTM
Studio or attached to TI MCU LaunchPads
• Chip Antenna and U.FL Connector
• CC3200 SW development platform
• Compatible with multiple BoosterPacks
• On board temp. sensor accelerometer
SimpleLink Studio
• Use your PC as a host processor
for application development
• Short development cycle
• Easy debug
• Accelerate development
on any MCU
+
CC3100
Any MCU
Outline
 TI
Products
 TI's Embedded Processors
 MSP430 Family
 TI Support Ecosystem
 TI Wireless
 Lab Exercise
Chapter 1: Introduction
Lab Exercises
1. Blink
2. Educational BP AccelerometerLED Demo
1. Feel free to try other examples too!
3. Tweeting LaunchPad
http://www.ti.com/training
Download