System on a Chip (SoC) Lin Zhong ELEC424, Fall 2010.

Slides:



Advertisements
Similar presentations
MC68HC11 System Overview. System block diagram (A8 version)
Advertisements

Khaled A. Al-Utaibi  Computers are Every Where  What is Computer Engineering?  Design Levels  Computer Engineering Fields  What.
Microcontroller – PIC – 4 PIC types PIC architecture
Slide 1 Freescale Semiconductor. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are.
Read Chapter 3 (David E. Simon, An Embedded Software Primer)
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Embedded System Spring, 2011 Lecture 3: The PIC Microcontrollers Eng. Wazen M. Shbair.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Microcontrollers.
INPUT-OUTPUT ORGANIZATION
SENIOR DESIGN 10/3.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Hardware Overview Net+ARM – Well Suited for Embedded Ethernet
MCU – Microcontroller Unit – 1 MCU  1 cip or VLSI core – application-specific.
Microcontrollers, Basics Fundamentals of Designing with Microcontrollers 16 January 2012 Jonathan A. Titus.
Camera Interfacing using ARM7
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
Microprocessor Block Diagram
4.0 rtos implementation part II
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
Objectives How Microcontroller works
Embedded Systems Design. General Purpose Processors: Software BASIC ARCHITECTURE - Datapath BASIC ARCHITECTURE - Datapath 2.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
1 AVR Session 2 Master : Dr.jafari Authors: M.H Edrisi, hadi.edrisi yyyy aaaa hhhh oooo oooo.... cccc oooo mmmm.
MSP430 Mixed Signal Microcontroller – Parte 2 Afonso Ferreira Miguel Source: slau056d – Texas instruments.
Clock Options and Sleep Modes. Clock Sources Flash Fuse bits can be programmed to choose one of the following Clock sources: 1. External RC Osc. f = 1/(3RC).
AT91 Embedded Peripherals
2006 Chapter-1 L3: "Embedded Systems - Architecture, Programming and Design", Raj Kamal, Publs.: McGraw-Hill, Inc. 1 Hardware Elements in the Embedded.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
Designing with Components Wilmer Arellano. How to chose a Microcontroller Choose one that you are familiar with or that is easy to learn.
Microprocessor-based Systems
11/16/2006 WSN Mote- MCU & Sensor Hardware 1 ECET 581 Wireless Sensor Networks Mote – MCU & Sensor Hardware 2 of 3 Fall 2006
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
EA PROJETO EM ELETRÔNICA APLICADA Bruno Mourão Siqueira.
TI MSP430 MICROCONTROLLERS BY ADITYA PATHAK. THE MSP FAMILY Ultra-low power; mixed signal processors Widely used in battery operated applications Uses.
AT91 Products Overview. 2 The Atmel AT91 Series of microcontrollers are based upon the powerful ARM7TDMI processor. Atmel has taken these cores, added.
DsPIC30F4011 Fall DIP Switches  The upper four switches of SW1 are used to enable LEDs connected to PORTB/C, PORTA/D, PORTE and PORTF. For example,
Network and Systems Laboratory nslab.ee.ntu.edu.tw.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
Chapter Microcontroller
Components of a typical full-featured microcontroller.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
Product Overview 박 유 진박 유 진.  Nordic Semiconductor ASA(Norway 1983)  Ultra Low Power Wireless Communication System Solution  Short Range Radio Communication(20.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
Networked Embedded Systems Pengyu Zhang EE107 Spring 2016 Lecture 8 Serial Buses.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
HOME SECURITY USING WIRELESS SENSOR NETWORK UNDER THE ESTEEMED GUIDANCE OF: P.RAMESH D.SIVOM( ) KANMANI RAVI( ) B.SAI RAJSEKHAR( )
STM32 및 개발보드 소개 Jang Hyunsung Embedded Systems Lab. Dept. of CSE, PNU
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Introduction to Microcontroller Technology
Embedded Microcontroller Systems
Popular Microcontrollers and their Selection by Lachit Dutta
Microcontrollers, Basics Fundamentals of Designing with Microcontrollers 16 January 2012 Jonathan A. Titus.
Microcontrollers & GPIO
Embedded Microcontroller Systems
Project Title EVM IN 8051 Under the Guidance of Submitted by.
MCU – Microcontroller Unit – 2
Project Title EVM IN PIC Under the Guidance of Submitted by.
Programming Microcontroller
The Arduino Microcontroller: Atmel AVR Atmega 328
Subject Name: Microcontroller Subject Code: 10ES42
Introduction to Microprocessors and Microcontrollers
AVR – ATmega103(ATMEL) Architecture & Summary
MCU – Microcontroller Unit – 2
Presentation transcript:

System on a Chip (SoC) Lin Zhong ELEC424, Fall 2010

Photolithography

1969

Ivan Sutherland won Turing Award in 1988 for his Ph.D. work in

“System on board” 6

“System on board” (Contd.) 7

Multiple Chip Modules (MCM) Intel Pentium D, Core 2 Quad 8 IBM POWER5 (2004) MCM, used in IBM system p servers, four dual core processors + four L3 caches Wikipedia.org

System in Package (SiP) Siemens SX66 PDA Phone Audiovox PPC6601KIT 32MB 400MHz Source: Intel.com 9

System-on-a-chip (SoC): TI OMAP 10

System-on-a-chip (SoC): TI MSP Functional block diagram

Inside a CPU (Micro-architecture) IBM POWER5 die photo (2004) FXU: fixed-point execution unit ISU: instruction sequencing unit IDU: instruction decode unit LSU: load/store unit IFU: instruction fetch unit FPU: floating-point unit MC: memory controller 12 Sinharoy et al 2005

Components of SoC Processors Clock generator Flash memory & controller DMA & controller Digital I/O modules Programming interface Interconnection 13

Embedded processors Microprocessor (32bit beyond) – ARM, MIPS, PowerPC, SuperH – Usually very modern architectures – ARM: Most popular 32bit embedded processor (75%) Assignment: read “ARM architecture” from Wikipedia Microcontroller (4-16bit) – Harvard architecture – 8051 (8bit), PIC (8bit), AVR from Atmel (8bit) – MSP430: 16-bit RISC, von Neumann architecture 14

Clock generator Resonant circuit + amplifier Resonant circuit (Oscillator) – Crystal oscillator (>2x10 9 /yr) ~10KHz to ~10MHz Quartz, ceramics (low cost, low accuracy), surface acoustic wave (SAW) quartz crystal (expensive, accurate) Real-time clocks – KHz (2 15 ), MHz (2 22 ) Application-specific – MHz (4 x MHz, CDMA baseband frequency)…… 15 Res A

LC/RLC circuit Ring oscillator – Application other than oscillator? Voltage-controlled oscillator (VCO) – Varicap: variable capacitance diode (tuning diode) – Phase-locked loop for high-speed clock (next slide) – Frequency scaling of IC for energy saving Oscillator (Contd.) 16

High-speed clock from a master oscillator Digital PLL Clock generation, recovery, synchronization – Digital computing, RF communication Phase-locked loop (PLL) 17 Phase- frequency detector Master oscillator VCO Frequency divider (N) voltage

MSP430 clock modules Clock sources – External oscillators Low- oscillator (LFXT1CLK): usually KHz (RTC) Optional high-frequency oscillator (XT2CLK) – Internal digitally controlled oscillator (DCO) (DCOCLK) (power hungry) Clock signals – Auxiliary clock: divided LFXT1CLK (1, 2, 4, 8) For low-power standby – Master clock: any source, divided by 1, 2, 4, or 8 – Sub-system clock: XT2CLK or DCOCLCK, divided by 1, 2, 4, or 8 18

DCO (Contd.) Ring oscillator with RC-type characteristics Software controllable – On/Off – Frequency – External resistor allows low temperature impact, higher frequency Impacted by temperature, supply voltage, and process variations (inter-chip variations) 19 8 internal and 1 external resistors

Flash Memory and Controller Non-volatile, semiconductor memory – Limited # of erase cycles  wear leveling NOR Flash: slow write/erase, random access – ROM replacement NAND Flash: faster write/erase, block access, denser, more enduring – Harddisk replacement 20

MSP430 Flash memory controller NOR flash (for program) – No need for wear leveling (100K to 1M erase cycles) In-system programmable (ISP) – Self programming, program via wireless Programming through JTAG, UART (Bootstrap loader, BSL) 21

Digital I/O Modules USART – Universal synchronous/asynchronous receiver/transmitter – Asynchronous: UART – Synchronous: SPI, I2C UART (2-4 wires) – Easily work with RS-232 (serial port), modem, Bluetooth (Serial Port Profile) – Baud rate, # of data bits, optional parity bit, flow control 22

MSP430 UART Two UART ports, each two pins Support interrupt No hardware flow control <200Kbps 23

Serial interfaces Inter-Integrated Circuit (I 2 C) – Two wires – Standard mode: 100Kbps – Fast mode: 400Kbps – System management bus (SMBus): 100Kbps Serial Peripheral Interface (SPI) – 4 wires: Clock, Chip Select, In and Out – Low-megahertz data rate wikipedia.org

Universal Serial Bus (USB) Replacing all serial/parallel ports – All phones in China use USB for power Host vs. device USB 1.0: low-speed, 1.5Mbps – Human interface devices – 1.5A power supply – USB 1.1: full-speed, 12bBps USB 2.0: high-speed, 480Mbps – Storage devices, Wi-Fi cards etc. – 900mA power supply USB 3.0: super-speed, 4.8Gbps

Analog I/O Analog-digital conversion (ADC) – Voltage measurement – Sensing the world through voltage XXX  voltage Digital-analog conversion (DAC) – Actuator 26

ADC Resolution: how many bits for “D”? – 24bits max – MSP : 12 bits Sampling rate: how fast? – MSP430: up to 200Ksps Accuracy – Quantization error etc. 27

Interrupt Polling vs. interrupt Non-maskable vs. maskable Nested interrupt 28 Interrupt handler Save context Retrieve context

Interrupt Programmable interrupt controller (PIC) – Prioritizing multiple sources – Offloading the CPU 29 PIC CPU Interrupt Interrupt vector Interrupt sources (external devices)

Exceptions, signals, & interrupts Exceptions – Any disruption of normal execution to execute special instructions Signals – Inter-process communication Interrupt – Asynchronous exception introduced by external hardware 30

Timer Count time – Keep time How many cycles have elapsed – Measure time Whether a given period of time elapsed Generate interrupt 31 Capture register Clock Compare register Comparator Interrupt

Direct memory access (DMA) Free CPU from data transfer Multiple channels, master bus, interrupt CP when done 32

DMA (Contd.) Character mode Block mode 33

Power-saving mechanisms Frequency scaling (slow down) – DCO Power saving modes 34

Miscellaneous Pulse-width modulation (PWM) – Applications: power delivery (charging, light, motor), sound synthesis Watchdog timer – Reset system under fault Brownout reset – Reset system when supply voltage low 35