Embedded Systems Laboratory. Using ARM Cortex M4 From the Basics to Applications

Similar documents
LM5030 LM5030 Application: DC - DC Converter Utilizing the Push-Pull Topology

AMC1100: Replacement of Input Main Sensing Transformer in Inverters with Isolated Amplifier

Application Note AN107

Design Note DN304. Cebal CCxxxx Development Tools USB Driver Installation Guide By Åsmund B. Bø. Keywords. 1 Introduction

Analysis of Power Supply Topologies for IGBT Gate Drivers in Industrial

LM556 LM556 Dual Timer

Data sheet acquired from Harris Semiconductor SCHS078C -- Revised October 2003

LM709 LM709 Operational Amplifier

Wireless Subwoofer TI Design Tests

54LS174,54LS175,DM54LS174,DM54LS175, DM74LS174,DM74LS175

Ultrasonic Sensing Basics for Liquid Level Sensing, Flow Sensing, and Fluid

Importing a SPICE NetList Into TINA9-TI

APPLICATION NOTE BUILDING A QAM MODULATOR USING A GC2011 DIGITAL FILTER CHIP

Providing Continuous Gate Drive Using a Charge Pump

Design Note DN041. Using CC253X or CC254X with Dipole PCB Antennas. Keywords. 1 Introduction. By Espen Wium CC2530 CC2531 CC2533 CC2540 CC2541

LM388 LM W Audio Power Amplifier

DC/DC LED Lighting Developer s Kit Hardware

AN-1733 Load Transient Testing Simplified

Texas Instruments. FB PS LLC Test Report HVPS SYSTEM AND APPLICATION TEAM REVA

AN-1963 IEEE 1588 Synchronization Over Standard Networks Using the

Multi-Transformer LED TV Power User Guide. Anderson Hsiao

SDLS940A MARCH 1974 REVISED MARCH Copyright 1988, Texas Instruments Incorporated

AN-311 Theory and Applications of Logarithmic Amplifiers

DS8907 DS8907 AM/FM Digital Phase-Locked Loop Frequency Synthesizer

AN-225 IC Temperature Sensor Provides Thermocouple Cold-Junction

TI and ibiquity Introduce Industry s Lowest Cost Single-Chip AM/FM and HD Radio Baseband John Gardner Digital Radio Marketing Manager

White Paper on Decision of Make vs. Buy of ISM RF Module Written by Bruce Ulrich October 2006

with Ultra-Fast Transient Response and High Light-Load Efficiency

ZigBee Sensor Monitor SWRU157D 2008 Low-Power RF

SDLS068A DECEMBER 1972 REVISED OCTOBER Copyright 2001, Texas Instruments Incorporated

LM138,LM338. LM138/LM338 5-Amp Adjustable Regulators. Literature Number: SNVS771A

LM1851 LM1851 Ground Fault Interrupter

Application Report. 1 Description of the Problem. Jeff Falin... PMP Portable Power Applications ABSTRACT

AN-1900 LM3150 Evaluation Boards

AN-1405 DP83848 Single 10/100 Mb/s Ethernet Transceiver Reduced Media Independent Interface (RMII ) Mode

Design Note DN004. Folded Dipole Antenna for CC25xx By Audun Andersen. Keywords. 1 Introduction CC2500 CC2550 CC2510 CC2511

Thumbus2300. User's Guide. 1 Introduction. 1.1 Features. 1.2 Kit Contents

TrxEB RF PER Test Software Example. User s Guide SWRU296

Using C to Access Data Stored in Program Memory on the TMS320C54x DSP

TL081 TL081 Wide Bandwidth JFET Input Operational Amplifier

AN-1862 Reducing Radiated Emissions in Ethernet 10/100 LAN Applications

RF37S114 Tag-it HF-I Type 5 NFC, ISO/IEC Transponder, 4 mm 4 mm

Evaluating the complex configuration options of the Texas Instruments advanced fuel gauges can be

CD4071B Quad 2-Input OR Gate CD4072B Dual 4-Input OR Gate CD4075B Triple 3-Input OR Gate

