Embedded Software Design Week III Processor Basics Raspberry Pi -> Blinking LEDs & pushing buttons.

Slides:



Advertisements
Similar presentations
Chapter 9 Contributed by Alex Turek
Advertisements

VADA Lab.SungKyunKwan Univ. 1 L3: Lower Power Design Overview (2) 성균관대학교 조 준 동 교수
A Framework for Dynamic Energy Efficiency and Temperature Management (DEETM) Michael Huang, Jose Renau, Seung-Moon Yoo, Josep Torrellas University of Illinois.
L27:Lower Power Algorithm for Multimedia Systems 성균관대학교 조 준 동
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 4: Computer Performance.
Introduction to ARM Architecture, Programmer’s Model and Assembler Embedded Systems Programming.
Embedded Computing From Theory to Practice November 2008 USTC Suzhou.
1 CS402 PPP # 1 Computer Architecture Evolution. 2 John Von Neuman original concept.
MORE THAN SMART IN CONSUMER ELECTRONICS California Energy Commission June 18, 2015.
Computer Organization and Assembly language
1 Copyright © 2012, Elsevier Inc. All rights reserved. Chapter 1 Fundamentals of Quantitative Design and Analysis Computer Architecture A Quantitative.
Computer performance.
Information and Communication Technology Fundamentals Credits Hours: 2+1 Instructor: Ayesha Bint Saleem.
COMPUTER SYSTEM LABORATORY Lab10 - Sensor II. Lab 10 Experimental Goal Learn how to write programs on the PTK development board (STM32F207). 2013/11/19/
RASPBERRY PI IMPLEMENTING BINARY COUNTING Marlon Myers Computer Hardware Systems: EMT 2370 Instructor: Prof. Carranza.
1 Overview 1.Motivation (Kevin) 1.5 hrs 2.Thermal issues (Kevin) 3.Power modeling (David) Thermal management (David) hrs 5.Optimal DTM (Lev).5 hrs.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
CLEMSON U N I V E R S I T Y AVR32 Micro Controller Unit Atmel has created the first processor architected specifically for 21st century applications that.
Lab 1 Department of Computer Science and Information Engineering National Taiwan University Lab1 - Sensor 2014/9/23/ 13 1.
INTRODUCTION Crusoe processor is 128 bit microprocessor which is build for mobile computing devices where low power consumption is required. Crusoe processor.
Sogang University Advanced Computing System Chap 1. Computer Architecture Hyuk-Jun Lee, PhD Dept. of Computer Science and Engineering Sogang University.
The University of Adelaide, School of Computer Science
History of Microprocessor MPIntroductionData BusAddress Bus
Chapter 5B Modern CPUs.
CPU Inside Maria Gabriela Yobal de Anda L#32 9B. CPU Called also the processor Performs the transformation of input into output Executes the instructions.
ECS642U Embedded Systems Cyclic Execution and Polling William Marsh.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
PC hardware and x86 programming Lec 2 Jinyang Li.
ARM offers a broad range of processor cores to address a wide variety of applications while delivering optimum performance, power consumption and system.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
DPNM Lab., POSTECH 1/8 CS490K - Internet of Things (IoT) Jonghwan Hyun DPNM Lab. Department of Computer Science and Engineering, POSTECH
Lecture 4 General-Purpose Input/Output NCHUEE 720A Lab Prof. Jichiang Tsai.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
A Look Inside The Processor
Networked Embedded Systems Sachin Katti EE107 Spring 2016 Lecture 3 Microcontrollers.
1 Aphirak Jansang Thiranun Dumrongson
Hardware Architecture
RASPBERRY-PI. ARM11 FEATURES  The ARM1176™ applications processors deployed broadly in devices ranging from smart phones to digital TV's to eReaders,
Evaluation of Advanced Power Management for ClassCloud based on DRBL Rider Grid Technology Division National Center for High-Performance Computing Research.
MOTHER BOARD PARTS BY BOGDAN LANGONE BACK PANEL CONNECTORS AND PORTS Back Panels= The back panel is the portion of the motherboard that allows.
BUILDING AND IMPLEMENT A EMBEDDED WEB SERVER BASE ON TCP/IP STACK WITH A SoC PLATFORM Professor : CHI-JO WANG Name : Bui Quang Hoa (M982b211)
ARM Embedded Systems
Government Engg College Bhuj E. C. Engg. Department
Bus Systems ISA PCI AGP.
Microcontrollers & GPIO
Computer System Laboratory
Implementation of Embedded OS
1 Button 2 Buttons Light Emitting Diodes LED and Buttons
System On Chip.
WORKSHOP LED CONTROL.
Building Raspberry Pi Controllers with Python
McGraw-Hill Technology Education
Introduction to Microprocessors
Lighting LEDs with a RASPBERRY PI
عمارة الحاسب.
What we learn during Program
Internet-of-Things (IoT)
Getting the Most Out of Low Power MCUs
A High Performance SoC: PkunityTM
Raspberry Pi 2/3 GPIO - LED, Button
Wireless Embedded Systems
CHAPTER 1 THE 8051 MICROCONTROLLERS
Embedded XINU and WRT54GL
Introduction to Single Board Computer
The University of Adelaide, School of Computer Science
Utsunomiya University
Chapter 7 IoT Physical Devices and Endpoints
Raspberry Pi Hardware By: Mike Kwiatkowski.
Presentation transcript:

Embedded Software Design Week III Processor Basics Raspberry Pi -> Blinking LEDs & pushing buttons

Stand-Alone Processors Dedicated exclusively to the processing functions Require additional support circuitry for their basic operations DRAM controller System bus addressing configuration external peripheral devices such as keyboard controllers and serial ports

IBM 970FX A 64-bit implementation of the popular Power Architecture Deeply pipelined design, for very-high-performance computing applications Static and dynamic power-management features Multiple sleep modes, to minimize power requirements and maximize battery life Dynamically adjustable clock rates, supporting lower-power modes Optimized for high-performance, low-latency storage management

Intel Core M Based on the popular x86 architecture & widely supported by a large ecosystem of hardware and software vendors. It consumes less power than most other x86 processors. Advanced power-management features enable low-power operating modes and multiple sleep modes. Dynamic clock speed capability enhances battery-powered operations such as standby. On-chip thermal monitoring enables automatic transition to lower power modes to reduce power consumption in over temperature conditions. Multiple frequency and voltage operating points (dynamically selectable) are designed to maximize battery life in portable equipment. Vs Atom?

Freescale MPC7448 Used in networking and telecommunications applications FFT, Filtering, MPEG encoding, DES, MD5, SHA Operating clock rates in excess of 1.5GHz 1MB onboard L2 cache Advanced power-management capabilities, including multiple sleep modes Advanced AltiVec vector-execution unit Register file containing 32 very wide (128-bit) registers Set of instructions to manipulate this vector register file Voltage scaling for reduced-power configurations

Processor / Chipset relationship

Integrated Processors: Systems on Chip SoC? Power Architecture - PS3 Freescale Power (68K) PowerQUICC (v I, II, III) MIPS – used in variety of electronics – PS1 & PS2 RISC 32 & 64 bit

Integrated Processors: Systems on Chip ARM – used in smart phones (iPhone), RaspberryPi BeagleBoard & BeagleBone OMAP Freescale ARM

Summary SoC dominates embedded market Linux supports many stand-alone and SoC platforms Trend is moving towards commercial off-the-shelf products (COTS)

Get your hands dirty Lets blink some LEDs and click some buttons

Raspberry Pi rev. I Model B Pin Layout

Raspberry Pi rev. 2 Pin Layout

Wiring LED with a breadboard

LED ON/OFF Example (Python) #!/usr/bin/python import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.cleanup() GPIO.setwarnings(False) GPIO.setup(17,GPIO.OUT) print ("Lights on") GPIO.output(17,GPIO.HIGH) #!/usr/bin/python import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.cleanup() GPIO.setwarnings(False) GPIO.setup(17,GPIO.OUT) print ("Lights off") GPIO.output(17,GPIO.LOW)

Keyes Momentary Button Module

Wiring Button module with a breadboard

Button module example (Python) #!/usr/bin/python import os import time import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(10, GPIO.IN) print(" ") print(" Button + GPIO ") print(" ") print GPIO.input(10) while True: if ( GPIO.input(10) == False ): print("Button Pressed") os.system('date') print GPIO.input(10) time.sleep(5) else: os.system('clear') print ("Waiting for you to press a button") time.sleep(1)