AN-1826 Extending the Reach of a FPD-Link II Interface With Cable Drivers and Equalizers

Data sheet acquired from Harris Semiconductor SCHS067B Revised July 2003

Data sheet acquired from Harris Semiconductor SCHS049C Revised October 2003

Data sheet acquired from Harris Semiconductor SCHS087D Revised October 2003

Application Report. 1 Introduction. 2 Resolution of an A-D Converter. 2.1 Signal-to-Noise Ratio (SNR) Harman Grewal... ABSTRACT

HF Antenna Cookbook. Technical Application Report March Radio Frequency Identification Systems

Calculating Gain for Audio Amplifiers

Demystifying digital signal processing (DSP) programming: The ease in realizing implementations with TI DSPs

µa7800 SERIES POSITIVE-VOLTAGE REGULATORS

TVP5146 SCART and OSD

MM58274C MM58274C Microprocessor Compatible Real Time Clock

LMS8117A LMS8117A 1A Low-Dropout Linear Regulator

Data sheet acquired from Harris Semiconductor SCHS020C Revised October 2003

6 Output With 1 kω in Series Between the Output and Analyzer Output With RC Low-Pass Filter (1 kω and 4.7 nf) in Series Between the Output

LM5025,LM5026,LM5034 Operation and Benefits of Active-Clamp Forward Power Converters

ORDERING INFORMATION. TOP-SIDE MARKING PDIP N Tube SN74LS07N SN74LS07N PACKAGE. SOIC D Tape and reel SN74LS07DR

Using Code Coverage and Multi-event Profiler in Code Composer Studio v2.3 for Robustness and Efficiency Analyses

High-voltage reinforced isolation:

Smart Codec Features in TMS320DM365

PACKAGE OPTION ADDENDUM


LM3444 MR16 Boost Reference Design for Non-Dimming & Dimming LED Applications

Transcoding with TI s DaVinci Technology Drives Video Market Evolution

Programming the On-Chip Flash Memory in a Stellaris Microcontroller. Application Note. Copyright Texas Instruments

Latch-Up. White Paper SCAA124 April Marty Johnson, Roger Cline, Scott Ward, Joe Schichl

TRF7960 Evaluation Module ISO Host Commands

LM2747,LM3100,LM5035 Synchronous Rectification in High-Performance Power Converter Design

An introduction to MSP430 microcontroller-based temperature-sensing solutions

LM2900,LM3301,LM3900. LM2900/LM3900/LM3301 Quad Amplifiers. Literature Number: SNOSBV6

800VA Pure Sine Wave Inverter s Reference Design

Design Note DN002. Practical Sensitivity Testing By Morten Engjom. Keywords. 1 Introduction. Receiver Testing Sensitivity

Controlling TAS5026 Volume After Error Recovery

SN54165, SN54LS165A, SN74165, SN74LS165A PARALLEL-LOAD 8-BIT SHIFT REGISTERS

Application Report AN01286 May 2012

Design Considerations for LM5113 Advanced GaN FET Driver During High-

The main goal of this tutorial is to get familiar with SmartRF Studio 7: Learn how it works and what it can do.


CLC012 CLC012 Adaptive Cable Equalizer for ITU-T G.703 Data Recovery

AN-662 COP800 Based Automated Security/Monitoring System. Literature Number: SNOA146

Choosing Inductors and Capacitors for DC/DC Converters

TI Designs Precision: Verified Design Comparator with Hysteresis Reference Design

DS15BA101,DS15EA101,DS25BR110

August 2001 PMP Low Power SLVU051

Designing Gain and Offset in Thirty Seconds

Demystify DSI I/F. Application Report ABSTRACT

Ultra-Low Power Comparison: MSP430 vs. Microchip XLP Tech Brief A Case for Ultra-Low Power Microcontroller Performance

RETRIEVING DATA FROM THE DDC112

Optical Implementation Using IEEE-1394.b

Filter Design in Thirty Seconds

AM335x-TAB User guide

LM3203,LM3204,LM3205 Optimizing RF Power Amplifier System Efficiency Using DC-DC Converters

Bluetooth Low Energy CC2540 Mini Development Kit User s Guide

Pressure Transducer to ADC Application

LMC835 LMC835 Digital Controlled Graphic Equalizer

How To Close The Loop On A Fully Differential Op Amp

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

Transcription:

Embedded Systems Laboratory Embedded Systems Education Using ARM Cortex M4 From the Basics to Applications Why M4? Market share Complexity Parallelism Verification 1

Outline 1. Objectives 2. Approach Takeaways 3. Boards, Books and Labs 4. Successes Competitions 5. Conclusions Engineers make two things: Systems Interfaces between systems 2

1. Objectives Outcomes, Measureables Career opportunities Economic growth Educational effectiveness Improved performance Reduced resources Educational team 3

2. Takeaway: Bottom up (what?) Embedded Systems Education From simple to complex Transistors Gates Computer Systems Assembly C Java/C++ Abstraction Understand Put it in a box Use the box Systems Take two boxes Connect together 4

2. Takeaway: Lab-centered Students learn by doing Equipment must work Assignments must be clear Tasks support learning objectives Professors must do labs 5

2. Takeaway: Empower Students Embedded Systems Education Students should have their own board 6

2. Takeaway: Empower Students Students need to learn outside of lab Students should have their own DVM Show labs to friends and parents Encourage them to work beyond lab Find sources of free parts Give simple stuff away 7

2. Takeaway: Flexibility Students learn at different speeds and in different ways Some need structure Demonstrate working labs Some thrive on open ended design Let students negotiate deliverables Allow for extra credit Create an open-ended design lab 8

2. Takeaway: Team-approach It takes a village to educate Empower the TAs Invite them into the decision circle Empower the staff Invite them into the decision circle Make excuses to show off projects Chairman, Dean, Newspaper 9

3. Boards, Books and Labs Embedded Systems Education Stellaris LaunchPad LM4F120/TM4C123 43 I/O pins 32k RAM 256k EEPROM 80 MHz Cortex-M4 serial, SPI, ADC timer, PWM, DMA interrupt controller JTAG debugger serial through USB EK-LM4F120XL EK-TM4C120GXL $12 floating point 10

3. Boards, Books and Labs LaunchPad needs graphics Embedded Systems Education <insert video> Name Pixels Color Cost (100) Website Graphic LCD 1.77" 84x48 - Nokia 5110, 5 pin, 8 wire 4032 no $7.96 https://www.sparkfun.com/products/10168 Sitronix ST7735R 18-bit color 1.8" TFT LCD display 20480 yes $19.96 http://www.adafruit.com/products/358 Monochrome 0.96" 128x64 OLED 8192 no $15.60 http://www.adafruit.com/products/326 Monochrome 1.3" 128x64 OLED 8192 no $19.60 http://www.adafruit.com/products/938 OLED Breakout Board - 16-bit Color 0.96" 6144 yes $23.96 http://www.adafruit.com/products/684 Kentec EB-LM4F120-L35, 3.5 in, 15 pin, booster 320x240x16 76800 yes $35.00 Newark 48W2063 LM4F120 drivers 11

3. Applications Compiler, Simulator, Debugger Texas Instruments Code Composer Studio Keil uvision Circuit design and PCB layout PCB Artist National Instruments Multisim, Ultiboard Design tools Texas Instruments Filter Pro 12

3. Introduction EE319K Embedded Systems Education Volume 1 (freshmen EE or BME) Assembly language programming Switch and LED interfacing Design and Debugging Finite State Machine Local variables and C programming DAC output and interrupts LCD/OLED interface, fixed-point ADC input, systems design UART and distributed systems Capstone design (video game) 500 pages, $41 13

3. Introduction EE319K Volume 1 (freshmen EE or BME) Embedded Systems Education 00,10 01,11 gon waitn 100001 100010 30 5 00,01, 10,11 waite 010100 5 00,01 goe 001100 30 10,11 00,01, 10,11 EdX Course Spring 2014 14

3. Interfacing and Systems EE445L Volume 2 (junior EE) Graphics device driver Hardware/software debugging Design and debugging Alarm clock Stepper motor Music player Temperature data acquisition ZigBee wireless network PCB layout, power Capstone design (open ended) Kindle version 600 pages, $42 15

3. Interfacing and Systems EE445L Volume 2 (junior EE) <insert video of an EE445L stepper > 16

3. Real-Time Operating Systems EE445M Volume 3 (senior/grad EE) Memory manager, device driver Thread switching RTOS Blocking semaphores Digital and analog filters File system CAN or Ethernet network Autonomous robot racing 400 pages, $36 17

3. Real-Time Operating Systems EE445M Volume 3 (senior/grad EE) <insert video of an EE445M spectrum> 18

3. Support for teaching Embedded Systems Education Web site (download and edit) Examples for LM3S811, LM3S1968, LM4F120 PowerPoint slides Lab manual Data sheets http://users.ece.utexas.edu/~valvano/ Launchpad tester Adopt a book Free parts for Launch http://users.ece.utexas.edu/~valvano/arm/tester/ EdX Course Spring 2014 19

4. Competitions: Motivations Students need to appreciate relevance Appropriate use of teams Build things that are fun to play with Show off to friends, family, interviewers Competitions Fun, intense Open-ended Creativity, life-long learning, springboard 20

4. Competition Volume 1 (freshmen EE or BME) Handheld game Peer review Teams of 2 <insert video of an EE319K competition> http://youtu.be/qxdquudstow 21

4. Competition Volume 2 (junior EE) Requirements document Design cycle Design for test Systems Engineering Verification http://www.youtube.com/watch?v=k9fd50qpgwg 22

4. Competition Volume 2 (junior EE) 23

5. Competitions Volume 3 (senior/grad EE) Autonomous Robot Racing Teams of four http://youtu.be/bz1fxtn1t08 24

6. Conclusions Bottom-up Lab-centered Empower the students Motivate the students Be flexible Be a team builder Make a plan and do it 25

Interesting web sites Example code http://www.ti.com/tool/sw-lm3s http://users.ece.utexas.edu/~valvano/arm/ http://www.ti.com/tool/ek-tm4c123gxl Embedded Systems Education Free samples http://www.ladyada.net/library/procure/samples.html Compilers http://www.ti.com/tool/ccstudio http://www.keil.com/arm/mdk.asp 26

For more information Embedded Systems Education http://users.ece.utexas.edu/~valvano/ EE319K Introduction EE445L Interfacing and systems EE445M Real-time operating systems valvano@mail.utexas.edu Texas Instruments univ@ti.com 27

4. Top ten fundamental topics (10,9,8) Design for test Begin each project with a plan for testing Current, voltage, power, energy, time Intuition comes from repeated experiences Resistance, capacitance, inductance Capacitance is good for analog filters Capacitance is bad for digital signals Motors have L and emf 28

4. Top ten fundamental topics (7,6,5) Pointers and numbers Networks and Parallel Systems Collection of interfaces Share physical media Share a data protocol Real-time Systems Hardware-software synchronization Bounded latency, buffered I/O 29

4. Top ten fundamental topics (4,3,2) Size matters Cost, power, size, weight, noise Requirements document What are we doing? When are we done? Time Manage it like a resource, time jitter Measure period, pulse width, frequency 30

4. Top ten fundamental topics (1) Quality matters When you make a mistake, somebody dies Take responsibility Design a good test procedure Customers like products that work 31

IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as components ) are sold subject to TI s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI s terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed. TI assumes no liability for applications assistance or the design of Buyers products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers products and applications, Buyers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications. In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI s goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms. No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use. Only those TI components which TI has specifically designated as military grade or enhanced plastic are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of non-designated products, TI will not be responsible for any failure to meet ISO/TS16949. Products Applications Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energy and Lighting www.ti.com/energy Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Applications Processors www.ti.com/omap TI E2E Community e2e.ti.com Wireless Connectivity www.ti.com/wirelessconnectivity Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright 2013, Texas Instruments Incorporated